Move the Enterprise CR getters into pkg/enterprise/utils - #5192
Merged
caseydavenport merged 2 commits intoAug 14, 2026
Conversation
Brian-McM
approved these changes
Aug 14, 2026
caseydavenport
force-pushed
the
casey-enterprise-utils-move
branch
from
August 14, 2026 18:59
fd0fed9 to
bd04f1c
Compare
The shared controller utils package no longer reads Enterprise-only CRs. The namespace helper and the tenant event handler move along with them.
caseydavenport
force-pushed
the
casey-enterprise-utils-move
branch
from
August 14, 2026 19:03
bd04f1c to
049f454
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Pure move, split out of #5170 to keep that review smaller. The shared controller utils package reads a lot of Enterprise-only CRs (LogCollector, Manager, ManagementCluster, Authentication, Tenant, and friends), and core code shouldn't be able to reach those getters at all. They move to
pkg/enterprise/utils, along with the namespace helper and the tenant event handler.Callers pick up the new import paths. No behaviour change.
Release Note