Skip to content

Commit

Permalink
fix: Add "deletecollection" verb to "persistentvolumeclaims" Kube…
Browse files Browse the repository at this point in the history
…rnetes RBAC permission (#17)
  • Loading branch information
alopezsanchez authored Feb 8, 2024
1 parent 3f441bc commit 668f09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/virtual-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ resource "kubernetes_role_v1" "this" {
rule {
api_groups = [""]
resources = ["persistentvolumeclaims"]
verbs = ["get", "list", "watch", "describe", "create", "edit", "delete", "annotate", "patch", "label"]
verbs = ["get", "list", "watch", "describe", "create", "edit", "delete", "annotate", "patch", "label", "deletecollection"]
}
}

Expand Down

0 comments on commit 668f09b

Please sign in to comment.