Skip to content

Commit

Permalink
add kubebuilder rbac for pod resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Anis authored and Anis committed Feb 28, 2024
1 parent 2d92ae7 commit 5488c88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/controller/networkchaos_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ const (
//+kubebuilder:rbac:groups="",resources=services,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups="",resources=services/status,verbs=get;update;patch
//+kubebuilder:rbac:groups="",resources=services/finalizers,verbs=update
//+kubebuilder:rbac:groups="",resources=pods,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups="",resources=pods/status,verbs=get;update;patch
//+kubebuilder:rbac:groups="",resources=pods/finalizers,verbs=update

// 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 5488c88

Please sign in to comment.