From 06ca46f8105c9910c6d0d995bbb73396d1718ba8 Mon Sep 17 00:00:00 2001 From: Mike Tougeron Date: Sun, 22 Mar 2020 14:30:44 -0700 Subject: [PATCH] [stable/cluster-autoscaler] Update rbac apiversion from v1beta1 to v1 (#21552) Signed-off-by: Mike Tougeron --- stable/cluster-autoscaler/Chart.yaml | 2 +- stable/cluster-autoscaler/templates/clusterrole.yaml | 3 ++- stable/cluster-autoscaler/templates/clusterrolebinding.yaml | 2 +- stable/cluster-autoscaler/templates/role.yaml | 2 +- stable/cluster-autoscaler/templates/rolebinding.yaml | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/stable/cluster-autoscaler/Chart.yaml b/stable/cluster-autoscaler/Chart.yaml index 3ef75b0df9..b09ffe466f 100644 --- a/stable/cluster-autoscaler/Chart.yaml +++ b/stable/cluster-autoscaler/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Scales worker nodes within autoscaling groups. icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png name: cluster-autoscaler -version: 7.1.0 +version: 7.2.0 appVersion: 1.17.1 home: https://github.com/kubernetes/autoscaler sources: diff --git a/stable/cluster-autoscaler/templates/clusterrole.yaml b/stable/cluster-autoscaler/templates/clusterrole.yaml index dc1f4ffd4c..2ebadc3bb6 100644 --- a/stable/cluster-autoscaler/templates/clusterrole.yaml +++ b/stable/cluster-autoscaler/templates/clusterrole.yaml @@ -1,5 +1,5 @@ {{- if .Values.rbac.create -}} -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: @@ -135,6 +135,7 @@ rules: {{- if .Values.rbac.pspEnabled }} - apiGroups: - extensions + - policy resources: - podsecuritypolicies resourceNames: diff --git a/stable/cluster-autoscaler/templates/clusterrolebinding.yaml b/stable/cluster-autoscaler/templates/clusterrolebinding.yaml index 414c127798..af5287b448 100644 --- a/stable/cluster-autoscaler/templates/clusterrolebinding.yaml +++ b/stable/cluster-autoscaler/templates/clusterrolebinding.yaml @@ -1,5 +1,5 @@ {{- if .Values.rbac.create -}} -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: diff --git a/stable/cluster-autoscaler/templates/role.yaml b/stable/cluster-autoscaler/templates/role.yaml index 63cc4415b0..e6af27d580 100644 --- a/stable/cluster-autoscaler/templates/role.yaml +++ b/stable/cluster-autoscaler/templates/role.yaml @@ -1,5 +1,5 @@ {{- if .Values.rbac.create -}} -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: labels: diff --git a/stable/cluster-autoscaler/templates/rolebinding.yaml b/stable/cluster-autoscaler/templates/rolebinding.yaml index e978d3cecf..12809da49e 100644 --- a/stable/cluster-autoscaler/templates/rolebinding.yaml +++ b/stable/cluster-autoscaler/templates/rolebinding.yaml @@ -1,5 +1,5 @@ {{- if .Values.rbac.create -}} -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: labels: