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 20, 2024
1 parent b09bc66 commit 2638bc8
Show file tree
Hide file tree
Showing 7 changed files with 25 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 @@ -553,4 +553,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 @@ -165,6 +165,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 @@ -165,6 +165,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 @@ -165,6 +165,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 2638bc8

Please sign in to comment.