Skip to content

Commit

Permalink
chores: clear rbac
Browse files Browse the repository at this point in the history
Signed-off-by: 佑祎 <zzw261520@alibaba-inc.com>
  • Loading branch information
zwzhang0107 committed Jun 20, 2023
1 parent f9d2fa7 commit e9ce919
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
File renamed without changes.
3 changes: 0 additions & 3 deletions pkg/controller/noderesource/resource_sync_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ type YARNResourceSyncReconciler struct {
client.Client
}

// +kubebuilder:rbac:groups=core,resources=nodes,verbs=get;list;watch
// +kubebuilder:rbac:groups=core,resources=configmaps,verbs=get;list;watch

func (r *YARNResourceSyncReconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error) {
node := &corev1.Node{}
if err := r.Client.Get(context.TODO(), req.NamespacedName, node); err != nil {
Expand Down

0 comments on commit e9ce919

Please sign in to comment.