-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
2
-
None
-
OCP Console - Sprint 277
As the OpenShift Console Operator, I want to monitor the cluster's active FeatureSet configuration, so that I can automatically enable the console's Tech Preview flag when the cluster is set to TechPreviewNoUpgrade.
Description
Cluster administrators can enable tech preview features across the entire cluster by setting the featureSet in the featuregates.config.openshift.io resource to TechPreviewNoUpgrade. When an admin does this, their intent is to see all available tech preview functionality.
The console operator should recognize this cluster-wide setting and automatically configure the console deployment to match. This avoids forcing the administrator to perform a second, separate step to enable tech preview features specifically for the console UI. The operator will be responsible for watching the FeatureGate resource and adding or removing the console's tech preview command-line argument as needed.
Acceptance Criteria
- The console operator is granted RBAC permissions to get and watch the featuregates.config.openshift.io cluster resource.
- The operator establishes a watch on the cluster FeatureGate resource.
- If the spec.featureSet of the cluster FeatureGate is set to TechPreviewNoUpgrade, the operator must patch the console config to add the tech preview flag.
- The patch must add the command-line argument that enables tech preview features to the console server container
- The operator's status should reflect whether it has successfully reconciled the console deployment based on the cluster FeatureSet.