Skip to content

Commit

Permalink
add volumegroupsnapshotclass read permissions for webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
dobsonj committed Apr 2, 2024
1 parent 42d42f9 commit 8852528
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/rbac/webhook_clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ rules:
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotclasses"]
verbs: ["get", "list", "watch"]
- apiGroups: ["groupsnapshot.storage.k8s.io"]
resources: ["volumegroupsnapshotclasses"]
verbs: ["get", "list", "watch"]
3 changes: 3 additions & 0 deletions manifests/05_operand_rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ rules:
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotcontents/status"]
verbs: ["update", "patch"]
- apiGroups: ["groupsnapshot.storage.k8s.io"]
resources: ["volumegroupsnapshotclasses"]
verbs: ["get", "list", "watch"]

---
kind: ClusterRoleBinding
Expand Down

0 comments on commit 8852528

Please sign in to comment.