Browse Source

Add permission to list nodes do pvresizer account

master
Fábio Kaiser Rauber 3 years ago
parent
commit
f0d739f8cb
  1. 6
      charts/pv-resizer/v0.1.0/templates/rbac.yaml

6
charts/pv-resizer/v0.1.0/templates/rbac.yaml

@ -8,14 +8,16 @@ metadata:
{{- include "pv-resizer.labels" . | nindent 4 }}
rules:
- apiGroups: [""]
resources: ["namespaces"]
resources:
- namespaces
- pods
- nodes
verbs: ["get", "list"]
- apiGroups: [""]
resources:
- deployments
- statefulsets
- persistentvolumeclaims
- pods
verbs: ["get", "list", "patch", "update"]
---

Loading…
Cancel
Save