Skip to content

Commit

Permalink
Add verb accessto syncer
Browse files Browse the repository at this point in the history
  • Loading branch information
mjudeikis committed Feb 27, 2023
1 parent 771cfc8 commit 2e5a249
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cliplugins/workload/plugin/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,10 @@ func (o *SyncOptions) enableSyncerForWorkspace(ctx context.Context, config *rest
APIGroups: []string{apiresourcev1alpha1.SchemeGroupVersion.Group},
Resources: []string{"apiresourceimports"},
},
{
Verbs: []string{"access"},
NonResourceURLs: []string{"/"},
},
}

cr, err := kubeClient.RbacV1().ClusterRoles().Get(ctx,
Expand Down

0 comments on commit 2e5a249

Please sign in to comment.