Skip to content

Commit

Permalink
endpoint is missing as part of ClusterRole rule. This in turn throws …
Browse files Browse the repository at this point in the history
…a error when gluster-block pod is provisioned.

So, add ClusterRole to perform read/write with endpoint.

Note: endpoint is added in glusterblock-provisioner as part of
the PR: kubernetes-retired/external-storage#957

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1723366

Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com>
  • Loading branch information
SaravanaStorageNetwork authored and Gabriel Mainberger committed Jul 25, 2019
1 parent 271daa6 commit 81af609
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ objects:
- apiGroups: [""]
resources: ["routes"]
verbs: ["get", "list"]
- apiGroups: [""]
resources: ["endpoints"]
verbs: ["get", "list", "watch", "create", "update", "patch"]
- apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down

0 comments on commit 81af609

Please sign in to comment.