Should start clusterprofile informer when featuregate is enabled (#1079)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 2m4s
Post / coverage (push) Failing after 36m45s
Post / images (amd64) (push) Failing after 8m20s
Post / images (arm64) (push) Failing after 7m51s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 1m20s

Signed-off-by: Jian Qiu <jqiu@redhat.com>
This commit is contained in:
Jian Qiu
2025-07-21 16:46:17 +08:00
committed by GitHub
parent 4cb6e38f76
commit feccf1298d

View File

@@ -349,7 +349,7 @@ func (m *HubManagerOptions) RunControllerManagerWithInformers(
go workInformers.Start(ctx.Done())
go kubeInformers.Start(ctx.Done())
go addOnInformers.Start(ctx.Done())
if features.HubMutableFeatureGate.Enabled(ocmfeature.DefaultClusterSet) {
if features.HubMutableFeatureGate.Enabled(ocmfeature.ClusterProfile) {
go clusterProfileInformers.Start(ctx.Done())
}