Skip to content

Commit

Permalink
Merge pull request #1196 from consideRatio/pr/fix-rbac-deprecations
Browse files Browse the repository at this point in the history
Update v1beta to v1 in rbac resources
  • Loading branch information
consideRatio authored Nov 4, 2020
2 parents e00bc5c + 8a9d4ca commit bf2437d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helm-chart/binderhub/templates/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.rbac.enabled -}}
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels:
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
Expand All @@ -16,7 +16,7 @@ rules:
verbs: ["get"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels:
app: binderhub
Expand Down Expand Up @@ -47,7 +47,7 @@ metadata:
# image-cleaner role
# needs to cordon nodes during image cleaning
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels:
app: binderhub
Expand All @@ -61,7 +61,7 @@ rules:
verbs: ["get", "patch"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels:
app: binderhub
Expand Down

0 comments on commit bf2437d

Please sign in to comment.