Skip to content

Commit

Permalink
update rbac for secret
Browse files Browse the repository at this point in the history
  • Loading branch information
hoyho committed Jun 6, 2019
1 parent 3cb3d2f commit 2e5b1be
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy/kubernetes/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ rules:
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["get", "list", "watch", "update", "patch"]
#Secret permission is optional.
#Enable it if you need value from secret.
#For example, you have key `csi.storage.k8s.io/controller-publish-secret-name` in StorageClass.parameters
#see https://kubernetes-csi.github.io/docs/secrets-and-credentials.html
# - apiGroups: [""]
# resources: ["secrets"]
# verbs: ["get", "list"]

---
kind: ClusterRoleBinding
Expand Down

0 comments on commit 2e5b1be

Please sign in to comment.