Skip to content

Commit

Permalink
helm: add RBACS for replication.storage.openshift.io
Browse files Browse the repository at this point in the history
OMAP regenration of VolumeGroupReplicationContent requires `get`
access control for `volumegroupreplicationcontents` and
`volumegroupreplicationclasses`.

Signed-off-by: Praveen M <[email protected]>
  • Loading branch information
iPraveenParihar committed Jan 8, 2025
1 parent 0cfa2b6 commit 967098d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/ceph-csi-rbd/templates/provisioner-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ rules:
- apiGroups: [""]
resources: ["endpoints"]
verbs: ["get", "create", "update"]
- apiGroups: ["replication.storage.openshift.io"]
resources: ["volumegroupreplicationcontents", "volumegroupreplicationclasses"]
verbs: ["get"]
{{- if .Values.provisioner.attacher.enabled }}
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
Expand Down

0 comments on commit 967098d

Please sign in to comment.