Skip to content

Commit

Permalink
fixup! MON-3486: add feature gate for Collection Profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
rexagod committed Jan 16, 2024
1 parent 7888ecc commit 340cf3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions config/v1/feature_gates.go
Original file line number Diff line number Diff line change
Expand Up @@ -432,10 +432,11 @@ var (
OwningProduct: ocpSpecific,
}

FeatureGateCollectionProfiles = FeatureGateName("CollectionProfiles")
collectionProfiles = FeatureGateDescription{
// https://github.com/openshift/enhancements/pull/1298
FeatureGateMetricsCollectionProfiles = FeatureGateName("MetricsCollectionProfiles")
metricsCollectionProfiles = FeatureGateDescription{
FeatureGateAttributes: FeatureGateAttributes{
Name: FeatureGateCollectionProfiles,
Name: FeatureGateMetricsCollectionProfiles,
},
OwningJiraComponent: "Monitoring",
ResponsiblePerson: "rexagod",
Expand Down
3 changes: 2 additions & 1 deletion config/v1/types_feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{
with(machineConfigNodes).
with(metricsServer).
with(installAlternateInfrastructureAWS).
with(collectionProfiles).
// https://github.com/openshift/enhancements/pull/1298
with(metricsCollectionProfiles).
without(clusterAPIInstall).
with(sdnLiveMigration).
with(mixedCPUsAllocation).
Expand Down

0 comments on commit 340cf3a

Please sign in to comment.