@openshift-assisted/ui-lib 2.38.5 → 2.39.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts +2 -3
- package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts +3 -0
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts +15 -2
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts +1 -2
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts +1 -2
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +8 -7
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts +4 -2
- package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts +17 -0
- package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.d.ts +8 -0
- package/build/@types/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts +16 -0
- package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/index.d.ts +1 -2
- package/build/@types/cim/components/ClusterDeployment/index.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -11
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/types.d.ts +7 -9
- package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +8 -2
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/types.d.ts +6 -3
- package/build/@types/cim/components/Hypershift/types.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvAgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts +7 -0
- package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -0
- package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts +2 -1
- package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agents.d.ts +3 -0
- package/build/@types/cim/components/helpers/agents.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts +1 -1
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts +2 -2
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditAgentModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/ScaleUpModal.d.ts +3 -0
- package/build/@types/cim/components/modals/ScaleUpModal.d.ts.map +1 -1
- package/build/@types/common/api/index.d.ts +1 -0
- package/build/@types/common/api/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -2
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/index.d.ts +1 -0
- package/build/@types/common/components/clusterDetail/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/common/components/hosts/EditHostForm.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +4 -2
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -1
- package/build/@types/common/components/ui/{OpenshiftSelectWithSearch.d.ts → OpenShiftSelectWithSearch.d.ts} +3 -3
- package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -0
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +2 -2
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts +12 -0
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -0
- package/build/@types/common/components/ui/WizardFooter.d.ts +1 -0
- package/build/@types/common/components/ui/WizardFooter.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +2 -0
- package/build/@types/common/components/ui/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +20 -0
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +8 -1
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/hooks/index.d.ts +1 -0
- package/build/@types/common/hooks/index.d.ts.map +1 -1
- package/build/@types/common/index.d.ts +1 -0
- package/build/@types/common/index.d.ts.map +1 -1
- package/build/@types/common/types/clusters.d.ts +5 -0
- package/build/@types/common/types/clusters.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/KmmCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/LsoCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/PipelinesChekbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/SupportedOperators.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts +7 -0
- package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/{OpenshiftVersionsContext.d.ts → OpenShiftVersionsContext.d.ts} +4 -4
- package/build/@types/ocm/components/clusterWizard/{OpenshiftVersionsContext.d.ts.map → OpenShiftVersionsContext.d.ts.map} +1 -1
- package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/index.d.ts +2 -0
- package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +2 -2
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts +2 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/index.d.ts +3 -0
- package/build/@types/ocm/components/clusters/index.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts +1 -0
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +5 -1
- package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
- package/build/@types/ocm/components/index.d.ts +2 -0
- package/build/@types/ocm/components/index.d.ts.map +1 -1
- package/build/@types/ocm/hooks/index.d.ts +2 -0
- package/build/@types/ocm/hooks/index.d.ts.map +1 -1
- package/build/@types/ocm/index.d.ts +1 -0
- package/build/@types/ocm/index.d.ts.map +1 -1
- package/build/@types/ocm/services/OperatorsService.d.ts +1 -1
- package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js +9 -7
- package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js +40 -14
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js +13 -29
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js +2 -12
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js +50 -26
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js +3 -3
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js +39 -21
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js +58 -27
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js +24 -24
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +26 -42
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.js +12 -8
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js +24 -9
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js +5 -5
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js +50 -0
- package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.js +24 -0
- package/build/cjs/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/components/ValidationSection.js +17 -0
- package/build/cjs/cim/components/ClusterDeployment/components/ValidationSection.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/constants.js +2 -0
- package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/index.js +2 -5
- package/build/cjs/cim/components/ClusterDeployment/index.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +1 -14
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js +6 -4
- package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +2 -12
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/{OpenshiftVersionDropdown.js → InfraEnvOpenShiftVersionDropdown.js} +3 -3
- package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -0
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +14 -19
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/cim/components/helpers/agents.js +19 -1
- package/build/cjs/cim/components/helpers/agents.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +25 -23
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +19 -11
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/modals/EditAgentModal.js +2 -2
- package/build/cjs/cim/components/modals/EditAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/ScaleUpModal.js +3 -2
- package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
- package/build/cjs/common/api/index.js +1 -0
- package/build/cjs/common/api/index.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +11 -9
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/index.js +3 -1
- package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +14 -18
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +4 -4
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/hosts/EditHostForm.js +3 -3
- package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +12 -9
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js +0 -2
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/ui/DeveloperPreview.js +2 -1
- package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -1
- package/build/cjs/common/components/ui/{OpenshiftSelectWithSearch.js → OpenShiftSelectWithSearch.js} +6 -6
- package/build/cjs/common/components/ui/{OpenshiftSelectWithSearch.js.map → OpenShiftSelectWithSearch.js.map} +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.css +9 -0
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +2 -2
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/{ocm/components/clusterConfiguration → common/components/ui}/OpenShiftVersionModal.js +4 -6
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -0
- package/build/cjs/common/components/ui/WizardFooter.js +5 -3
- package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js +3 -2
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +18 -15
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +2 -0
- package/build/cjs/common/components/ui/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +33 -2
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +22 -9
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/hooks/index.js +3 -1
- package/build/cjs/common/hooks/index.js.map +1 -1
- package/build/cjs/common/index.js +1 -0
- package/build/cjs/common/index.js.map +1 -1
- package/build/cjs/common/types/clusters.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js +2 -2
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +2 -2
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +3 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +5 -6
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js +9 -3
- package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js +20 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js +9 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +27 -10
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +8 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -2
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +2 -2
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js +3 -0
- package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +1 -2
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +11 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js +21 -0
- package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/{OpenshiftVersionsContext.js → OpenShiftVersionsContext.js} +10 -10
- package/build/cjs/ocm/components/clusterWizard/{OpenshiftVersionsContext.js.map → OpenShiftVersionsContext.js.map} +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js +5 -0
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +24 -15
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/index.js +5 -1
- package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +3 -0
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +7 -9
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -2
- package/build/cjs/ocm/components/clusters/index.js +7 -1
- package/build/cjs/ocm/components/clusters/index.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +2 -2
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +2 -2
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +10 -4
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/hosts/ModalDialogsContext.js +1 -0
- package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
- package/build/cjs/ocm/components/index.js +2 -0
- package/build/cjs/ocm/components/index.js.map +1 -1
- package/build/cjs/ocm/hooks/index.js +5 -1
- package/build/cjs/ocm/hooks/index.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnv.js +2 -2
- package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
- package/build/cjs/ocm/index.js +1 -0
- package/build/cjs/ocm/index.js.map +1 -1
- package/build/cjs/ocm/services/OperatorsService.js +7 -2
- package/build/cjs/ocm/services/OperatorsService.js.map +1 -1
- package/lib/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.tsx +11 -9
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.tsx +85 -19
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.tsx +25 -53
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.tsx +7 -16
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.tsx +102 -59
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.tsx +16 -10
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.tsx +84 -48
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.tsx +106 -54
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.tsx +96 -85
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +109 -119
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.tsx +27 -14
- package/lib/cim/components/ClusterDeployment/ClusterDetailsFormFields.tsx +54 -13
- package/lib/cim/components/ClusterDeployment/NetworkConfiguration.tsx +5 -5
- package/lib/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.tsx +107 -0
- package/lib/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.tsx +49 -0
- package/lib/cim/components/ClusterDeployment/components/ValidationSection.tsx +41 -0
- package/lib/cim/components/ClusterDeployment/constants.ts +3 -1
- package/lib/cim/components/ClusterDeployment/index.ts +1 -3
- package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +1 -26
- package/lib/cim/components/ClusterDeployment/types.ts +7 -10
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +3 -3
- package/lib/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.tsx +4 -2
- package/lib/cim/components/Hypershift/types.ts +6 -3
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +7 -16
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +2 -2
- package/lib/cim/components/InfraEnv/{OpenshiftVersionDropdown.tsx → InfraEnvOpenShiftVersionDropdown.tsx} +2 -2
- package/lib/cim/components/common/CpuArchitectureDropdown.tsx +51 -40
- package/lib/cim/components/helpers/agents.ts +30 -1
- package/lib/cim/components/helpers/toAssisted.ts +12 -8
- package/lib/cim/components/helpers/versions.ts +20 -6
- package/lib/cim/components/modals/EditAgentModal.tsx +2 -1
- package/lib/cim/components/modals/ScaleUpModal.tsx +12 -2
- package/lib/common/api/index.ts +1 -0
- package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +14 -14
- package/lib/common/components/clusterDetail/index.ts +1 -0
- package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +50 -61
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +4 -4
- package/lib/common/components/hosts/EditHostForm.tsx +16 -6
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +10 -4
- package/lib/common/components/newFeatureSupportLevels/types.ts +14 -10
- package/lib/common/components/storage/DisksTable.tsx +0 -2
- package/lib/common/components/ui/DeveloperPreview.tsx +2 -0
- package/lib/common/components/ui/{OpenshiftSelectWithSearch.tsx → OpenShiftSelectWithSearch.tsx} +4 -4
- package/lib/common/components/ui/OpenShiftVersionDropdown.css +9 -0
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +3 -3
- package/lib/{ocm/components/clusterConfiguration → common/components/ui}/OpenShiftVersionModal.tsx +9 -9
- package/lib/common/components/ui/WizardFooter.tsx +26 -10
- package/lib/common/components/ui/formik/RichInputField.tsx +4 -2
- package/lib/common/components/ui/formik/validationSchemas.ts +13 -10
- package/lib/common/components/ui/index.ts +3 -0
- package/lib/common/config/constants.ts +31 -1
- package/lib/common/config/docs_links.ts +37 -7
- package/lib/common/hooks/index.ts +1 -0
- package/lib/common/index.ts +1 -0
- package/lib/common/types/clusters.ts +5 -0
- package/lib/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.tsx +2 -2
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +3 -3
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.tsx +3 -3
- package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +0 -1
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +9 -13
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersion.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +9 -5
- package/lib/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.tsx +3 -7
- package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.tsx +71 -0
- package/lib/ocm/components/clusterConfiguration/operators/KmmCheckbox.tsx +9 -8
- package/lib/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.tsx +66 -0
- package/lib/ocm/components/clusterConfiguration/operators/LsoCheckbox.tsx +2 -7
- package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.tsx +3 -4
- package/lib/ocm/components/clusterConfiguration/operators/NmstateCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.tsx +2 -7
- package/lib/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.tsx +66 -0
- package/lib/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.tsx +66 -0
- package/lib/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/OscCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/PipelinesChekbox.tsx +2 -7
- package/lib/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.tsx +68 -0
- package/lib/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.tsx +2 -7
- package/lib/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.tsx +2 -7
- package/lib/ocm/components/clusterConfiguration/operators/SupportedOperators.tsx +25 -0
- package/lib/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.tsx +9 -0
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +55 -30
- package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +13 -8
- package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +3 -3
- package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +3 -3
- package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +2 -2
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +2 -2
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +7 -1
- package/lib/ocm/components/clusterWizard/ClusterWizard.tsx +3 -0
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +1 -2
- package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +15 -1
- package/lib/ocm/components/clusterWizard/KubeconfigDownload.tsx +39 -0
- package/lib/ocm/components/clusterWizard/{OpenshiftVersionsContext.tsx → OpenShiftVersionsContext.tsx} +8 -8
- package/lib/ocm/components/clusterWizard/Operators.tsx +10 -0
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +25 -15
- package/lib/ocm/components/clusterWizard/constants.ts +1 -0
- package/lib/ocm/components/clusterWizard/index.ts +2 -0
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +6 -1
- package/lib/ocm/components/clusters/ClusterPage.tsx +16 -13
- package/lib/ocm/components/clusters/NewClusterPage.tsx +3 -3
- package/lib/ocm/components/clusters/index.ts +3 -0
- package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +2 -2
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +2 -2
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +9 -4
- package/lib/ocm/components/hosts/ModalDialogsContext.tsx +8 -1
- package/lib/ocm/components/index.ts +2 -0
- package/lib/ocm/hooks/index.ts +2 -0
- package/lib/ocm/hooks/useInfraEnv.ts +1 -1
- package/lib/ocm/index.ts +1 -0
- package/lib/ocm/services/OperatorsService.tsx +12 -2
- package/package.json +4 -3
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts +0 -10
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts +0 -13
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts +0 -4
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts +0 -7
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts.map +0 -1
- package/build/@types/cim/components/InfraEnv/OpenshiftVersionDropdown.d.ts +0 -7
- package/build/@types/cim/components/InfraEnv/OpenshiftVersionDropdown.d.ts.map +0 -1
- package/build/@types/common/components/ui/OpenshiftSelectWithSearch.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenShiftVersionModal.d.ts +0 -10
- package/build/@types/ocm/components/clusterConfiguration/OpenShiftVersionModal.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts +0 -7
- package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js +0 -31
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.js +0 -50
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.js +0 -35
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.js +0 -9
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.js.map +0 -1
- package/build/cjs/cim/components/InfraEnv/OpenshiftVersionDropdown.js.map +0 -1
- package/build/cjs/common/components/ui/OpenshiftVersionDropdown.css +0 -4
- package/build/cjs/ocm/components/clusterConfiguration/OpenShiftVersionModal.js.map +0 -1
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js +0 -35
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js.map +0 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx +0 -79
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.tsx +0 -128
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.tsx +0 -81
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.tsx +0 -13
- package/lib/common/components/ui/OpenshiftVersionDropdown.css +0 -4
- package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
- package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx +0 -69
- /package/build/cjs/{ocm/components/clusterConfiguration/OpenshiftVersionModal.css → common/components/ui/OpenShiftVersionModal.css} +0 -0
- /package/lib/{ocm/components/clusterConfiguration/OpenshiftVersionModal.css → common/components/ui/OpenShiftVersionModal.css} +0 -0
|
@@ -16,6 +16,11 @@ import ServiceMeshCheckbox from './ServicemeshCheckbox';
|
|
|
16
16
|
import NvidiaGpuCheckbox from './NvidiaGpuCheckbox';
|
|
17
17
|
import AmdGpuCheckbox from './AmdGpuCheckbox';
|
|
18
18
|
import KmmCheckbox from './KmmCheckbox';
|
|
19
|
+
import NodeHealthcheckCheckbox from './NodeHealthcheckCheckbox';
|
|
20
|
+
import SelfNodeRemediationCheckbox from './SelfNodeRemediationCheckbox';
|
|
21
|
+
import FenceAgentsRemediationCheckbox from './FenceAgentsRemediationCheckbox';
|
|
22
|
+
import NodeMaintenanceCheckbox from './NodeMaintenanceOperatorCheckbox';
|
|
23
|
+
import KubeDeschedulerCheckbox from './KubeDeschedulerCheckbox';
|
|
19
24
|
import {
|
|
20
25
|
FeatureId,
|
|
21
26
|
OPERATOR_NAME_AMD_GPU,
|
|
@@ -35,6 +40,11 @@ import {
|
|
|
35
40
|
OPERATOR_NAME_PIPELINES,
|
|
36
41
|
OPERATOR_NAME_SERVERLESS,
|
|
37
42
|
OPERATOR_NAME_SERVICEMESH,
|
|
43
|
+
OPERATOR_NAME_NODE_HEALTHCHECK,
|
|
44
|
+
OPERATOR_NAME_SELF_NODE_REMEDIATION,
|
|
45
|
+
OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
|
|
46
|
+
OPERATOR_NAME_NODE_MAINTENANCE,
|
|
47
|
+
OPERATOR_NAME_KUBE_DESCHEDULER,
|
|
38
48
|
} from '../../../../common';
|
|
39
49
|
import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
|
|
40
50
|
|
|
@@ -72,6 +82,11 @@ export const operatorComponentMap: Record<string, (props: OperatorProps) => JSX.
|
|
|
72
82
|
'nvidia-gpu': (props) => <NvidiaGpuCheckbox {...props} />,
|
|
73
83
|
'amd-gpu': (props) => <AmdGpuCheckbox {...props} />,
|
|
74
84
|
kmm: (props) => <KmmCheckbox {...props} />,
|
|
85
|
+
'node-healthcheck': (props) => <NodeHealthcheckCheckbox {...props} />,
|
|
86
|
+
'self-node-remediation': (props) => <SelfNodeRemediationCheckbox {...props} />,
|
|
87
|
+
'fence-agents-remediation': (props) => <FenceAgentsRemediationCheckbox {...props} />,
|
|
88
|
+
'node-maintenance': (props) => <NodeMaintenanceCheckbox {...props} />,
|
|
89
|
+
'kube-descheduler': (props) => <KubeDeschedulerCheckbox {...props} />,
|
|
75
90
|
};
|
|
76
91
|
|
|
77
92
|
export const mapOperatorsToFieldIds: { [key: string]: string } = {
|
|
@@ -92,6 +107,11 @@ export const mapOperatorsToFieldIds: { [key: string]: string } = {
|
|
|
92
107
|
[OPERATOR_NAME_NVIDIA_GPU]: 'useNvidiaGpu',
|
|
93
108
|
[OPERATOR_NAME_AMD_GPU]: 'useAmdGpu',
|
|
94
109
|
[OPERATOR_NAME_KMM]: 'useKmm',
|
|
110
|
+
[OPERATOR_NAME_NODE_HEALTHCHECK]: 'useNodeHealthcheck',
|
|
111
|
+
[OPERATOR_NAME_SELF_NODE_REMEDIATION]: 'useSelfNodeRemediation',
|
|
112
|
+
[OPERATOR_NAME_FENCE_AGENTS_REMEDIATION]: 'useFenceAgentsRemediation',
|
|
113
|
+
[OPERATOR_NAME_NODE_MAINTENANCE]: 'useNodeMaintenance',
|
|
114
|
+
[OPERATOR_NAME_KUBE_DESCHEDULER]: 'useKubeDescheduler',
|
|
95
115
|
};
|
|
96
116
|
|
|
97
117
|
export const mapOperatorIdToFeatureId: { [key: string]: FeatureId } = {
|
|
@@ -112,4 +132,9 @@ export const mapOperatorIdToFeatureId: { [key: string]: FeatureId } = {
|
|
|
112
132
|
[OPERATOR_NAME_NVIDIA_GPU]: 'NVIDIA_GPU',
|
|
113
133
|
[OPERATOR_NAME_AMD_GPU]: 'AMD_GPU',
|
|
114
134
|
[OPERATOR_NAME_KMM]: 'KMM',
|
|
135
|
+
[OPERATOR_NAME_NODE_HEALTHCHECK]: 'NODE_HEALTHCHECK',
|
|
136
|
+
[OPERATOR_NAME_SELF_NODE_REMEDIATION]: 'SELF_NODE_REMEDIATION',
|
|
137
|
+
[OPERATOR_NAME_FENCE_AGENTS_REMEDIATION]: 'FENCE_AGENTS_REMEDIATION',
|
|
138
|
+
[OPERATOR_NAME_NODE_MAINTENANCE]: 'NODE_MAINTENANCE',
|
|
139
|
+
[OPERATOR_NAME_KUBE_DESCHEDULER]: 'KUBE_DESCHEDULER',
|
|
115
140
|
};
|
|
@@ -12,12 +12,21 @@ const VirtualizationRequirements = () => {
|
|
|
12
12
|
Each control plane node requires an additional 1024 MiB of memory and 3 CPUs.
|
|
13
13
|
</ListItem>
|
|
14
14
|
<ListItem>Each worker node requires an additional 1024 MiB of memory and 5 CPUs.</ListItem>
|
|
15
|
+
<ListItem>
|
|
16
|
+
Additional resources may be required to support the selected storage operator.
|
|
17
|
+
</ListItem>
|
|
15
18
|
</List>
|
|
16
19
|
Bundle operators:
|
|
17
20
|
<List>
|
|
18
21
|
<ListItem>OpenShift Virtualization</ListItem>
|
|
19
22
|
<ListItem>Migration Toolkit for Virtualization</ListItem>
|
|
20
23
|
<ListItem>Nmstate</ListItem>
|
|
24
|
+
<ListItem>Storage operator (either LSO/LVMS)</ListItem>
|
|
25
|
+
<ListItem>Node Healthcheck</ListItem>
|
|
26
|
+
<ListItem>Self Node Remediation</ListItem>
|
|
27
|
+
<ListItem>Fence Agents Remediation</ListItem>
|
|
28
|
+
<ListItem>Node Maintenance</ListItem>
|
|
29
|
+
<ListItem>Kube Descheduler</ListItem>
|
|
21
30
|
</List>
|
|
22
31
|
</>
|
|
23
32
|
);
|
package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx
CHANGED
|
@@ -20,11 +20,13 @@ import {
|
|
|
20
20
|
import { ExternalPlaformIds, ExternalPlatformLabels, ExternalPlatformLinks } from './constants';
|
|
21
21
|
import { PlatformType, SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
GetFeatureDisabledReason,
|
|
24
|
+
GetFeatureSupportLevel,
|
|
24
25
|
NewFeatureSupportLevelMap,
|
|
25
26
|
useNewFeatureSupportLevel,
|
|
26
27
|
} from '../../../../common/components/newFeatureSupportLevels';
|
|
27
28
|
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
29
|
+
import { useFeature } from '../../../hooks/use-feature';
|
|
28
30
|
|
|
29
31
|
const INPUT_NAME = 'platform';
|
|
30
32
|
const fieldId = getFieldId(INPUT_NAME, 'input');
|
|
@@ -45,7 +47,7 @@ export type ExternalPlatformInfo = {
|
|
|
45
47
|
|
|
46
48
|
const getDisabledReasonForExternalPlatform = (
|
|
47
49
|
isSNO: boolean,
|
|
48
|
-
|
|
50
|
+
getFeatureDisabledReason: GetFeatureDisabledReason,
|
|
49
51
|
platform: PlatformType,
|
|
50
52
|
featureSupportLevelData?: NewFeatureSupportLevelMap | null,
|
|
51
53
|
cpuArchitecture?: SupportedCpuArchitecture,
|
|
@@ -58,7 +60,7 @@ const getDisabledReasonForExternalPlatform = (
|
|
|
58
60
|
) {
|
|
59
61
|
return `Plaform integration is not supported for Single-Node OpenShift with the selected CPU architecture.`;
|
|
60
62
|
} else {
|
|
61
|
-
return
|
|
63
|
+
return getFeatureDisabledReason(
|
|
62
64
|
ExternalPlaformIds[platform] as FeatureId,
|
|
63
65
|
featureSupportLevelData ?? undefined,
|
|
64
66
|
cpuArchitecture,
|
|
@@ -66,35 +68,47 @@ const getDisabledReasonForExternalPlatform = (
|
|
|
66
68
|
}
|
|
67
69
|
};
|
|
68
70
|
|
|
71
|
+
const isAvailablePlatform = (platform: PlatformType, isDisconnected?: boolean) => {
|
|
72
|
+
if (isDisconnected && platform === 'nutanix') {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
return platform !== undefined;
|
|
76
|
+
};
|
|
77
|
+
|
|
69
78
|
const getExternalPlatformTypes = (
|
|
70
79
|
isSNO: boolean,
|
|
71
|
-
|
|
80
|
+
getFeatureSupportLevel: GetFeatureSupportLevel,
|
|
81
|
+
getFeatureDisabledReason: GetFeatureDisabledReason,
|
|
72
82
|
featureSupportLevelData?: NewFeatureSupportLevelMap | null,
|
|
73
83
|
cpuArchitecture?: SupportedCpuArchitecture,
|
|
84
|
+
isDisconnected?: boolean,
|
|
74
85
|
): Partial<{ [key in PlatformType]: ExternalPlatformInfo }> => {
|
|
75
86
|
const platforms = ['none', 'nutanix', 'external', 'vsphere'] as PlatformType[];
|
|
76
87
|
|
|
77
|
-
|
|
78
|
-
(
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
88
|
+
const newPlatform = platforms
|
|
89
|
+
.filter((platform) => isAvailablePlatform(platform, isDisconnected))
|
|
90
|
+
.reduce(
|
|
91
|
+
(a, platform) => ({
|
|
92
|
+
...a,
|
|
93
|
+
[platform]: {
|
|
94
|
+
label: ExternalPlatformLabels[platform],
|
|
95
|
+
href: ExternalPlatformLinks[platform],
|
|
96
|
+
disabledReason: getDisabledReasonForExternalPlatform(
|
|
97
|
+
isSNO,
|
|
98
|
+
getFeatureDisabledReason,
|
|
99
|
+
platform,
|
|
100
|
+
featureSupportLevelData ?? undefined,
|
|
101
|
+
cpuArchitecture,
|
|
102
|
+
),
|
|
103
|
+
supportLevel: getFeatureSupportLevel(
|
|
104
|
+
ExternalPlaformIds[platform] as FeatureId,
|
|
105
|
+
featureSupportLevelData ?? undefined,
|
|
106
|
+
),
|
|
107
|
+
},
|
|
108
|
+
}),
|
|
109
|
+
{},
|
|
110
|
+
);
|
|
111
|
+
return newPlatform;
|
|
98
112
|
};
|
|
99
113
|
|
|
100
114
|
export const areAllExternalPlatformIntegrationDisabled = (
|
|
@@ -124,30 +138,41 @@ export const ExternalPlatformDropdown = ({
|
|
|
124
138
|
const [externalPlatformTypes, setExternalPlatformTypes] = React.useState<
|
|
125
139
|
Partial<{ [key in PlatformType]: ExternalPlatformInfo }>
|
|
126
140
|
>({});
|
|
141
|
+
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
127
142
|
|
|
128
143
|
const tooltipDropdownDisabled = getReasonForDropdownDisabled(
|
|
129
144
|
isSNO,
|
|
130
145
|
cpuArchitecture ? architectureData[cpuArchitecture].label : '',
|
|
131
146
|
);
|
|
132
147
|
|
|
133
|
-
const handleClick = (event: MouseEvent<HTMLButtonElement>, href: string) => {
|
|
148
|
+
const handleClick = (event: MouseEvent<HTMLButtonElement>, href: string): void => {
|
|
134
149
|
event.stopPropagation(); // Stop event propagation here
|
|
135
150
|
window.open(href, '_blank');
|
|
136
151
|
};
|
|
137
|
-
|
|
152
|
+
|
|
153
|
+
const { getFeatureSupportLevel, getFeatureDisabledReason } = useNewFeatureSupportLevel();
|
|
154
|
+
|
|
138
155
|
React.useEffect(() => {
|
|
139
156
|
// Calculate updated externalPlatformTypes based on the dependencies
|
|
140
157
|
const updatedExternalPlatformTypes = getExternalPlatformTypes(
|
|
141
158
|
isSNO,
|
|
142
|
-
|
|
159
|
+
getFeatureSupportLevel,
|
|
160
|
+
getFeatureDisabledReason,
|
|
143
161
|
featureSupportLevelData,
|
|
144
162
|
cpuArchitecture,
|
|
163
|
+
isSingleClusterFeatureEnabled,
|
|
145
164
|
);
|
|
146
165
|
|
|
147
166
|
// Update the state with the new externalPlatformTypes
|
|
148
167
|
setExternalPlatformTypes(updatedExternalPlatformTypes);
|
|
149
|
-
|
|
150
|
-
|
|
168
|
+
}, [
|
|
169
|
+
featureSupportLevelData,
|
|
170
|
+
cpuArchitecture,
|
|
171
|
+
isSNO,
|
|
172
|
+
isSingleClusterFeatureEnabled,
|
|
173
|
+
getFeatureSupportLevel,
|
|
174
|
+
getFeatureDisabledReason,
|
|
175
|
+
]);
|
|
151
176
|
|
|
152
177
|
const dropdownIsDisabled = React.useMemo(() => {
|
|
153
178
|
return areAllExternalPlatformIntegrationDisabled(externalPlatformTypes);
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
UiIcon,
|
|
23
23
|
} from '../../../../common';
|
|
24
24
|
import { useClusterWizardContext } from '../../clusterWizard/ClusterWizardContext';
|
|
25
|
-
import {
|
|
25
|
+
import { useOpenShiftVersionsContext } from '../../clusterWizard/OpenShiftVersionsContext';
|
|
26
26
|
import { wizardStepNames } from '../../clusterWizard/constants';
|
|
27
27
|
import {
|
|
28
28
|
ClusterWizardStepsType,
|
|
@@ -118,7 +118,7 @@ const getCheckIcon = (validationStatuses: string[]) => {
|
|
|
118
118
|
const PreflightChecksDetailCollapsed = ({ cluster }: { cluster: Cluster }) => {
|
|
119
119
|
const { t } = useTranslation();
|
|
120
120
|
const featureSupportLevelData = useNewFeatureSupportLevel();
|
|
121
|
-
const { isSupportedOpenShiftVersion } =
|
|
121
|
+
const { isSupportedOpenShiftVersion } = useOpenShiftVersionsContext();
|
|
122
122
|
|
|
123
123
|
const { isFullySupported } = React.useMemo<SupportLevelMemo>(
|
|
124
124
|
() => getSupportLevelInfo(cluster, featureSupportLevelData, isSupportedOpenShiftVersion, t),
|
|
@@ -234,7 +234,7 @@ export const getIpIsNotNetworkOrBroadcastAddressSchema = (
|
|
|
234
234
|
(value) => {
|
|
235
235
|
const subnetAddr = getAddressObject(subnet, protocolVersion);
|
|
236
236
|
if (!subnetAddr) {
|
|
237
|
-
return
|
|
237
|
+
return true;
|
|
238
238
|
} else {
|
|
239
239
|
const subnetStart = subnetAddr?.startAddress().correctForm();
|
|
240
240
|
const subnetEnd = subnetAddr?.endAddress().correctForm();
|
package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.tsx
CHANGED
|
@@ -11,7 +11,7 @@ const bondsList = [
|
|
|
11
11
|
{ value: 'balance-rr', label: 'Balance-rr (0)', default: false },
|
|
12
12
|
{ value: 'active-backup', label: 'Active-Backup (1)', default: true },
|
|
13
13
|
{ value: 'balance-xor', label: 'Balance-xor (2)', default: false },
|
|
14
|
-
{ value: '
|
|
14
|
+
{ value: 'broadcase', label: 'Broadcase (3)', default: false },
|
|
15
15
|
{ value: '802.3ad', label: '802.3ad (4)', default: false },
|
|
16
16
|
{ value: 'balance-tlb', label: 'Balance-tlb (5)', default: false },
|
|
17
17
|
{ value: 'balance-alb', label: 'Balance-alb (6)', default: false },
|
|
@@ -18,11 +18,22 @@ const AutosaveWithParentUpdate = <StaticIpFormValues extends object>({
|
|
|
18
18
|
}) => {
|
|
19
19
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
20
20
|
const emptyValues = React.useMemo(() => getEmptyValues(), []);
|
|
21
|
-
const { isSubmitting, isValid, touched, errors, values } =
|
|
21
|
+
const { isSubmitting, isValid, touched, errors, values, initialValues, submitForm } =
|
|
22
|
+
useFormikContext<StaticIpFormValues>();
|
|
23
|
+
|
|
22
24
|
const isEmpty = React.useMemo<boolean>(() => {
|
|
23
25
|
return isEqual(values, emptyValues);
|
|
24
26
|
}, [values, emptyValues]);
|
|
27
|
+
|
|
25
28
|
const isAutoSaveRunning = useFormikAutoSave();
|
|
29
|
+
|
|
30
|
+
React.useEffect(() => {
|
|
31
|
+
if (!isEqual(emptyValues, initialValues)) {
|
|
32
|
+
void submitForm();
|
|
33
|
+
}
|
|
34
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
35
|
+
}, []);
|
|
36
|
+
|
|
26
37
|
React.useEffect(() => {
|
|
27
38
|
onFormStateChange({ isSubmitting, isAutoSaveRunning, isValid, touched, errors, isEmpty });
|
|
28
39
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -89,13 +100,7 @@ export const StaticIpForm = <StaticIpFormValues extends object>({
|
|
|
89
100
|
|
|
90
101
|
const onSubmit = isViewerMode ? () => Promise.resolve() : handleSubmit;
|
|
91
102
|
return (
|
|
92
|
-
<Formik
|
|
93
|
-
initialValues={initialValues}
|
|
94
|
-
onSubmit={onSubmit}
|
|
95
|
-
validate={validate}
|
|
96
|
-
validateOnMount
|
|
97
|
-
enableReinitialize
|
|
98
|
-
>
|
|
103
|
+
<Formik initialValues={initialValues} onSubmit={onSubmit} validate={validate} validateOnMount>
|
|
99
104
|
<Form>
|
|
100
105
|
{children}
|
|
101
106
|
<AutosaveWithParentUpdate<StaticIpFormValues>
|
|
@@ -28,7 +28,7 @@ import { NewFeatureSupportLevelProvider } from '../featureSupportLevels';
|
|
|
28
28
|
import { usePullSecret } from '../../hooks';
|
|
29
29
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
30
30
|
import { useFeatureDetection } from '../../hooks/use-feature-detection';
|
|
31
|
-
import {
|
|
31
|
+
import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
|
|
32
32
|
import {
|
|
33
33
|
unstable_HistoryRouter as HistoryRouter,
|
|
34
34
|
HistoryRouterProps,
|
|
@@ -147,7 +147,7 @@ const AssistedInstallerDetailCard = ({
|
|
|
147
147
|
|
|
148
148
|
const clusterDetailCard = (
|
|
149
149
|
<AlertsContextProvider>
|
|
150
|
-
<
|
|
150
|
+
<OpenShiftVersionsContextProvider>
|
|
151
151
|
<SentryErrorMonitorContextProvider>
|
|
152
152
|
<ModalDialogsContextProvider>
|
|
153
153
|
<ClusterDefaultConfigurationProvider
|
|
@@ -170,7 +170,7 @@ const AssistedInstallerDetailCard = ({
|
|
|
170
170
|
</ClusterDefaultConfigurationProvider>
|
|
171
171
|
</ModalDialogsContextProvider>
|
|
172
172
|
</SentryErrorMonitorContextProvider>
|
|
173
|
-
</
|
|
173
|
+
</OpenShiftVersionsContextProvider>
|
|
174
174
|
</AlertsContextProvider>
|
|
175
175
|
);
|
|
176
176
|
|
|
@@ -11,7 +11,7 @@ import useInfraEnv from '../../hooks/useInfraEnv';
|
|
|
11
11
|
import { usePullSecret } from '../../hooks';
|
|
12
12
|
import { selectCurrentClusterState } from '../../store/slices/current-cluster/selectors';
|
|
13
13
|
import { useFeatureDetection } from '../../hooks/use-feature-detection';
|
|
14
|
-
import {
|
|
14
|
+
import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
|
|
15
15
|
|
|
16
16
|
type AssistedInstallerExtraDetailCardProps = {
|
|
17
17
|
allEnabledFeatures: FeatureListType;
|
|
@@ -58,9 +58,9 @@ const Wrapper: React.FC<AssistedInstallerExtraDetailCardProps> = (props) => {
|
|
|
58
58
|
return (
|
|
59
59
|
<Provider store={storeDay1}>
|
|
60
60
|
<AlertsContextProvider>
|
|
61
|
-
<
|
|
61
|
+
<OpenShiftVersionsContextProvider>
|
|
62
62
|
<AssistedInstallerExtraDetailCard {...props} />
|
|
63
|
-
</
|
|
63
|
+
</OpenShiftVersionsContextProvider>
|
|
64
64
|
</AlertsContextProvider>
|
|
65
65
|
</Provider>
|
|
66
66
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UiIcon, getOpenshiftVersionText } from '../../../common';
|
|
3
|
-
import {
|
|
3
|
+
import { useOpenShiftVersionsContext } from '../clusterWizard/OpenShiftVersionsContext';
|
|
4
4
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
5
5
|
import { Popover, Text, TextContent, TextVariants } from '@patternfly/react-core';
|
|
6
6
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
@@ -28,7 +28,7 @@ const UnsupportedVersion = ({ version }: { version: string }) => {
|
|
|
28
28
|
|
|
29
29
|
const OpenShiftVersionDetail = ({ cluster }: { cluster: Cluster }) => {
|
|
30
30
|
const { openshiftVersion } = cluster;
|
|
31
|
-
const { isSupportedOpenShiftVersion, latestVersions: versions } =
|
|
31
|
+
const { isSupportedOpenShiftVersion, latestVersions: versions } = useOpenShiftVersionsContext();
|
|
32
32
|
const isSupported = isSupportedOpenShiftVersion(openshiftVersion);
|
|
33
33
|
|
|
34
34
|
const version = React.useMemo(() => {
|
|
@@ -8,7 +8,7 @@ import { setServerUpdateError, updateCluster } from '../../store/slices/current-
|
|
|
8
8
|
import { useClusterWizardContext } from './ClusterWizardContext';
|
|
9
9
|
import { canNextClusterDetails, ClusterWizardFlowStateNew } from './wizardTransition';
|
|
10
10
|
import { useManagedDomains, useUsedClusterNames } from '../../hooks';
|
|
11
|
-
import {
|
|
11
|
+
import { useOpenShiftVersionsContext } from './OpenShiftVersionsContext';
|
|
12
12
|
import ClusterDetailsForm from './ClusterDetailsForm';
|
|
13
13
|
import ClusterWizardNavigation from './ClusterWizardNavigation';
|
|
14
14
|
import {
|
|
@@ -36,7 +36,7 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
|
|
|
36
36
|
error: errorOCPVersions,
|
|
37
37
|
loading: loadingOCPVersions,
|
|
38
38
|
latestVersions: versions,
|
|
39
|
-
} =
|
|
39
|
+
} = useOpenShiftVersionsContext();
|
|
40
40
|
const location = useLocation();
|
|
41
41
|
|
|
42
42
|
const handleClusterUpdate = React.useCallback(
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
InfraEnv,
|
|
32
32
|
ManagedDomain,
|
|
33
33
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
34
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
34
35
|
|
|
35
36
|
type ClusterDetailsFormProps = {
|
|
36
37
|
cluster?: Cluster;
|
|
@@ -67,6 +68,7 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
|
|
|
67
68
|
const { search } = useLocation();
|
|
68
69
|
const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
|
|
69
70
|
const { clearAlerts } = useAlerts();
|
|
71
|
+
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
70
72
|
|
|
71
73
|
const handleSubmit = React.useCallback(
|
|
72
74
|
async (values: OcmClusterDetailsValues) => {
|
|
@@ -175,7 +177,11 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
|
|
|
175
177
|
<GridItem span={12} lg={10} xl={9} xl2={7}>
|
|
176
178
|
<OcmClusterDetailsFormFields
|
|
177
179
|
versions={ocpVersions}
|
|
178
|
-
forceOpenshiftVersion={
|
|
180
|
+
forceOpenshiftVersion={
|
|
181
|
+
isSingleClusterFeatureEnabled
|
|
182
|
+
? ocpVersions[0].version
|
|
183
|
+
: cluster?.openshiftVersion
|
|
184
|
+
}
|
|
179
185
|
isPullSecretSet={!!cluster?.pullSecretSet}
|
|
180
186
|
defaultPullSecret={pullSecret}
|
|
181
187
|
isOcm={isInOcm}
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
InfraEnv,
|
|
17
17
|
InfraEnvUpdateParams,
|
|
18
18
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
19
|
+
import KubeconfigDownload from './KubeconfigDownload';
|
|
19
20
|
|
|
20
21
|
type ClusterWizardProps = {
|
|
21
22
|
cluster: Cluster;
|
|
@@ -44,6 +45,8 @@ const ClusterWizard = ({ cluster, infraEnv, updateInfraEnv }: ClusterWizardProps
|
|
|
44
45
|
case 'static-ip-network-wide-configurations':
|
|
45
46
|
case 'static-ip-yaml-view':
|
|
46
47
|
return <StaticIp cluster={cluster} infraEnv={infraEnv} updateInfraEnv={updateInfraEnv} />;
|
|
48
|
+
case 'kubeconfig-download':
|
|
49
|
+
return <KubeconfigDownload cluster={cluster} />;
|
|
47
50
|
case 'cluster-details':
|
|
48
51
|
default:
|
|
49
52
|
return <ClusterDetails cluster={cluster} infraEnv={infraEnv} />;
|
|
@@ -69,8 +69,7 @@ const getWizardStepIds = (
|
|
|
69
69
|
stepsCopy = removeStepFromClusterWizard(stepsCopy, 'custom-manifests', 1);
|
|
70
70
|
}
|
|
71
71
|
if (isSingleClusterFeatureEnabled) {
|
|
72
|
-
|
|
73
|
-
stepsCopy = removeStepFromClusterWizard(stepsCopy, 'operators', 1);
|
|
72
|
+
stepsCopy = addStepToClusterWizard(stepsCopy, 'networking', ['kubeconfig-download']);
|
|
74
73
|
}
|
|
75
74
|
|
|
76
75
|
return stepsCopy;
|
|
@@ -15,6 +15,8 @@ import ClusterWizardStepValidationsAlert from '../../../common/components/cluste
|
|
|
15
15
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
16
16
|
import { onFetchEvents } from '../fetching/fetchEvents';
|
|
17
17
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
18
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
19
|
+
import { useModalDialogsContext } from '../hosts/ModalDialogsContext';
|
|
18
20
|
|
|
19
21
|
type ClusterValidationSectionProps = {
|
|
20
22
|
cluster?: Cluster;
|
|
@@ -82,9 +84,16 @@ const ClusterWizardFooter = ({
|
|
|
82
84
|
}: ClusterWizardFooterProps) => {
|
|
83
85
|
const { alerts } = useAlerts();
|
|
84
86
|
const navigate = useNavigate();
|
|
87
|
+
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
88
|
+
const { currentStepId } = useClusterWizardContext();
|
|
89
|
+
const { resetSingleClusterDialog } = useModalDialogsContext();
|
|
85
90
|
|
|
86
91
|
const handleCancel = React.useCallback(() => navigate('/cluster-list'), [navigate]);
|
|
87
92
|
|
|
93
|
+
const handleReset = React.useCallback(() => {
|
|
94
|
+
resetSingleClusterDialog.open({ cluster });
|
|
95
|
+
}, [resetSingleClusterDialog, cluster]);
|
|
96
|
+
|
|
88
97
|
const alertsSection = alerts.length ? <Alerts /> : undefined;
|
|
89
98
|
|
|
90
99
|
const errorsSection = (
|
|
@@ -100,7 +109,12 @@ const ClusterWizardFooter = ({
|
|
|
100
109
|
<WizardFooter
|
|
101
110
|
alerts={alertsSection}
|
|
102
111
|
errors={errorsSection}
|
|
103
|
-
onCancel={onCancel || handleCancel}
|
|
112
|
+
onCancel={isSingleClusterFeatureEnabled ? undefined : onCancel || handleCancel}
|
|
113
|
+
onReset={
|
|
114
|
+
isSingleClusterFeatureEnabled && currentStepId !== 'cluster-details'
|
|
115
|
+
? handleReset
|
|
116
|
+
: undefined
|
|
117
|
+
}
|
|
104
118
|
leftExtraActions={additionalActions}
|
|
105
119
|
cluster={cluster}
|
|
106
120
|
onFetchEvents={onFetchEvents}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ClusterWizardStep, ClusterWizardStepHeader } from '../../../common';
|
|
3
|
+
import { useClusterWizardContext } from './ClusterWizardContext';
|
|
4
|
+
import ClusterWizardFooter from './ClusterWizardFooter';
|
|
5
|
+
import ClusterWizardNavigation from './ClusterWizardNavigation';
|
|
6
|
+
import { WithErrorBoundary } from '../../../common/components/ErrorHandling/WithErrorBoundary';
|
|
7
|
+
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
8
|
+
import { Checkbox } from '@patternfly/react-core';
|
|
9
|
+
|
|
10
|
+
const KubeconfigDownload: React.FC<{ cluster: Cluster }> = ({ cluster }) => {
|
|
11
|
+
const [isChecked, setIsChecked] = React.useState<boolean>(false);
|
|
12
|
+
const clusterWizardContext = useClusterWizardContext();
|
|
13
|
+
|
|
14
|
+
const footer = (
|
|
15
|
+
<ClusterWizardFooter
|
|
16
|
+
cluster={cluster}
|
|
17
|
+
onNext={() => clusterWizardContext.moveNext()}
|
|
18
|
+
onBack={() => clusterWizardContext.moveBack()}
|
|
19
|
+
isNextDisabled={!isChecked}
|
|
20
|
+
nextButtonText="Download Kubeconfig"
|
|
21
|
+
/>
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
return (
|
|
25
|
+
<ClusterWizardStep navigation={<ClusterWizardNavigation cluster={cluster} />} footer={footer}>
|
|
26
|
+
<WithErrorBoundary title="Failed to load Kubeconfig Download step">
|
|
27
|
+
<ClusterWizardStepHeader>Download Kubeconfig</ClusterWizardStepHeader>
|
|
28
|
+
<Checkbox
|
|
29
|
+
id="Kubeconfig-download-agreement"
|
|
30
|
+
isChecked={isChecked}
|
|
31
|
+
onChange={() => setIsChecked(!isChecked)}
|
|
32
|
+
label="I understand that I need to download Kubeconfig file prior of proceeding with the cluster installation."
|
|
33
|
+
/>
|
|
34
|
+
</WithErrorBoundary>
|
|
35
|
+
</ClusterWizardStep>
|
|
36
|
+
);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export default KubeconfigDownload;
|
|
@@ -8,7 +8,7 @@ import { getKeys } from '../../../common/utils';
|
|
|
8
8
|
const supportedVersionLevels = ['production', 'maintenance'];
|
|
9
9
|
|
|
10
10
|
type OpenShiftVersion = Cluster['openshiftVersion'];
|
|
11
|
-
type
|
|
11
|
+
type OpenShiftVersionsContextType = {
|
|
12
12
|
allVersions: OpenshiftVersionOptionType[];
|
|
13
13
|
latestVersions: OpenshiftVersionOptionType[];
|
|
14
14
|
isSupportedOpenShiftVersion: (version: OpenShiftVersion) => boolean;
|
|
@@ -17,9 +17,9 @@ type OpenshiftVersionsContextType = {
|
|
|
17
17
|
loading: boolean;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const
|
|
20
|
+
const OpenShiftVersionsContext = createContext<OpenShiftVersionsContextType | null>(null);
|
|
21
21
|
|
|
22
|
-
export const
|
|
22
|
+
export const OpenShiftVersionsContextProvider = ({ children }: { children: React.ReactNode }) => {
|
|
23
23
|
const [allVersions, setAllVersions] = React.useState<OpenshiftVersionOptionType[]>([]);
|
|
24
24
|
const [latestVersions, setLatestVersions] = React.useState<OpenshiftVersionOptionType[]>([]);
|
|
25
25
|
const [error, setError] = React.useState<{ title: string; message: string }>();
|
|
@@ -107,7 +107,7 @@ export const OpenshiftVersionsContextProvider = ({ children }: { children: React
|
|
|
107
107
|
);
|
|
108
108
|
|
|
109
109
|
return (
|
|
110
|
-
<
|
|
110
|
+
<OpenShiftVersionsContext.Provider
|
|
111
111
|
value={{
|
|
112
112
|
allVersions,
|
|
113
113
|
latestVersions,
|
|
@@ -118,14 +118,14 @@ export const OpenshiftVersionsContextProvider = ({ children }: { children: React
|
|
|
118
118
|
}}
|
|
119
119
|
>
|
|
120
120
|
{children}
|
|
121
|
-
</
|
|
121
|
+
</OpenShiftVersionsContext.Provider>
|
|
122
122
|
);
|
|
123
123
|
};
|
|
124
124
|
|
|
125
|
-
export const
|
|
126
|
-
const context = React.useContext(
|
|
125
|
+
export const useOpenShiftVersionsContext = () => {
|
|
126
|
+
const context = React.useContext(OpenShiftVersionsContext);
|
|
127
127
|
if (!context) {
|
|
128
|
-
throw new Error('
|
|
128
|
+
throw new Error('useOpenShiftVersionsContext must be used within OpenShiftVersionsContext');
|
|
129
129
|
}
|
|
130
130
|
return context;
|
|
131
131
|
};
|
|
@@ -22,6 +22,11 @@ import {
|
|
|
22
22
|
OPERATOR_NAME_PIPELINES,
|
|
23
23
|
OPERATOR_NAME_SERVERLESS,
|
|
24
24
|
OPERATOR_NAME_SERVICEMESH,
|
|
25
|
+
OPERATOR_NAME_NODE_HEALTHCHECK,
|
|
26
|
+
OPERATOR_NAME_SELF_NODE_REMEDIATION,
|
|
27
|
+
OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
|
|
28
|
+
OPERATOR_NAME_NODE_MAINTENANCE,
|
|
29
|
+
OPERATOR_NAME_KUBE_DESCHEDULER,
|
|
25
30
|
OperatorsValues,
|
|
26
31
|
selectMonitoredOperators,
|
|
27
32
|
useAlerts,
|
|
@@ -60,6 +65,11 @@ export const getOperatorsInitialValues = (
|
|
|
60
65
|
useNvidiaGpu: isOperatorEnabled([OPERATOR_NAME_NVIDIA_GPU]),
|
|
61
66
|
useAmdGpu: isOperatorEnabled([OPERATOR_NAME_AMD_GPU]),
|
|
62
67
|
useKmm: isOperatorEnabled([OPERATOR_NAME_KMM]),
|
|
68
|
+
useNodeHealthcheck: isOperatorEnabled([OPERATOR_NAME_NODE_HEALTHCHECK]),
|
|
69
|
+
useSelfNodeRemediation: isOperatorEnabled([OPERATOR_NAME_SELF_NODE_REMEDIATION]),
|
|
70
|
+
useFenceAgentsRemediation: isOperatorEnabled([OPERATOR_NAME_FENCE_AGENTS_REMEDIATION]),
|
|
71
|
+
useNodeMaintenance: isOperatorEnabled([OPERATOR_NAME_NODE_MAINTENANCE]),
|
|
72
|
+
useKubeDescheduler: isOperatorEnabled([OPERATOR_NAME_KUBE_DESCHEDULER]),
|
|
63
73
|
};
|
|
64
74
|
};
|
|
65
75
|
|