From 85bfd26c178807511fa276ccf12193662dc90614 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Wed, 3 Mar 2021 21:04:03 +0100 Subject: [PATCH] CSIStorageCapacity: update rbac test data This is the result of UPDATE_BOOTSTRAP_POLICY_FIXTURE_DATA=true go test k8s.io/kubernetes/plugin/pkg/auth/authorizer/rbac/bootstrappolicy after enabling the CSIStorageCapacity feature. This enables additional RBAC entries for reading CSIDriver and CSIStorageCapacity. --- .../bootstrappolicy/testdata/cluster-roles.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml b/plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml index 8a11893fbb5..4fe18334ec7 100644 --- a/plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml +++ b/plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml @@ -835,6 +835,22 @@ items: - get - list - watch + - apiGroups: + - storage.k8s.io + resources: + - csidrivers + verbs: + - get + - list + - watch + - apiGroups: + - storage.k8s.io + resources: + - csistoragecapacities + verbs: + - get + - list + - watch - apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: