Skip to content

Commit

Permalink
Add admissionregistration RBAC for apiserver
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiawei committed Oct 22, 2024
1 parent 8e73d96 commit e7f5bec
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions manifests/apiserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,15 @@ rules:
- get
- list
- watch
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingadmissionpolicies
- validatingadmissionpolicybindings
verbs:
- get
- list
- watch

---

Expand Down
9 changes: 9 additions & 0 deletions node/tests/k8st/infra/apiserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,15 @@ rules:
- get
- list
- watch
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingadmissionpolicies
- validatingadmissionpolicybindings
verbs:
- get
- list
- watch

---

Expand Down

0 comments on commit e7f5bec

Please sign in to comment.