Skip to content

Commit

Permalink
chore: fix rbac role (#91)
Browse files Browse the repository at this point in the history
Co-authored-by: David MICHENEAU <[email protected]>
  • Loading branch information
dmicheneau and David MICHENEAU authored Oct 31, 2024
1 parent 7dafa28 commit 3bd2ff1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/controller/controller.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package controller

//+kubebuilder:rbac:groups=coordination.k8s.io,resources=leases,verbs=get;list;watch;create;update;patch
//+kubebuilder:rbac:groups=admissionregistration.k8s.io,resources=mutatingwebhookconfigurations,verbs=get;list;watch;create;update;patch;delete
12 changes: 12 additions & 0 deletions manifests/operator/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ rules:
- patch
- update
- watch
- apiGroups:
- admissionregistration.k8s.io
resources:
- mutatingwebhookconfigurations
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
Expand Down

0 comments on commit 3bd2ff1

Please sign in to comment.