Skip to content

Commit

Permalink
Update apiVersion of RBAC resources in Helm
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpollet committed Sep 4, 2020
1 parent 45343cd commit 80faab5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/content/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

Maesh supports [similiar to Kubernetes](https://kubernetes.io/docs/setup/release/version-skew-policy/#supported-versions) at least the latest 3 minor versions of Kubernetes, therefore currently:

* 1.16
* 1.17
* 1.18
* 1.19

General functionality can not be guaranted for versions older than that. However, we expect it to work with Kubernetes down to 1.11 currently.

## Compatibility by Features

Some of Maesh's features are only supported on certain Kubernetes versions. Please see the table below.

| Features | K8s 1.16 | K8s 1.17 | K8s 1.18 |
| Features | K8s 1.17 | K8s 1.18 | K8s 1.19 |
|-----------------------|----------|----------|----------|
| General functionality ||||
| Service Topology | |||
| Service Topology | |||
4 changes: 2 additions & 2 deletions helm/chart/maesh/templates/controller/controller-rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: maesh-controller-role
namespace: {{ .Release.Namespace }}
Expand Down Expand Up @@ -60,8 +60,8 @@ rules:
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: maesh-controller
namespace: {{ .Release.Namespace }}
Expand Down
4 changes: 2 additions & 2 deletions helm/chart/maesh/templates/coredns/coredns-rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.kubedns }}
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
Expand Down Expand Up @@ -30,7 +30,7 @@ rules:
- get

---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: maesh-coredns
Expand Down

0 comments on commit 80faab5

Please sign in to comment.