diff --git a/helm/amd-gpu/templates/labeller.yaml b/helm/amd-gpu/templates/labeller.yaml index caaeec0b2dce993c5b452a5ffcd2d3885b6f4732..4f4fd22b2d8e1fa3826022f20f587a3529674a6b 100644 --- a/helm/amd-gpu/templates/labeller.yaml +++ b/helm/amd-gpu/templates/labeller.yaml @@ -1,5 +1,5 @@ {{- if .Values.labeller.enabled }} -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: cr-{{ .Chart.Name }}-node-labeller @@ -8,7 +8,7 @@ rules: resources: ["nodes"] verbs: ["watch", "get", "list", "update"] --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: crb-{{ .Chart.Name }}-labeller