Skip to content

Commit

Permalink
Add kubernetes 1.22 support (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
viveksinghggits committed Jan 6, 2022
1 parent f5779ef commit 2de6893
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helm/kanister-operator/templates/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.rbac.create }}
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels:
{{ include "kanister-operator.helmLabels" . | indent 4 }}
Expand All @@ -26,7 +26,7 @@ rules:
- "*"
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels:
{{ include "kanister-operator.helmLabels" . | indent 4 }}
Expand All @@ -41,7 +41,7 @@ subjects:
namespace: {{ .Release.Namespace }}
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels:
{{ include "kanister-operator.helmLabels" . | indent 4 }}
Expand All @@ -57,7 +57,7 @@ subjects:
{{- end }}
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels:
{{ include "kanister-operator.helmLabels" . | indent 4 }}
Expand Down

0 comments on commit 2de6893

Please sign in to comment.