Skip to content

Commit

Permalink
MON-3486: add feature gate for Collection Profiles
Browse files Browse the repository at this point in the history
Adds a custom feature gate for CMO's Collection Profiles feature. Also
preserve the earlier behavior to enable it by default on TP enabled
clusters.

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
  • Loading branch information
rexagod committed Mar 27, 2024
1 parent 4b072d8 commit 7dd6a84
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/v1/feature_gates.go
Original file line number Diff line number Diff line change
Expand Up @@ -559,4 +559,11 @@ var (
productScope(ocpSpecific).
enableIn(TechPreviewNoUpgrade).
mustRegister()

FeatureGateMetricsCollectionProfiles = newFeatureGate("MetricsCollectionProfiles").
reportProblemsToJiraComponent("Monitoring").
contactPerson("rexagod").
productScope(ocpSpecific).
enableIn(Default, TechPreviewNoUpgrade).
mustRegister()
)
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@
{
"name": "KMSv1"
},
{
"name": "MetricsCollectionProfiles"
},
{
"name": "NetworkLiveMigration"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@
{
"name": "MaxUnavailableStatefulSet"
},
{
"name": "MetricsCollectionProfiles"
},
{
"name": "MetricsServer"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@
{
"name": "KMSv1"
},
{
"name": "MetricsCollectionProfiles"
},
{
"name": "NetworkLiveMigration"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@
{
"name": "MaxUnavailableStatefulSet"
},
{
"name": "MetricsCollectionProfiles"
},
{
"name": "MetricsServer"
},
Expand Down

0 comments on commit 7dd6a84

Please sign in to comment.