Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-2896

Enable isHypershiftEnabled when mocking restricted environment

    • BU Features
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • OCMUI Center Team Sprint 266

      Description

      There needs to be an easy way to enable the HCP wizard in the FedRamp environment when the code is ready. This will be done by changing the 'hypershift-creation-wizard' (or HYPERSHIFT_WIZARD_FEATURE in code) feature gate in the FedRamp environment.

      In some areas of the code the appearance of HCP features disabled both with this feature gate and with the isRestrictedEnv method. Only the feature gate should be used to hide HCP features. HCP features that need to be hidden in FedRamp will be addressed in future stories/tasks.

      In addition, when using the mocking restricted environment URL flag (?restricted=true) the code automatically assumes that all feature gates including 'hypershift-creation-wizard' are set to false. This will need to change so the value of 'hypershift-creation-wizard' (or HYPERSHIFT_WIZARD_FEATURE in code) is not assumed to be false.

      Acceptance criteria

      When mocking the FedRamp environment (by using ?restricted=true URL flag) AND 'hypershift-creation-wizard' feature gate is set to true the the HCP wizard is available.

      When mocking the FedRamp environment (by using ?restricted=true URL flag) AND 'hypershift-creation-wizard' feature gate is set to false the the HCP wizard is available (current behavior).

      Questions

      Can the feature gate be changed in FedRamp or will the feature gate value need to be hard coded in the code?

              rh-ee-daznauro David Aznaurov
              kdoberst Kim Doberstein
              Jason Loss Jason Loss
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: