Skip to content

Commit

Permalink
Add additional required rbac rules for apinetlet (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
adracus authored Apr 11, 2023
1 parent 4edb07a commit 992081d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apinetlet/controllers/rbac.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ package controllers
//+kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch;create;update;patch
//+kubebuilder:rbac:groups=certificates.k8s.io,resources=certificatesigningrequests,verbs=create;get;list;watch
//+kubebuilder:rbac:groups=certificates.k8s.io,resources=certificatesigningrequests/apinetletclient,verbs=create

// Rules required for delegated authentication
//+kubebuilder:rbac:groups=authentication.k8s.io,resources=tokenreviews,verbs=create
//+kubebuilder:rbac:groups=authorization.k8s.io,resources=subjectaccessreviews,verbs=create

0 comments on commit 992081d

Please sign in to comment.