Skip to content

Commit

Permalink
Add missing verb to the role of node lifecycle controller (#1936)
Browse files Browse the repository at this point in the history
Signed-off-by: HF <[email protected]>
  • Loading branch information
crazytaxii authored Jan 31, 2024
1 parent da03883 commit 3c3b3cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ rules:
resources:
- pods/status
verbs:
- patch
- update
- apiGroups:
- ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func nodeTurnReady(evt event.UpdateEvent) bool {
//+kubebuilder:rbac:groups=apps.openyurt.io,resources=yurtstaticsets/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=apps.openyurt.io,resources=yurtstaticsets/finalizers,verbs=update
//+kubebuilder:rbac:groups=core,resources=pods,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=core,resources=pods/status,verbs=update
//+kubebuilder:rbac:groups=core,resources=pods/status,verbs=update;patch
//+kubebuilder:rbac:groups=core,resources=nodes,verbs=get;list;watch;update;patch
//+kubebuilder:rbac:groups=core,resources=configmaps,verbs=get;list;watch;create;update;patch;delete

Expand Down

0 comments on commit 3c3b3cb

Please sign in to comment.