From f64139ef4809c51c80e184abd8fa50d2c9b2dd75 Mon Sep 17 00:00:00 2001 From: Sam Dowell Date: Wed, 1 Nov 2023 20:13:39 -0700 Subject: [PATCH] fix: use GroupName for RootSyncPermissionPrefix (#988) This prefix was unintentionally changed to the wrong value in PR 938 --- pkg/core/names.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/core/names.go b/pkg/core/names.go index c9d851fe42..876b91cfe7 100644 --- a/pkg/core/names.go +++ b/pkg/core/names.go @@ -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-.