Skip to content

Commit

Permalink
Add missing clusterrole verbs (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel authored Mar 22, 2024
1 parent 775fde7 commit 6a1e61b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package controllers
//+kubebuilder:rbac:groups="",resources=events,verbs=get;list;watch;create;patch
//+kubebuilder:rbac:groups="",resources=namespaces,verbs=get;list;watch;create;update;patch;delete;deletecollection
//+kubebuilder:rbac:groups="",resources=services;secrets;serviceaccounts;configmaps,verbs=get;list;watch;create;update;patch;delete;deletecollection
//+kubebuilder:rbac:groups="",resources=nodes,verbs=list
//+kubebuilder:rbac:groups="",resources=nodes,verbs=list;watch;get
//+kubebuilder:rbac:groups="",resources=persistentvolumeclaims,verbs=get;list;watch;create;update;patch;delete;deletecollection

//+kubebuilder:rbac:groups=apps,resources=replicasets,verbs=list
Expand Down
2 changes: 2 additions & 0 deletions config/operator/base/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ rules:
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit 6a1e61b

Please sign in to comment.