From 36560edc9a79dfcc68ed8fc94e6479c0061541dc Mon Sep 17 00:00:00 2001 From: Arnaud Meukam Date: Fri, 30 Jul 2021 17:38:55 +0200 Subject: [PATCH] [aaa] Drop usage of RBAC v1beta1 RBAC is GA since kubernetes 1.8 : https://kubernetes.io/blog/2017/10/using-rbac-generally-available-18/. Signed-off-by: Arnaud Meukam --- infra/gcp/namespaces/namespace-user-role-binding.yml | 2 +- infra/gcp/namespaces/namespace-user-role.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/gcp/namespaces/namespace-user-role-binding.yml b/infra/gcp/namespaces/namespace-user-role-binding.yml index bf2e04683ce..51e13625baa 100644 --- a/infra/gcp/namespaces/namespace-user-role-binding.yml +++ b/infra/gcp/namespaces/namespace-user-role-binding.yml @@ -1,6 +1,6 @@ --- kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 metadata: name: namespace-user namespace: {{namespace}} diff --git a/infra/gcp/namespaces/namespace-user-role.yml b/infra/gcp/namespaces/namespace-user-role.yml index b50cb342ce5..09b86d90b37 100644 --- a/infra/gcp/namespaces/namespace-user-role.yml +++ b/infra/gcp/namespaces/namespace-user-role.yml @@ -1,6 +1,6 @@ --- kind: Role -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 metadata: name: namespace-user namespace: {{namespace}}