Skip to content

Commit 1cddfaf

Browse files
nixpanicceph-csi-bot
authored andcommitted
deploy: add missing VolumeAttributesClasses RBAC for NFS
The RBAC was only added to the file under the deploy/ directory. Running make containerized-build TARGET=generate-deploy caused the RBAC to be removed. With the RBAC added to the template in the api/ directory, the RBAC will be included when generating the deploy/ directory. Fixes: aaab765 Signed-off-by: Niels de Vos <ndevos@ibm.com>
1 parent f8b975b commit 1cddfaf

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

api/deploy/kubernetes/nfs/csi-provisioner-rbac-cr.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ rules:
4646
- apiGroups: ["snapshot.storage.k8s.io"]
4747
resources: ["volumesnapshots"]
4848
verbs: ["get", "list"]
49+
- apiGroups: ["storage.k8s.io"]
50+
resources: ["volumeattributesclasses"]
51+
verbs: ["get", "list", "watch"]

vendor/github.com/ceph/ceph-csi/api/deploy/kubernetes/nfs/csi-provisioner-rbac-cr.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)