Update v1beta to v1 in rbac resources
{{- 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 }}
@@ -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
@@ -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
@@ -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
