-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
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?
- is duplicated by
-
OCMUI-3000 [FedRamp] When using restrictedURL flag - cluster details shows an error
-
- Closed
-