Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4765

Automate Console Tech Preview Flag via Cluster FeatureSet

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • 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.

              rh-ee-jonjacks Jon Jackson
              rh-ee-jonjacks Jon Jackson
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: