fix rbac rules for configmaps

This commit is contained in:
mickymiek 2019-01-08 18:07:47 +01:00 committed by Huamin Chen
parent 7bc3df2376
commit b23ee70d7f
2 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,9 @@ rules:
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["get", "list", "watch", "update"]
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get", "list", "create", "delete"]
---
kind: ClusterRoleBinding

View File

@ -21,6 +21,9 @@ rules:
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["get", "list", "watch", "update"]
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get", "list", "create", "delete"]
---
kind: ClusterRoleBinding