Skip to content

Commit

Permalink
Update rbac.yaml for fix invalid yaml
Browse files Browse the repository at this point in the history
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
  • Loading branch information
psychomantys authored and chrislusf committed Mar 29, 2024
1 parent b402b51 commit bcd6313
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/helm/seaweedfs-csi-driver/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch","update","patch"]

Expand Down

0 comments on commit bcd6313

Please sign in to comment.