Skip to content

Move the Enterprise CR getters into pkg/enterprise/utils - #5192

Merged
caseydavenport merged 2 commits into
tigera:masterfrom
caseydavenport:casey-enterprise-utils-move
Aug 14, 2026
Merged

Move the Enterprise CR getters into pkg/enterprise/utils#5192
caseydavenport merged 2 commits into
tigera:masterfrom
caseydavenport:casey-enterprise-utils-move

Conversation

@caseydavenport

Copy link
Copy Markdown
Member

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

None

@caseydavenport
caseydavenport force-pushed the casey-enterprise-utils-move branch from fd0fed9 to bd04f1c Compare August 14, 2026 18:59
The shared controller utils package no longer reads Enterprise-only CRs. The
namespace helper and the tenant event handler move along with them.
@caseydavenport
caseydavenport force-pushed the casey-enterprise-utils-move branch from bd04f1c to 049f454 Compare August 14, 2026 19:03
@caseydavenport
caseydavenport merged commit 415407e into tigera:master Aug 14, 2026
6 checks passed
@caseydavenport
caseydavenport deleted the casey-enterprise-utils-move branch August 14, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants