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 }} {{- include "pv-resizer.labels" . | nindent 4 }}
rules: rules:
- apiGroups: [""] - apiGroups: [""]
resources: ["namespaces"] resources:
- namespaces
- pods
- nodes
verbs: ["get", "list"] verbs: ["get", "list"]
- apiGroups: [""] - apiGroups: [""]
resources: resources:
- deployments - deployments
- statefulsets - statefulsets
- persistentvolumeclaims - persistentvolumeclaims
- pods
verbs: ["get", "list", "patch", "update"] verbs: ["get", "list", "patch", "update"]
--- ---

Loading…
Cancel
Save