From 88dbc36fec4e72e041a544a838bf9fe73c77a83f Mon Sep 17 00:00:00 2001 From: Ismail Alidzhikov Date: Mon, 4 Nov 2019 11:33:40 +0200 Subject: [PATCH] Update to stable "rbac.authorization.k8s.io/v1" (#18533) Signed-off-by: ialidzhikov --- stable/kubernetes-dashboard/Chart.yaml | 2 +- .../kubernetes-dashboard/templates/clusterrole-readonly.yaml | 2 +- stable/kubernetes-dashboard/templates/role.yaml | 2 +- stable/kubernetes-dashboard/templates/rolebinding.yaml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/stable/kubernetes-dashboard/Chart.yaml b/stable/kubernetes-dashboard/Chart.yaml index 1583b556cf..ebf8e5edb7 100644 --- a/stable/kubernetes-dashboard/Chart.yaml +++ b/stable/kubernetes-dashboard/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: kubernetes-dashboard -version: 1.10.0 +version: 1.10.1 appVersion: 1.10.1 description: General-purpose web UI for Kubernetes clusters keywords: diff --git a/stable/kubernetes-dashboard/templates/clusterrole-readonly.yaml b/stable/kubernetes-dashboard/templates/clusterrole-readonly.yaml index 17905f1dbe..d362496b67 100755 --- a/stable/kubernetes-dashboard/templates/clusterrole-readonly.yaml +++ b/stable/kubernetes-dashboard/templates/clusterrole-readonly.yaml @@ -1,5 +1,5 @@ {{- if and .Values.rbac.create .Values.rbac.clusterReadOnlyRole (not .Values.rbac.clusterAdminRole) }} -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: diff --git a/stable/kubernetes-dashboard/templates/role.yaml b/stable/kubernetes-dashboard/templates/role.yaml index 4f5fdc03e4..efe3d6b6bc 100644 --- a/stable/kubernetes-dashboard/templates/role.yaml +++ b/stable/kubernetes-dashboard/templates/role.yaml @@ -1,5 +1,5 @@ {{- if and .Values.rbac.create (not .Values.rbac.clusterAdminRole) }} -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: labels: diff --git a/stable/kubernetes-dashboard/templates/rolebinding.yaml b/stable/kubernetes-dashboard/templates/rolebinding.yaml index 94a427f9a4..2ad2bfca3a 100755 --- a/stable/kubernetes-dashboard/templates/rolebinding.yaml +++ b/stable/kubernetes-dashboard/templates/rolebinding.yaml @@ -2,7 +2,7 @@ {{- if or .Values.rbac.clusterAdminRole .Values.rbac.clusterReadOnlyRole }} # Cluster role binding for clusterAdminRole == true or clusterReadOnlyRole=true -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: @@ -25,7 +25,7 @@ subjects: namespace: {{ .Release.Namespace }} {{- else -}} # Role binding for clusterAdminRole == false and clusterReadOnlyRole=false -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: labels: