From 0475e47d63e0cd9174d79d7764ac762f2ace627d Mon Sep 17 00:00:00 2001 From: Donghyeong Kang Date: Tue, 1 Mar 2022 14:00:36 +0900 Subject: [PATCH] Fix rbac api version rbac.authorization.k8s.io/v1beta1 is no longer served as of v.1.22. --- manifests/rbac-setup.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/rbac-setup.yaml b/manifests/rbac-setup.yaml index 9477658..b9509cd 100644 --- a/manifests/rbac-setup.yaml +++ b/manifests/rbac-setup.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: prometheus @@ -38,7 +38,7 @@ kind: ServiceAccount metadata: name: prometheus --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: prometheus-stackdriver