rbd deploy csi-provisioner rbac add resources nodes get, list, watch #293

This commit is contained in:
王怀宗 2019-04-01 16:28:29 +08:00 committed by mergify[bot]
parent bb6754fb37
commit 4228ceb51e
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,9 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "list"]

View File

@ -10,6 +10,9 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: rbd-external-provisioner-runner
rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "list"]