@openshift-assisted/ui-lib 2.38.5 → 2.39.0
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/CnvCheckbox.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/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 -3
- 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 +13 -6
- 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 +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 -3
- 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 +13 -5
- 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 +1 -1
- 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
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
|
|
|
@@ -48,8 +48,8 @@ import {
|
|
|
48
48
|
getOpenShiftAIIncompatibleWithLvmsReason,
|
|
49
49
|
} from '../featureSupportLevels/featureStateUtils';
|
|
50
50
|
import OpenshiftAINvidiaRequirements from '../clusterConfiguration/operators/OpenshiftAINvidiaRequirements';
|
|
51
|
-
import OpenshiftAIAmdRequirements from '../clusterConfiguration/operators/OpenshiftAIAmdRequirements';
|
|
52
51
|
import VirtualizationRequirements from '../clusterConfiguration/operators/VirtualizationRequirements';
|
|
52
|
+
import OpenshiftAIAmdRequirements from '../clusterConfiguration/operators/OpenshiftAIAmdRequirements';
|
|
53
53
|
|
|
54
54
|
const operatorsThatCanNotBeInstalledAlone = [
|
|
55
55
|
'nvdia-gpu',
|
|
@@ -58,6 +58,13 @@ const operatorsThatCanNotBeInstalledAlone = [
|
|
|
58
58
|
'serverless',
|
|
59
59
|
'authorino',
|
|
60
60
|
'lso',
|
|
61
|
+
'amd-gpu',
|
|
62
|
+
'nvidia-gpu',
|
|
63
|
+
'node-healthcheck',
|
|
64
|
+
'self-node-remediation',
|
|
65
|
+
'fence-agents-remediation',
|
|
66
|
+
'node-maintenance',
|
|
67
|
+
'kube-descheduler',
|
|
61
68
|
];
|
|
62
69
|
|
|
63
70
|
export const OperatorsStep = (props: ClusterOperatorProps) => {
|
|
@@ -68,7 +75,7 @@ export const OperatorsStep = (props: ClusterOperatorProps) => {
|
|
|
68
75
|
);
|
|
69
76
|
|
|
70
77
|
const [bundles, setBundles] = useState<Bundle[]>([]);
|
|
71
|
-
const [isExpanded, setIsExpanded] = useState(
|
|
78
|
+
const [isExpanded, setIsExpanded] = useState(false);
|
|
72
79
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
73
80
|
const [supportedOperators, setSupportedOperators] = useState<string[]>([]);
|
|
74
81
|
const [searchTerm, setSearchTerm] = useState('');
|
|
@@ -335,7 +342,7 @@ export const OperatorsStep = (props: ClusterOperatorProps) => {
|
|
|
335
342
|
: hasIncompatibleOperators
|
|
336
343
|
? 'Some operators in this bundle can not be installed with some single operators selected.'
|
|
337
344
|
: hasAnotherAIBundleSelected
|
|
338
|
-
? 'This bundle cannot be selected because you already have another
|
|
345
|
+
? 'This bundle cannot be selected because you already have another OpenShift AI bundle selected.'
|
|
339
346
|
: '';
|
|
340
347
|
return (
|
|
341
348
|
<GalleryItem key={bundle.id}>
|
|
@@ -420,11 +427,12 @@ export const OperatorsStep = (props: ClusterOperatorProps) => {
|
|
|
420
427
|
} selected)`}
|
|
421
428
|
onToggle={() => setIsExpanded(!isExpanded)}
|
|
422
429
|
isExpanded={isExpanded}
|
|
430
|
+
data-testid="single-operators-section"
|
|
423
431
|
>
|
|
424
432
|
<Stack hasGutter data-testid={'operators-form'}>
|
|
425
433
|
{supportedOperators.map((operatorKey) => {
|
|
426
434
|
const isOperatorSelected = bundleOperators.includes(operatorKey);
|
|
427
|
-
const
|
|
435
|
+
const isOperatorNotAllowedAlone =
|
|
428
436
|
operatorsThatCanNotBeInstalledAlone.includes(operatorKey);
|
|
429
437
|
const disabledReason = getDisabledReasonForOperator(operatorKey, values);
|
|
430
438
|
const featureSupportLevel = featureSupportLevelData.getFeatureSupportLevel(
|
|
@@ -444,7 +452,7 @@ export const OperatorsStep = (props: ClusterOperatorProps) => {
|
|
|
444
452
|
disabledReason={
|
|
445
453
|
isOperatorSelected
|
|
446
454
|
? 'This operator is part of a bundle and cannot be deselected.'
|
|
447
|
-
:
|
|
455
|
+
: isOperatorNotAllowedAlone
|
|
448
456
|
? 'This operator cannot be installed as a standalone'
|
|
449
457
|
: disabledReason
|
|
450
458
|
}
|
|
@@ -11,6 +11,7 @@ export const wizardStepNames: { [key in ClusterWizardStepsType]: string } = {
|
|
|
11
11
|
networking: 'Networking',
|
|
12
12
|
'custom-manifests': 'Custom manifests',
|
|
13
13
|
review: 'Review and create',
|
|
14
|
+
'kubeconfig-download': 'Download Kubeconfig',
|
|
14
15
|
};
|
|
15
16
|
|
|
16
17
|
export const defaultWizardSteps: ClusterWizardStepsType[] = [
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export { default as ClusterDetailsForm } from './ClusterDetailsForm';
|
|
2
2
|
export { default as NewClusterWizard } from './NewClusterWizard';
|
|
3
|
+
export { default as ClusterWizard } from './ClusterWizard';
|
|
3
4
|
export { default as ClusterWizardContextProvider } from './ClusterWizardContextProvider';
|
|
5
|
+
export { OpenShiftVersionsContextProvider } from './OpenShiftVersionsContext';
|
|
@@ -28,7 +28,8 @@ export type ClusterWizardStepsType =
|
|
|
28
28
|
| 'storage'
|
|
29
29
|
| 'networking'
|
|
30
30
|
| 'review'
|
|
31
|
-
| 'custom-manifests'
|
|
31
|
+
| 'custom-manifests'
|
|
32
|
+
| 'kubeconfig-download';
|
|
32
33
|
|
|
33
34
|
const wizardStepsOrder: ClusterWizardStepsType[] = [
|
|
34
35
|
'cluster-details',
|
|
@@ -40,6 +41,7 @@ const wizardStepsOrder: ClusterWizardStepsType[] = [
|
|
|
40
41
|
'storage',
|
|
41
42
|
'networking',
|
|
42
43
|
'custom-manifests',
|
|
44
|
+
'kubeconfig-download',
|
|
43
45
|
'review',
|
|
44
46
|
];
|
|
45
47
|
|
|
@@ -245,6 +247,8 @@ const reviewStepValidationsMap: WizardStepValidationMap = {
|
|
|
245
247
|
softValidationIds: [],
|
|
246
248
|
};
|
|
247
249
|
|
|
250
|
+
const kubeconfigValidationMap = buildEmptyValidationsMap();
|
|
251
|
+
|
|
248
252
|
const customManifestsValidationsMap = buildEmptyValidationsMap();
|
|
249
253
|
|
|
250
254
|
export const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType> = {
|
|
@@ -258,6 +262,7 @@ export const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardSt
|
|
|
258
262
|
storage: storageStepValidationsMap,
|
|
259
263
|
networking: networkingStepValidationsMap,
|
|
260
264
|
review: reviewStepValidationsMap,
|
|
265
|
+
'kubeconfig-download': kubeconfigValidationMap,
|
|
261
266
|
};
|
|
262
267
|
|
|
263
268
|
export const allClusterWizardSoftValidationIds =
|
|
@@ -33,18 +33,17 @@ import { NewFeatureSupportLevelProvider } from '../featureSupportLevels';
|
|
|
33
33
|
import { usePullSecret } from '../../hooks';
|
|
34
34
|
import { Cluster, InfraEnv } from '@openshift-assisted/types/assisted-installer-service';
|
|
35
35
|
import { AssistedInstallerHeader } from './AssistedInstallerHeader';
|
|
36
|
-
import {
|
|
36
|
+
import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
|
|
37
37
|
|
|
38
38
|
const ClusterPageGeneric = ({
|
|
39
39
|
clusterId,
|
|
40
40
|
showBreadcrumbs = false,
|
|
41
|
+
resetModal,
|
|
41
42
|
}: {
|
|
42
43
|
clusterId: string;
|
|
43
44
|
showBreadcrumbs?: boolean;
|
|
45
|
+
resetModal?: React.ReactNode;
|
|
44
46
|
}) => {
|
|
45
|
-
if (!clusterId) {
|
|
46
|
-
// console.error('ClusterPageGeneric: missing clusterId');
|
|
47
|
-
}
|
|
48
47
|
const fetchCluster = useFetchCluster(clusterId);
|
|
49
48
|
const dispatch = useDispatch();
|
|
50
49
|
const { cluster, uiState, errorDetail } = useClusterPolling(clusterId);
|
|
@@ -72,9 +71,9 @@ const ClusterPageGeneric = ({
|
|
|
72
71
|
};
|
|
73
72
|
return (
|
|
74
73
|
<AddHostsContextProvider cluster={cluster} resetCluster={onReset}>
|
|
75
|
-
<
|
|
74
|
+
<OpenShiftVersionsContextProvider>
|
|
76
75
|
<AddHosts />
|
|
77
|
-
</
|
|
76
|
+
</OpenShiftVersionsContextProvider>
|
|
78
77
|
</AddHostsContextProvider>
|
|
79
78
|
);
|
|
80
79
|
} else if (
|
|
@@ -170,7 +169,7 @@ const ClusterPageGeneric = ({
|
|
|
170
169
|
loadingUI={<ClusterLoading />}
|
|
171
170
|
errorUI={<ClusterUiError />}
|
|
172
171
|
>
|
|
173
|
-
<
|
|
172
|
+
<OpenShiftVersionsContextProvider>
|
|
174
173
|
<NewFeatureSupportLevelProvider
|
|
175
174
|
loadingUi={<ClusterLoading />}
|
|
176
175
|
cluster={cluster}
|
|
@@ -178,17 +177,15 @@ const ClusterPageGeneric = ({
|
|
|
178
177
|
openshiftVersion={cluster.openshiftVersion}
|
|
179
178
|
platformType={cluster.platform?.type}
|
|
180
179
|
>
|
|
181
|
-
{/* TODO(mlibra): Will be reworked within https://issues.redhat.com/browse/AGENT-522
|
|
182
|
-
<RebootNodeZeroModal cluster={cluster} />
|
|
183
|
-
*/}
|
|
184
180
|
{getContent(cluster, infraEnv)}
|
|
185
181
|
{uiState === ResourceUIState.POLLING_ERROR && <ClusterPollingErrorModal />}
|
|
186
182
|
{uiState === ResourceUIState.UPDATE_ERROR && <ClusterUpdateErrorModal />}
|
|
187
183
|
<CancelInstallationModal />
|
|
188
184
|
<ResetClusterModal />
|
|
185
|
+
{resetModal}
|
|
189
186
|
<DiscoveryImageModal />
|
|
190
187
|
</NewFeatureSupportLevelProvider>
|
|
191
|
-
</
|
|
188
|
+
</OpenShiftVersionsContextProvider>
|
|
192
189
|
</ClusterDefaultConfigurationProvider>
|
|
193
190
|
</ModalDialogsContextProvider>
|
|
194
191
|
</SentryErrorMonitorContextProvider>
|
|
@@ -200,9 +197,15 @@ const ClusterPageGeneric = ({
|
|
|
200
197
|
return <Navigate to="/clusters" />;
|
|
201
198
|
};
|
|
202
199
|
|
|
203
|
-
export const SingleClusterPage = ({
|
|
200
|
+
export const SingleClusterPage = ({
|
|
201
|
+
clusterId,
|
|
202
|
+
resetModal,
|
|
203
|
+
}: {
|
|
204
|
+
clusterId: string;
|
|
205
|
+
resetModal: React.ReactNode;
|
|
206
|
+
}) => (
|
|
204
207
|
<AlertsContextProvider>
|
|
205
|
-
<ClusterPageGeneric clusterId={clusterId} />
|
|
208
|
+
<ClusterPageGeneric clusterId={clusterId} resetModal={resetModal} />
|
|
206
209
|
</AlertsContextProvider>
|
|
207
210
|
);
|
|
208
211
|
|
|
@@ -11,7 +11,7 @@ import { ClusterUiError } from './ClusterPageErrors';
|
|
|
11
11
|
import { NewFeatureSupportLevelProvider } from '../featureSupportLevels';
|
|
12
12
|
import { AssistedInstallerHeader } from './AssistedInstallerHeader';
|
|
13
13
|
import { ModalDialogsContextProvider } from '../hosts/ModalDialogsContext';
|
|
14
|
-
import {
|
|
14
|
+
import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
|
|
15
15
|
|
|
16
16
|
const NewClusterPageGeneric = ({ pageTitleSection }: { pageTitleSection?: ReactNode }) => {
|
|
17
17
|
return (
|
|
@@ -22,7 +22,7 @@ const NewClusterPageGeneric = ({ pageTitleSection }: { pageTitleSection?: ReactN
|
|
|
22
22
|
loadingUI={<ClusterLoading />}
|
|
23
23
|
errorUI={<ClusterUiError />}
|
|
24
24
|
>
|
|
25
|
-
<
|
|
25
|
+
<OpenShiftVersionsContextProvider>
|
|
26
26
|
<NewFeatureSupportLevelProvider loadingUi={<ClusterLoading />}>
|
|
27
27
|
{pageTitleSection}
|
|
28
28
|
<PageSection variant={PageSectionVariants.light} isFilled>
|
|
@@ -31,7 +31,7 @@ const NewClusterPageGeneric = ({ pageTitleSection }: { pageTitleSection?: ReactN
|
|
|
31
31
|
</ClusterWizardContextProvider>
|
|
32
32
|
</PageSection>
|
|
33
33
|
</NewFeatureSupportLevelProvider>
|
|
34
|
-
</
|
|
34
|
+
</OpenShiftVersionsContextProvider>
|
|
35
35
|
</ClusterDefaultConfigurationProvider>
|
|
36
36
|
</ModalDialogsContextProvider>
|
|
37
37
|
</SentryErrorMonitorContextProvider>
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { default as Clusters } from './Clusters';
|
|
2
|
+
export { default as ClusterLoading } from './ClusterLoading';
|
|
2
3
|
export { default as ClusterToolbar } from './ClusterToolbar';
|
|
4
|
+
export { ClusterUiError } from './ClusterPageErrors';
|
|
3
5
|
export { default as ClusterStatus, ClusterStatusIcon } from './ClusterStatus';
|
|
4
6
|
|
|
5
7
|
export * from './NewClusterPage';
|
|
6
8
|
export * from './ClusterPage';
|
|
9
|
+
export { useClusterPolling } from './clusterPolling';
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
SupportLevel,
|
|
22
22
|
SupportLevels,
|
|
23
23
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
24
|
-
import {
|
|
24
|
+
import { useOpenShiftVersionsContext } from '../clusterWizard/OpenShiftVersionsContext';
|
|
25
25
|
|
|
26
26
|
export type NewSupportLevelProviderProps = PropsWithChildren<{
|
|
27
27
|
clusterFeatureUsage?: string;
|
|
@@ -44,7 +44,7 @@ export const NewFeatureSupportLevelProvider: React.FC<NewSupportLevelProviderPro
|
|
|
44
44
|
openshiftVersion,
|
|
45
45
|
platformType,
|
|
46
46
|
}) => {
|
|
47
|
-
const { loading: loadingOCPVersions } =
|
|
47
|
+
const { loading: loadingOCPVersions } = useOpenShiftVersionsContext();
|
|
48
48
|
const pullSecret = usePullSecret();
|
|
49
49
|
const { infraEnv, isLoading: isInfraEnvLoading } = useInfraEnv(
|
|
50
50
|
cluster?.id || '',
|
|
@@ -16,7 +16,7 @@ import { DetailItem, UiIcon } from '../../../common';
|
|
|
16
16
|
import { getLimitedFeatureSupportLevels } from '../../../common/components/newFeatureSupportLevels/utils';
|
|
17
17
|
import { WithErrorBoundary } from '../../../common/components/ErrorHandling/WithErrorBoundary';
|
|
18
18
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
19
|
-
import {
|
|
19
|
+
import { useOpenShiftVersionsContext } from '../clusterWizard/OpenShiftVersionsContext';
|
|
20
20
|
import { TFunction } from 'i18next';
|
|
21
21
|
import {
|
|
22
22
|
NewFeatureSupportLevelData,
|
|
@@ -141,7 +141,7 @@ export const getSupportLevelInfo = (
|
|
|
141
141
|
const SupportLevel = ({ cluster }: SupportLevelProps) => {
|
|
142
142
|
const { t } = useTranslation();
|
|
143
143
|
const featureSupportLevelData = useNewFeatureSupportLevel();
|
|
144
|
-
const { isSupportedOpenShiftVersion } =
|
|
144
|
+
const { isSupportedOpenShiftVersion } = useOpenShiftVersionsContext();
|
|
145
145
|
|
|
146
146
|
const { limitedClusterFeatures, hasSupportedVersion, isFullySupported } =
|
|
147
147
|
React.useMemo<SupportLevelMemo>(
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
15
15
|
import { ExternalPlatformLabels } from '../clusterConfiguration/platformIntegration/constants';
|
|
16
16
|
|
|
17
|
-
const CNV_OPERATOR_LABEL = '
|
|
17
|
+
const CNV_OPERATOR_LABEL = 'OpenShift Virtualization';
|
|
18
18
|
const LVMS_OPERATOR_LABEL = 'Logical Volume Manager Storage';
|
|
19
19
|
const LVM_OPERATOR_LABEL = 'Logical Volume Manager';
|
|
20
20
|
const ODF_OPERATOR_LABEL = 'OpenShift Data Foundation';
|