Skip to content

Commit

Permalink
Merge pull request #152 from hoyho/bugfix/secret_permission
Browse files Browse the repository at this point in the history
update rbac for secret
  • Loading branch information
k8s-ci-robot authored Jun 6, 2019
2 parents 3cb3d2f + 2e5b1be commit 08983ee
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 08983ee

Please sign in to comment.