Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Update kubebuilder annotation to include additional verbs for secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancoleman committed Sep 22, 2022
1 parent 12460aa commit 581cff7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ rules:
- secrets
verbs:
- create
- update
- get
- list
- update
- watch
- apiGroups:
- ""
Expand Down
2 changes: 1 addition & 1 deletion internal/k8s/controllers/gateway_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type GatewayReconciler struct {
//+kubebuilder:rbac:groups=apps,resources=deployments,verbs=list;get;create;update;watch
//+kubebuilder:rbac:groups=core,resources=services,verbs=list;get;create;update;watch
//+kubebuilder:rbac:groups=core,resources=serviceaccounts,verbs=list;get;create;watch
//+kubebuilder:rbac:groups=core,resources=secrets,verbs=get;list;watch
//+kubebuilder:rbac:groups=core,resources=secrets,verbs=create;update;get;list;watch

// Reconcile is part of the main kubernetes reconciliation loop which aims to
// move the current state of the cluster closer to the desired state.
Expand Down

0 comments on commit 581cff7

Please sign in to comment.