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 731bb9a
Show file tree
Hide file tree
Showing 6 changed files with 20 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()
)
1 change: 1 addition & 0 deletions features.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
| ExternalCloudProviderExternal| <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| ExternalCloudProviderGCP| <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| KMSv1| <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| MetricsCollectionProfiles| <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| NetworkLiveMigration| <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| OpenShiftPodSecurityAdmission| <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
| PrivateHostedZoneAWS| <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> | <span style="background-color: #519450">Enabled</span> |
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
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 731bb9a

Please sign in to comment.