From 99416ed45ef297b17c2847e6a0d436ce5134814f Mon Sep 17 00:00:00 2001 From: Psycho Mantys Date: Fri, 29 Mar 2024 18:15:00 -0300 Subject: [PATCH] Update rbac.yaml for fix invalid yaml The RBAC is missing one line. When using kustomize: Error: map[string]interface {}(nil): yaml: unmarshal errors: line 19: mapping key "resources" already defined at line 17 line 20: mapping key "verbs" already defined at line 18 --- deploy/helm/seaweedfs-csi-driver/templates/rbac.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/helm/seaweedfs-csi-driver/templates/rbac.yaml b/deploy/helm/seaweedfs-csi-driver/templates/rbac.yaml index 4e4917b..f8eadd5 100644 --- a/deploy/helm/seaweedfs-csi-driver/templates/rbac.yaml +++ b/deploy/helm/seaweedfs-csi-driver/templates/rbac.yaml @@ -169,6 +169,7 @@ rules: - apiGroups: [""] resources: ["nodes"] verbs: ["get", "list", "watch"] + - apiGroups: [""] resources: ["persistentvolumes"] verbs: ["get", "list", "watch","update","patch"]