Skip to content

Commit

Permalink
fix: use GroupName for RootSyncPermissionPrefix (#988)
Browse files Browse the repository at this point in the history
This prefix was unintentionally changed to the wrong value in PR 938
  • Loading branch information
sdowell authored Nov 2, 2023
1 parent 58c7cb4 commit f64139e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/core/names.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
// RootReconcilerPrefix is the prefix usef for all Root reconcilers.
RootReconcilerPrefix = "root-reconciler"
// RootSyncPermissionsPrefix is the prefix used for all ClusterRoleBindings granting access to Root Reconcilers
RootSyncPermissionsPrefix = configsync.RootSyncKind + ":" + RootReconcilerPrefix
RootSyncPermissionsPrefix = configsync.GroupName + ":" + RootReconcilerPrefix
)

// RootReconcilerName returns the root reconciler's name in the format root-reconciler-<name>.
Expand Down

0 comments on commit f64139e

Please sign in to comment.