From 6376c7d6193824153bebf5fd877a916a676ac14c Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 27 Apr 2022 10:07:00 -0300 Subject: [PATCH] Fix listing of deps and ssets --- charts/pv-resizer/v0.1.0/templates/rbac.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/pv-resizer/v0.1.0/templates/rbac.yaml b/charts/pv-resizer/v0.1.0/templates/rbac.yaml index 7148ccf..58f43c3 100644 --- a/charts/pv-resizer/v0.1.0/templates/rbac.yaml +++ b/charts/pv-resizer/v0.1.0/templates/rbac.yaml @@ -15,10 +15,12 @@ rules: - nodes/proxy verbs: ["get", "list"] - apiGroups: [""] + resources: ["persistentvolumeclaims"] + verbs: ["get", "list", "patch", "update"] +- apiGroups: ["apps"] resources: - deployments - statefulsets - - persistentvolumeclaims verbs: ["get", "list", "patch", "update"] ---