Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Merge branch 'update/rbac-version'
Browse files Browse the repository at this point in the history
  • Loading branch information
yebyen committed Jun 21, 2021
2 parents 0510103 + 4a3a81c commit abb79a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chart/helm-operator/templates/rbac-role.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if and .Values.rbac.create (eq .Values.clusterRole.create false) -}}
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ template "helm-operator.fullname" . }}
Expand All @@ -17,7 +17,7 @@ rules:
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ template "helm-operator.fullname" . }}
Expand Down
4 changes: 2 additions & 2 deletions chart/helm-operator/templates/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if and .Values.rbac.create (eq .Values.clusterRole.create true) -}}
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ template "helm-operator.clusterRoleName" . }}
Expand All @@ -20,7 +20,7 @@ rules:
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ template "helm-operator.clusterRoleName" . }}
Expand Down

0 comments on commit abb79a3

Please sign in to comment.