@openshift-assisted/ui-lib 2.38.4 → 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/HostsClusterDetailTab/HostsClusterDetailTabContent.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 +12 -11
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
- 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 +15 -12
- 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
|
@@ -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';
|
|
@@ -40,6 +40,10 @@ type MassDeleteHostDialogProps = {
|
|
|
40
40
|
reloadCluster: VoidFunction;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
+
type ResetSingleClusterDialogProps = {
|
|
44
|
+
cluster?: Cluster;
|
|
45
|
+
};
|
|
46
|
+
|
|
43
47
|
type ModalDialogsDataTypes = {
|
|
44
48
|
eventsDialog: HostIdAndHostname;
|
|
45
49
|
editHostDialog: EditHostProps;
|
|
@@ -53,6 +57,7 @@ type ModalDialogsDataTypes = {
|
|
|
53
57
|
UpdateDay2ApiVipDialog: void;
|
|
54
58
|
massUpdateHostnameDialog: MassUpdateHostnameDialogProps;
|
|
55
59
|
massDeleteHostDialog: MassDeleteHostDialogProps;
|
|
60
|
+
resetSingleClusterDialog: ResetSingleClusterDialogProps;
|
|
56
61
|
};
|
|
57
62
|
|
|
58
63
|
type DialogId =
|
|
@@ -67,7 +72,8 @@ type DialogId =
|
|
|
67
72
|
| 'day2DiscoveryImageDialog'
|
|
68
73
|
| 'UpdateDay2ApiVipDialog'
|
|
69
74
|
| 'massUpdateHostnameDialog'
|
|
70
|
-
| 'massDeleteHostDialog'
|
|
75
|
+
| 'massDeleteHostDialog'
|
|
76
|
+
| 'resetSingleClusterDialog';
|
|
71
77
|
|
|
72
78
|
export type ModalDialogsContextType = {
|
|
73
79
|
[key in DialogId]: {
|
|
@@ -91,6 +97,7 @@ const dialogIds: DialogId[] = [
|
|
|
91
97
|
'UpdateDay2ApiVipDialog',
|
|
92
98
|
'massUpdateHostnameDialog',
|
|
93
99
|
'massDeleteHostDialog',
|
|
100
|
+
'resetSingleClusterDialog',
|
|
94
101
|
];
|
|
95
102
|
|
|
96
103
|
const ModalDialogsContext = React.createContext<ModalDialogsContextType | undefined>(undefined);
|
package/lib/ocm/hooks/index.ts
CHANGED
|
@@ -4,3 +4,5 @@ export { default as useInfraEnvId } from './useInfraEnvId';
|
|
|
4
4
|
export { default as usePullSecret } from './usePullSecret';
|
|
5
5
|
export { default as useClusterPreflightRequirements } from './useClusterPreflightRequirements';
|
|
6
6
|
export { default as useUISettings } from './useUISettings';
|
|
7
|
+
export { default as useInfraEnv } from './useInfraEnv';
|
|
8
|
+
export { useFeatureDetection } from './use-feature-detection';
|
package/lib/ocm/index.ts
CHANGED
|
@@ -18,6 +18,11 @@ import {
|
|
|
18
18
|
OPERATOR_NAME_NVIDIA_GPU,
|
|
19
19
|
OPERATOR_NAME_AMD_GPU,
|
|
20
20
|
OPERATOR_NAME_KMM,
|
|
21
|
+
OPERATOR_NAME_NODE_HEALTHCHECK,
|
|
22
|
+
OPERATOR_NAME_SELF_NODE_REMEDIATION,
|
|
23
|
+
OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
|
|
24
|
+
OPERATOR_NAME_NODE_MAINTENANCE,
|
|
25
|
+
OPERATOR_NAME_KUBE_DESCHEDULER,
|
|
21
26
|
} from '../../common';
|
|
22
27
|
import { getOlmOperatorCreateParamsByName } from '../components/clusters/utils';
|
|
23
28
|
import {
|
|
@@ -56,12 +61,17 @@ const OperatorsService = {
|
|
|
56
61
|
setOperator(OPERATOR_NAME_NVIDIA_GPU, values.useNvidiaGpu);
|
|
57
62
|
setOperator(OPERATOR_NAME_AMD_GPU, values.useAmdGpu);
|
|
58
63
|
setOperator(OPERATOR_NAME_KMM, values.useKmm);
|
|
64
|
+
setOperator(OPERATOR_NAME_NODE_HEALTHCHECK, values.useNodeHealthcheck);
|
|
65
|
+
setOperator(OPERATOR_NAME_SELF_NODE_REMEDIATION, values.useNodeMaintenance);
|
|
66
|
+
setOperator(OPERATOR_NAME_FENCE_AGENTS_REMEDIATION, values.useFenceAgentsRemediation);
|
|
67
|
+
setOperator(OPERATOR_NAME_NODE_MAINTENANCE, values.useNodeMaintenance);
|
|
68
|
+
setOperator(OPERATOR_NAME_KUBE_DESCHEDULER, values.useKubeDescheduler);
|
|
59
69
|
|
|
60
70
|
return Object.values(enabledOlmOperatorsByName);
|
|
61
71
|
},
|
|
62
72
|
|
|
63
73
|
/**
|
|
64
|
-
* Depending on the
|
|
74
|
+
* Depending on the OpenShift version and certain selected operators, the
|
|
65
75
|
* Backend can activate some other operators.
|
|
66
76
|
* We need to synchronise them back to the form
|
|
67
77
|
*/
|
|
@@ -71,7 +81,7 @@ const OperatorsService = {
|
|
|
71
81
|
): Partial<OperatorsValues> {
|
|
72
82
|
const updates: Partial<OperatorsValues> = {};
|
|
73
83
|
|
|
74
|
-
// LVM operator can be automatically selected depending on
|
|
84
|
+
// LVM operator can be automatically selected depending on OpenShift version + other operators
|
|
75
85
|
const lvmPrevInactive = uiOperators?.find((op) => op.name === OPERATOR_NAME_LVM) === undefined;
|
|
76
86
|
const lvmNowActive =
|
|
77
87
|
updatedOperators?.find((op) => op.name === OPERATOR_NAME_LVM) !== undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@openshift-assisted/locales": "2.
|
|
4
|
-
"@openshift-assisted/types": "2.
|
|
3
|
+
"@openshift-assisted/locales": "2.39.0",
|
|
4
|
+
"@openshift-assisted/types": "2.39.0",
|
|
5
5
|
"@openshift-console/dynamic-plugin-sdk": "0.0.3",
|
|
6
6
|
"@patternfly/patternfly": "5.2.0",
|
|
7
7
|
"@patternfly/react-code-editor": "5.2.0",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"is-in-subnet": "^4",
|
|
26
26
|
"js-yaml": "^4.1.0",
|
|
27
27
|
"lodash-es": "^4.17.21",
|
|
28
|
+
"parse-url": "^9.2.0",
|
|
28
29
|
"prism-react-renderer": "^1.1.1",
|
|
29
30
|
"react-error-boundary": "^3.1.4",
|
|
30
31
|
"react-measure": "^2.5.2",
|
|
@@ -139,5 +140,5 @@
|
|
|
139
140
|
]
|
|
140
141
|
}
|
|
141
142
|
},
|
|
142
|
-
"version": "2.
|
|
143
|
+
"version": "2.39.0"
|
|
143
144
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AgentClusterInstallK8sResource } from '../../types';
|
|
3
|
-
type ClusterDeploymentCreateProgressProps = {
|
|
4
|
-
agentClusterInstall: AgentClusterInstallK8sResource;
|
|
5
|
-
toDetails: VoidFunction;
|
|
6
|
-
toListView: VoidFunction;
|
|
7
|
-
};
|
|
8
|
-
declare const ClusterDeploymentCreateProgress: React.FC<ClusterDeploymentCreateProgressProps>;
|
|
9
|
-
export default ClusterDeploymentCreateProgress;
|
|
10
|
-
//# sourceMappingURL=ClusterDeploymentCreateProgress.d.ts.map
|
package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDeploymentCreateProgress.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAO7D,KAAK,oCAAoC,GAAG;IAC1C,mBAAmB,EAAE,8BAA8B,CAAC;IACpD,SAAS,EAAE,YAAY,CAAC;IACxB,UAAU,EAAE,YAAY,CAAC;CAC1B,CAAC;AAEF,QAAA,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC,oCAAoC,CAiDnF,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WizardFooter, WizardFooterGenericProps } from '../../../common';
|
|
3
|
-
import { AgentClusterInstallK8sResource } from '../../types/k8s/agent-cluster-install';
|
|
4
|
-
import { AgentK8sResource } from '../../types/k8s/agent';
|
|
5
|
-
type ClusterDeploymentWizardFooterProps = React.ComponentProps<typeof WizardFooter> & WizardFooterGenericProps & {
|
|
6
|
-
agentClusterInstall?: AgentClusterInstallK8sResource;
|
|
7
|
-
agents?: AgentK8sResource[];
|
|
8
|
-
showClusterErrors?: boolean;
|
|
9
|
-
onSyncError?: VoidFunction;
|
|
10
|
-
};
|
|
11
|
-
declare const ClusterDeploymentWizardFooter: React.FC<ClusterDeploymentWizardFooterProps>;
|
|
12
|
-
export default ClusterDeploymentWizardFooter;
|
|
13
|
-
//# sourceMappingURL=ClusterDeploymentWizardFooter.d.ts.map
|
package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDeploymentWizardFooter.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,YAAY,EAEZ,wBAAwB,EAEzB,MAAM,iBAAiB,CAAC;AAMzB,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAqCzD,KAAK,kCAAkC,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,GACjF,wBAAwB,GAAG;IACzB,mBAAmB,CAAC,EAAE,8BAA8B,CAAC;IACrD,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEJ,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,CAiE/E,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
|
package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDeploymentWizardNavigation.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,QAAA,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAAE,CAAC,EAEjD,CAiEA,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type ClusterDeploymentWizardStepProps = {
|
|
3
|
-
footer: React.ReactNode;
|
|
4
|
-
};
|
|
5
|
-
declare const ClusterDeploymentWizardStep: React.FC<ClusterDeploymentWizardStepProps>;
|
|
6
|
-
export default ClusterDeploymentWizardStep;
|
|
7
|
-
//# sourceMappingURL=ClusterDeploymentWizardStep.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDeploymentWizardStep.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,gCAAgC,GAAG;IACtC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,gCAAgC,CAE3E,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { OsImage } from '../../types';
|
|
3
|
-
declare const OpenshiftVersionDropdown: ({ osImages }: {
|
|
4
|
-
osImages: OsImage[];
|
|
5
|
-
}) => React.JSX.Element;
|
|
6
|
-
export default OpenshiftVersionDropdown;
|
|
7
|
-
//# sourceMappingURL=OpenshiftVersionDropdown.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenshiftVersionDropdown.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/InfraEnv/OpenshiftVersionDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,QAAA,MAAM,wBAAwB;cAA8B,OAAO,EAAE;uBA6DpE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenshiftSelectWithSearch.d.ts","sourceRoot":"","sources":["../../../../../lib/common/components/ui/OpenshiftSelectWithSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAkBxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAG5D,KAAK,8BAA8B,GAAG;IACpC,QAAQ,EAAE,0BAA0B,EAAE,CAAC;IACvC,aAAa,EAAE,cAAc,CAAC;IAC9B,wBAAwB,EAAE,QAAQ,CAAC,cAAc,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC,CAAC;CAC5F,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,iBAAiB,CAAC,8BAA8B,CAyQ7F,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './OpenshiftVersionModal.css';
|
|
3
|
-
import { HelperTextType } from '../../../common/components/ui/OpenShiftVersionDropdown';
|
|
4
|
-
type OpenShiftVersionModalProps = {
|
|
5
|
-
setOpenshiftVersionModalOpen: (isOpen: boolean) => void;
|
|
6
|
-
getHelperText: HelperTextType;
|
|
7
|
-
};
|
|
8
|
-
export declare const OpenShiftVersionModal: ({ setOpenshiftVersionModalOpen, getHelperText, }: OpenShiftVersionModalProps) => React.JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=OpenShiftVersionModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenShiftVersionModal.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OpenShiftVersionModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,6BAA6B,CAAC;AAGrC,OAAO,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AAIxF,KAAK,0BAA0B,GAAG;IAChC,4BAA4B,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxD,aAAa,EAAE,cAAc,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,qDAG/B,0BAA0B,sBA2C5B,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './RebootNodeZeroModal.css';
|
|
3
|
-
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
|
-
export declare const RebootNodeZeroModal: React.FC<{
|
|
5
|
-
cluster: Cluster;
|
|
6
|
-
}>;
|
|
7
|
-
//# sourceMappingURL=RebootNodeZeroModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RebootNodeZeroModal.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAG/E,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CA0D9D,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const React = tslib_1.__importStar(require("react"));
|
|
5
|
-
const check_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/check-circle-icon");
|
|
6
|
-
const global_palette_green_500_1 = require("@patternfly/react-tokens/dist/js/global_palette_green_500");
|
|
7
|
-
const react_core_1 = require("@patternfly/react-core");
|
|
8
|
-
const helpers_1 = require("./helpers");
|
|
9
|
-
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
10
|
-
const GreenCheckCircleIcon = (props) => (React.createElement(check_circle_icon_1.CheckCircleIcon, Object.assign({}, props, { color: global_palette_green_500_1.global_palette_green_500.value })));
|
|
11
|
-
const ClusterDeploymentCreateProgress = ({ agentClusterInstall, toDetails, toListView, }) => {
|
|
12
|
-
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
13
|
-
return (React.createElement(react_core_1.Bullseye, null,
|
|
14
|
-
React.createElement(react_core_1.EmptyState, null,
|
|
15
|
-
(0, helpers_1.isInstallationReady)(agentClusterInstall) ? (React.createElement(React.Fragment, null,
|
|
16
|
-
React.createElement(react_core_1.EmptyStateIcon, { icon: GreenCheckCircleIcon }),
|
|
17
|
-
React.createElement(react_core_1.Title, { headingLevel: "h4", size: "lg" }, t('ai:Cluster is ready for installation')),
|
|
18
|
-
React.createElement(react_core_1.EmptyStateBody, null,
|
|
19
|
-
React.createElement("div", null, t('ai:This cluster has been created and is ready to begin installation.')),
|
|
20
|
-
React.createElement("div", null, t('ai:To see the status of the installation see the details page.'))))) : (React.createElement(React.Fragment, null,
|
|
21
|
-
React.createElement(react_core_1.EmptyStateIcon, { icon: react_core_1.Spinner }),
|
|
22
|
-
React.createElement(react_core_1.Title, { headingLevel: "h4", size: "lg" }, t('ai:Preparing cluster installation')),
|
|
23
|
-
React.createElement(react_core_1.EmptyStateBody, null,
|
|
24
|
-
React.createElement("div", null, t('ai:This cluster is in the process of getting ready to start installation.')),
|
|
25
|
-
React.createElement("div", null, t('ai:If you exit this flow you can see its status in the list view or details page.'))))),
|
|
26
|
-
React.createElement(react_core_1.EmptyStateActions, null,
|
|
27
|
-
React.createElement(react_core_1.Button, { variant: "primary", onClick: toDetails }, t('ai:See cluster details')),
|
|
28
|
-
React.createElement(react_core_1.Button, { variant: "link", onClick: toListView }, t('ai:Go to cluster list'))))));
|
|
29
|
-
};
|
|
30
|
-
exports.default = ClusterDeploymentCreateProgress;
|
|
31
|
-
//# sourceMappingURL=ClusterDeploymentCreateProgress.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDeploymentCreateProgress.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,+FAA0F;AAC1F,wGAAgH;AAChH,uDASgC;AAChC,uCAAgD;AAEhD,2FAA+E;AAE/E,MAAM,oBAAoB,GAAa,CAAC,KAAK,EAAE,EAAE,CAAC,CAChD,oBAAC,mCAAe,oBAAK,KAAK,IAAE,KAAK,EAAE,mDAAO,CAAC,KAAK,IAAI,CACrD,CAAC;AAQF,MAAM,+BAA+B,GAAmD,CAAC,EACvF,mBAAmB,EACnB,SAAS,EACT,UAAU,GACX,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL,oBAAC,qBAAQ;QACP,oBAAC,uBAAU;YACR,IAAA,6BAAmB,EAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAC1C;gBACE,oBAAC,2BAAc,IAAC,IAAI,EAAE,oBAAoB,GAAI;gBAC9C,oBAAC,kBAAK,IAAC,YAAY,EAAC,IAAI,EAAC,IAAI,EAAC,IAAI,IAC/B,CAAC,CAAC,sCAAsC,CAAC,CACpC;gBACR,oBAAC,2BAAc;oBACb,iCAAM,CAAC,CAAC,sEAAsE,CAAC,CAAO;oBACtF,iCAAM,CAAC,CAAC,gEAAgE,CAAC,CAAO,CACjE,CAChB,CACJ,CAAC,CAAC,CAAC,CACF;gBACE,oBAAC,2BAAc,IAAC,IAAI,EAAE,oBAAO,GAAI;gBACjC,oBAAC,kBAAK,IAAC,YAAY,EAAC,IAAI,EAAC,IAAI,EAAC,IAAI,IAC/B,CAAC,CAAC,mCAAmC,CAAC,CACjC;gBACR,oBAAC,2BAAc;oBACb,iCACG,CAAC,CAAC,2EAA2E,CAAC,CAC3E;oBACN,iCACG,CAAC,CACA,mFAAmF,CACpF,CACG,CACS,CAChB,CACJ;YACD,oBAAC,8BAAiB;gBAChB,oBAAC,mBAAM,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,SAAS,IACzC,CAAC,CAAC,wBAAwB,CAAC,CACrB;gBACT,oBAAC,mBAAM,IAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAE,UAAU,IACvC,CAAC,CAAC,uBAAuB,CAAC,CACpB,CACS,CACT,CACJ,CACZ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,+BAA+B,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
|
-
const react_core_1 = require("@patternfly/react-core");
|
|
6
|
-
const common_1 = require("../../../common");
|
|
7
|
-
const ClusterDeploymentWizardContext_1 = tslib_1.__importDefault(require("./ClusterDeploymentWizardContext"));
|
|
8
|
-
const wizardTransition_1 = require("./wizardTransition");
|
|
9
|
-
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
10
|
-
const ValidationsRunningAlert_1 = tslib_1.__importDefault(require("../common/ValidationsRunningAlert"));
|
|
11
|
-
const ValidationSection = ({ currentStepId, clusterStatus, validationsInfo, hosts, children, }) => {
|
|
12
|
-
return (react_1.default.createElement(react_core_1.AlertGroup, null,
|
|
13
|
-
children,
|
|
14
|
-
clusterStatus && (react_1.default.createElement(common_1.ClusterWizardStepValidationsAlert, { currentStepId: currentStepId, clusterStatus: clusterStatus, hosts: hosts, validationsInfo: validationsInfo, wizardStepsValidationsMap: wizardTransition_1.wizardStepsValidationsMap },
|
|
15
|
-
react_1.default.createElement(ValidationsRunningAlert_1.default, null)))));
|
|
16
|
-
};
|
|
17
|
-
const ClusterDeploymentWizardFooter = (_a) => {
|
|
18
|
-
var _b, _c, _d, _e, _f, _g;
|
|
19
|
-
var { agentClusterInstall, agents, showClusterErrors, children, onSyncError, isNextDisabled } = _a, rest = tslib_1.__rest(_a, ["agentClusterInstall", "agents", "showClusterErrors", "children", "onSyncError", "isNextDisabled"]);
|
|
20
|
-
const { alerts } = (0, common_1.useAlerts)();
|
|
21
|
-
const { currentStepId } = react_1.default.useContext(ClusterDeploymentWizardContext_1.default);
|
|
22
|
-
const clusterStatus = showClusterErrors
|
|
23
|
-
? (_c = (_b = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.status) === null || _b === void 0 ? void 0 : _b.debugInfo) === null || _c === void 0 ? void 0 : _c.state
|
|
24
|
-
: undefined;
|
|
25
|
-
const validationsInfo = showClusterErrors
|
|
26
|
-
? (_d = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.status) === null || _d === void 0 ? void 0 : _d.validationsInfo
|
|
27
|
-
: undefined;
|
|
28
|
-
const hosts = react_1.default.useMemo(() => (agents || []).reduce((result, agent) => {
|
|
29
|
-
var _a, _b, _c;
|
|
30
|
-
const status = (_b = (_a = agent.status) === null || _a === void 0 ? void 0 : _a.debugInfo) === null || _b === void 0 ? void 0 : _b.state;
|
|
31
|
-
if (status) {
|
|
32
|
-
result.push({ status, validationsInfo: (_c = agent.status) === null || _c === void 0 ? void 0 : _c.validationsInfo });
|
|
33
|
-
}
|
|
34
|
-
return result;
|
|
35
|
-
}, []), [agents]);
|
|
36
|
-
const syncError = (_g = (_f = (_e = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.status) === null || _e === void 0 ? void 0 : _e.conditions) === null || _f === void 0 ? void 0 : _f.find((c) => c.type === 'SpecSynced' && c.status === 'False')) === null || _g === void 0 ? void 0 : _g.message;
|
|
37
|
-
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
38
|
-
react_1.default.useEffect(() => {
|
|
39
|
-
if (syncError && onSyncError) {
|
|
40
|
-
onSyncError();
|
|
41
|
-
}
|
|
42
|
-
}, [syncError, onSyncError]);
|
|
43
|
-
const alertsSection = alerts.length ? react_1.default.createElement(common_1.Alerts, null) : undefined;
|
|
44
|
-
const errorsSection = (react_1.default.createElement(ValidationSection, { currentStepId: currentStepId, clusterStatus: clusterStatus, validationsInfo: validationsInfo, hosts: hosts },
|
|
45
|
-
syncError && (react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.danger, title: t('ai:An error occured'), isInline: true }, syncError)),
|
|
46
|
-
children));
|
|
47
|
-
return (react_1.default.createElement(common_1.WizardFooter, Object.assign({ alerts: alertsSection, errors: errorsSection, isNextDisabled: isNextDisabled || !!syncError }, rest)));
|
|
48
|
-
};
|
|
49
|
-
exports.default = ClusterDeploymentWizardFooter;
|
|
50
|
-
//# sourceMappingURL=ClusterDeploymentWizardFooter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDeploymentWizardFooter.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAAyE;AACzE,4CAMyB;AACzB,8GAA8E;AAI9E,yDAAuF;AAGvF,2FAA+E;AAC/E,wGAAwE;AAUxE,MAAM,iBAAiB,GAAqC,CAAC,EAC3D,aAAa,EACb,aAAa,EACb,eAAe,EACf,KAAK,EACL,QAAQ,GACT,EAAE,EAAE;IACH,OAAO,CACL,8BAAC,uBAAU;QACR,QAAQ;QACR,aAAa,IAAI,CAChB,8BAAC,0CAAiC,IAChC,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,eAAe,EAChC,yBAAyB,EAAE,4CAAyB;YAEpD,8BAAC,iCAAuB,OAAG,CACO,CACrC,CACU,CACd,CAAC;AACJ,CAAC,CAAC;AAUF,MAAM,6BAA6B,GAAiD,CAAC,EAQpF,EAAE,EAAE;;QARgF,EACnF,mBAAmB,EACnB,MAAM,EACN,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,cAAc,OAEf,EADI,IAAI,sBAP4E,mGAQpF,CADQ;IAEP,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,kBAAS,GAAE,CAAC;IAC/B,MAAM,EAAE,aAAa,EAAE,GAAG,eAAK,CAAC,UAAU,CAAC,wCAA8B,CAAC,CAAC;IAC3E,MAAM,aAAa,GAAG,iBAAiB;QACrC,CAAC,CAAC,MAAA,MAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,MAAM,0CAAE,SAAS,0CAAE,KAAK;QAC/C,CAAC,CAAC,SAAS,CAAC;IACd,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,MAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,MAAM,0CAAE,eAAe;QAC9C,CAAC,CAAC,SAAS,CAAC;IACd,MAAM,KAAK,GAAG,eAAK,CAAC,OAAO,CACzB,GAAG,EAAE,CACH,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,MAAM,CAAmD,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;;QACxF,MAAM,MAAM,GAAG,MAAA,MAAA,KAAK,CAAC,MAAM,0CAAE,SAAS,0CAAE,KAAK,CAAC;QAC9C,IAAI,MAAM,EAAE;YACV,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAA,KAAK,CAAC,MAAM,0CAAE,eAAe,EAAE,CAAC,CAAC;SACzE;QACD,OAAO,MAAM,CAAC;IAChB,CAAC,EAAE,EAAE,CAAC,EACR,CAAC,MAAM,CAAC,CACT,CAAC;IAEF,MAAM,SAAS,GAAG,MAAA,MAAA,MAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,MAAM,0CAAE,UAAU,0CAAE,IAAI,CAC7D,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,YAAY,IAAI,CAAC,CAAC,MAAM,KAAK,OAAO,CACvD,0CAAE,OAAO,CAAC;IAEX,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,SAAS,IAAI,WAAW,EAAE;YAC5B,WAAW,EAAE,CAAC;SACf;IACH,CAAC,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC;IAE7B,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,8BAAC,eAAM,OAAG,CAAC,CAAC,CAAC,SAAS,CAAC;IAC7D,MAAM,aAAa,GAAG,CACpB,8BAAC,iBAAiB,IAChB,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,KAAK;QAEX,SAAS,IAAI,CACZ,8BAAC,kBAAK,IAAC,OAAO,EAAE,yBAAY,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,qBAAqB,CAAC,EAAE,QAAQ,UAC3E,SAAS,CACJ,CACT;QACA,QAAQ,CACS,CACrB,CAAC;IAEF,OAAO,CACL,8BAAC,qBAAY,kBACX,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,aAAa,EACrB,cAAc,EAAE,cAAc,IAAI,CAAC,CAAC,SAAS,IACzC,IAAI,EACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,6BAA6B,CAAC"}
|