Skip to content

Commit

Permalink
Refact(operator): add clusterRole permission for csp subresources (op…
Browse files Browse the repository at this point in the history
…enebs#2460)

Adds clusterRole permission for cstorpool subresources
to add owner refereneces, due to constraints in openshift clusters

Signed-off-by: prateekpandey14 <prateekpandey14@gmail.com>
prateekpandey14 authored and Amit Kumar Das committed Mar 26, 2019
1 parent 0f601dd commit 7378de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/openebs-operator.yaml
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ rules:
resources: [ "castemplates", "runtasks"]
verbs: ["*" ]
- apiGroups: ["*"]
resources: [ "cstorpools", "cstorvolumereplicas", "cstorvolumes"]
resources: [ "cstorpools", "cstorpools/finalizers", "cstorvolumereplicas", "cstorvolumes"]
verbs: ["*" ]
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

0 comments on commit 7378de7

Please sign in to comment.