Skip to content

Commit

Permalink
fix(rbac): corrects rbac for featuretracker after refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszmajsak committed Oct 31, 2023
1 parent c7fc306 commit d7f2a69
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 @@ -637,7 +637,7 @@ rules:
- apiGroups:
- dscinitialization.opendatahub.io
resources:
- servicemeshresourcetrackers
- featuretrackers
verbs:
- create
- delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type DSCInitializationReconciler struct {
// +kubebuilder:rbac:groups="dscinitialization.opendatahub.io",resources=dscinitializations/status,verbs=get;update;patch;delete
// +kubebuilder:rbac:groups="dscinitialization.opendatahub.io",resources=dscinitializations/finalizers,verbs=get;update;patch;delete
// +kubebuilder:rbac:groups="dscinitialization.opendatahub.io",resources=dscinitializations,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups="dscinitialization.opendatahub.io",resources=servicemeshresourcetrackers,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups="dscinitialization.opendatahub.io",resources=featuretrackers,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups="kfdef.apps.kubeflow.org",resources=kfdefs,verbs=get;list;watch;create;update;patch;delete

// Reconcile contains controller logic specific to DSCInitialization instance updates.
Expand Down

0 comments on commit d7f2a69

Please sign in to comment.