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 17, 2024
1 parent 5eb761f commit 0aeefbc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config/v1/feature_gates.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,10 @@ var (
OwningProduct: ocpSpecific,
}

FeatureGateCollectionProfiles = FeatureGateName("CollectionProfiles")
collectionProfiles = FeatureGateDescription{
FeatureGateMetricsCollectionProfiles = FeatureGateName("MetricsCollectionProfiles")
metricsCollectionProfiles = FeatureGateDescription{
FeatureGateAttributes: FeatureGateAttributes{
Name: FeatureGateCollectionProfiles,
Name: FeatureGateMetricsCollectionProfiles,
},
OwningJiraComponent: "Monitoring",
ResponsiblePerson: "rexagod",
Expand Down
2 changes: 1 addition & 1 deletion config/v1/types_feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{
with(machineConfigNodes).
with(metricsServer).
with(installAlternateInfrastructureAWS).
with(collectionProfiles).
with(metricsCollectionProfiles).
without(clusterAPIInstall).
with(sdnLiveMigration).
with(mixedCPUsAllocation).
Expand Down
3 changes: 3 additions & 0 deletions payload-manifests/featuregates/featureGate-Default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
{
"name": "MaxUnavailableStatefulSet"
},
{
"name": "MetricsCollectionProfiles"
},
{
"name": "MetricsServer"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
{
"name": "MaxUnavailableStatefulSet"
},
{
"name": "MetricsCollectionProfiles"
},
{
"name": "MetricsServer"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
{
"name": "MaxUnavailableStatefulSet"
},
{
"name": "MetricsCollectionProfiles"
},
{
"name": "MetricsServer"
},
Expand Down

0 comments on commit 0aeefbc

Please sign in to comment.