From 8eeb9a074aa2d1769b1b51979518c8dfd216461c Mon Sep 17 00:00:00 2001 From: Shoubhik Bose Date: Fri, 2 Apr 2021 05:13:19 -0400 Subject: [PATCH] chore: use clusterrolebinding v1 (#5939) Signed-off-by: Shoubhik Bose --- test/e2e/testdata/cluster-role/cluster-role.yaml | 2 +- util/helm/testdata/redis/templates/redis-rolebinding.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/testdata/cluster-role/cluster-role.yaml b/test/e2e/testdata/cluster-role/cluster-role.yaml index df61ddfe1c759..cb6cd7c1b3e42 100644 --- a/test/e2e/testdata/cluster-role/cluster-role.yaml +++ b/test/e2e/testdata/cluster-role/cluster-role.yaml @@ -1,4 +1,4 @@ -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: namespace: cert-manager diff --git a/util/helm/testdata/redis/templates/redis-rolebinding.yaml b/util/helm/testdata/redis/templates/redis-rolebinding.yaml index 3a641097e5cb8..251c8c681b41d 100644 --- a/util/helm/testdata/redis/templates/redis-rolebinding.yaml +++ b/util/helm/testdata/redis/templates/redis-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: name: {{ template "redis.fullname" . }}