@openshift-assisted/ui-lib 2.38.5 → 2.39.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts +2 -3
- package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts +3 -0
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts +15 -2
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts +1 -2
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts +1 -2
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +8 -7
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts +4 -2
- package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts +17 -0
- package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.d.ts +8 -0
- package/build/@types/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts +16 -0
- package/build/@types/cim/components/ClusterDeployment/components/ValidationSection.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/index.d.ts +1 -2
- package/build/@types/cim/components/ClusterDeployment/index.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -11
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/types.d.ts +7 -9
- package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +8 -2
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/types.d.ts +6 -3
- package/build/@types/cim/components/Hypershift/types.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvAgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts +7 -0
- package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -0
- package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts +2 -1
- package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agents.d.ts +3 -0
- package/build/@types/cim/components/helpers/agents.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts +1 -1
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts +2 -2
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditAgentModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/ScaleUpModal.d.ts +3 -0
- package/build/@types/cim/components/modals/ScaleUpModal.d.ts.map +1 -1
- package/build/@types/common/api/index.d.ts +1 -0
- package/build/@types/common/api/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -2
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/index.d.ts +1 -0
- package/build/@types/common/components/clusterDetail/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/common/components/hosts/EditHostForm.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +4 -2
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -1
- package/build/@types/common/components/ui/{OpenshiftSelectWithSearch.d.ts → OpenShiftSelectWithSearch.d.ts} +3 -3
- package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -0
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +2 -2
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts +12 -0
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -0
- package/build/@types/common/components/ui/WizardFooter.d.ts +1 -0
- package/build/@types/common/components/ui/WizardFooter.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +2 -0
- package/build/@types/common/components/ui/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +20 -0
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +8 -1
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/hooks/index.d.ts +1 -0
- package/build/@types/common/hooks/index.d.ts.map +1 -1
- package/build/@types/common/index.d.ts +1 -0
- package/build/@types/common/index.d.ts.map +1 -1
- package/build/@types/common/types/clusters.d.ts +5 -0
- package/build/@types/common/types/clusters.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/KmmCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/LsoCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/PipelinesChekbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/SupportedOperators.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts +7 -0
- package/build/@types/ocm/components/clusterWizard/KubeconfigDownload.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/{OpenshiftVersionsContext.d.ts → OpenShiftVersionsContext.d.ts} +4 -4
- package/build/@types/ocm/components/clusterWizard/{OpenshiftVersionsContext.d.ts.map → OpenShiftVersionsContext.d.ts.map} +1 -1
- package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/index.d.ts +2 -0
- package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +2 -2
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts +2 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/index.d.ts +3 -0
- package/build/@types/ocm/components/clusters/index.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts +1 -0
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +5 -1
- package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
- package/build/@types/ocm/components/index.d.ts +2 -0
- package/build/@types/ocm/components/index.d.ts.map +1 -1
- package/build/@types/ocm/hooks/index.d.ts +2 -0
- package/build/@types/ocm/hooks/index.d.ts.map +1 -1
- package/build/@types/ocm/index.d.ts +1 -0
- package/build/@types/ocm/index.d.ts.map +1 -1
- package/build/@types/ocm/services/OperatorsService.d.ts +1 -1
- package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js +9 -7
- package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js +40 -14
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js +13 -29
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js +2 -12
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js +50 -26
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js +3 -3
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js +39 -21
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js +58 -27
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js +24 -24
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +26 -42
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.js +12 -8
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js +24 -9
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js +5 -5
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js +50 -0
- package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.js +24 -0
- package/build/cjs/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/components/ValidationSection.js +17 -0
- package/build/cjs/cim/components/ClusterDeployment/components/ValidationSection.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/constants.js +2 -0
- package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/index.js +2 -5
- package/build/cjs/cim/components/ClusterDeployment/index.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +1 -14
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js +6 -4
- package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +2 -12
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/{OpenshiftVersionDropdown.js → InfraEnvOpenShiftVersionDropdown.js} +3 -3
- package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -0
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +14 -19
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/cim/components/helpers/agents.js +19 -1
- package/build/cjs/cim/components/helpers/agents.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +25 -23
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +19 -11
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/modals/EditAgentModal.js +2 -2
- package/build/cjs/cim/components/modals/EditAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/ScaleUpModal.js +3 -2
- package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
- package/build/cjs/common/api/index.js +1 -0
- package/build/cjs/common/api/index.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +11 -9
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/index.js +3 -1
- package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +14 -18
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +4 -4
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/hosts/EditHostForm.js +3 -3
- package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +12 -9
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js +0 -2
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/ui/DeveloperPreview.js +2 -1
- package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -1
- package/build/cjs/common/components/ui/{OpenshiftSelectWithSearch.js → OpenShiftSelectWithSearch.js} +6 -6
- package/build/cjs/common/components/ui/{OpenshiftSelectWithSearch.js.map → OpenShiftSelectWithSearch.js.map} +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.css +9 -0
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +2 -2
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/{ocm/components/clusterConfiguration → common/components/ui}/OpenShiftVersionModal.js +4 -6
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -0
- package/build/cjs/common/components/ui/WizardFooter.js +5 -3
- package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js +3 -2
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +18 -15
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +2 -0
- package/build/cjs/common/components/ui/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +33 -2
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +22 -9
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/hooks/index.js +3 -1
- package/build/cjs/common/hooks/index.js.map +1 -1
- package/build/cjs/common/index.js +1 -0
- package/build/cjs/common/index.js.map +1 -1
- package/build/cjs/common/types/clusters.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js +2 -2
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +2 -2
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +3 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +5 -6
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js +9 -3
- package/build/cjs/ocm/components/clusterConfiguration/operators/KmmCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js +20 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js +9 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +27 -10
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +8 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -2
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +2 -2
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js +3 -0
- package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +1 -2
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +11 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js +21 -0
- package/build/cjs/ocm/components/clusterWizard/KubeconfigDownload.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/{OpenshiftVersionsContext.js → OpenShiftVersionsContext.js} +10 -10
- package/build/cjs/ocm/components/clusterWizard/{OpenshiftVersionsContext.js.map → OpenShiftVersionsContext.js.map} +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js +5 -0
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +24 -15
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/index.js +5 -1
- package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +3 -0
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +7 -9
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -2
- package/build/cjs/ocm/components/clusters/index.js +7 -1
- package/build/cjs/ocm/components/clusters/index.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +2 -2
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +2 -2
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +10 -4
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/hosts/ModalDialogsContext.js +1 -0
- package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
- package/build/cjs/ocm/components/index.js +2 -0
- package/build/cjs/ocm/components/index.js.map +1 -1
- package/build/cjs/ocm/hooks/index.js +5 -1
- package/build/cjs/ocm/hooks/index.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnv.js +2 -2
- package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
- package/build/cjs/ocm/index.js +1 -0
- package/build/cjs/ocm/index.js.map +1 -1
- package/build/cjs/ocm/services/OperatorsService.js +7 -2
- package/build/cjs/ocm/services/OperatorsService.js.map +1 -1
- package/lib/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.tsx +11 -9
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.tsx +85 -19
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.tsx +25 -53
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.tsx +7 -16
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.tsx +102 -59
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.tsx +16 -10
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.tsx +84 -48
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.tsx +106 -54
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.tsx +96 -85
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +109 -119
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.tsx +27 -14
- package/lib/cim/components/ClusterDeployment/ClusterDetailsFormFields.tsx +54 -13
- package/lib/cim/components/ClusterDeployment/NetworkConfiguration.tsx +5 -5
- package/lib/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.tsx +107 -0
- package/lib/cim/components/ClusterDeployment/components/ClusterScaleUpAutoHostsSelection.tsx +49 -0
- package/lib/cim/components/ClusterDeployment/components/ValidationSection.tsx +41 -0
- package/lib/cim/components/ClusterDeployment/constants.ts +3 -1
- package/lib/cim/components/ClusterDeployment/index.ts +1 -3
- package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +1 -26
- package/lib/cim/components/ClusterDeployment/types.ts +7 -10
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +3 -3
- package/lib/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.tsx +4 -2
- package/lib/cim/components/Hypershift/types.ts +6 -3
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +7 -16
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +2 -2
- package/lib/cim/components/InfraEnv/{OpenshiftVersionDropdown.tsx → InfraEnvOpenShiftVersionDropdown.tsx} +2 -2
- package/lib/cim/components/common/CpuArchitectureDropdown.tsx +51 -40
- package/lib/cim/components/helpers/agents.ts +30 -1
- package/lib/cim/components/helpers/toAssisted.ts +12 -8
- package/lib/cim/components/helpers/versions.ts +20 -6
- package/lib/cim/components/modals/EditAgentModal.tsx +2 -1
- package/lib/cim/components/modals/ScaleUpModal.tsx +12 -2
- package/lib/common/api/index.ts +1 -0
- package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +14 -14
- package/lib/common/components/clusterDetail/index.ts +1 -0
- package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +50 -61
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +4 -4
- package/lib/common/components/hosts/EditHostForm.tsx +16 -6
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +10 -4
- package/lib/common/components/newFeatureSupportLevels/types.ts +14 -10
- package/lib/common/components/storage/DisksTable.tsx +0 -2
- package/lib/common/components/ui/DeveloperPreview.tsx +2 -0
- package/lib/common/components/ui/{OpenshiftSelectWithSearch.tsx → OpenShiftSelectWithSearch.tsx} +4 -4
- package/lib/common/components/ui/OpenShiftVersionDropdown.css +9 -0
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +3 -3
- package/lib/{ocm/components/clusterConfiguration → common/components/ui}/OpenShiftVersionModal.tsx +9 -9
- package/lib/common/components/ui/WizardFooter.tsx +26 -10
- package/lib/common/components/ui/formik/RichInputField.tsx +4 -2
- package/lib/common/components/ui/formik/validationSchemas.ts +13 -10
- package/lib/common/components/ui/index.ts +3 -0
- package/lib/common/config/constants.ts +31 -1
- package/lib/common/config/docs_links.ts +37 -7
- package/lib/common/hooks/index.ts +1 -0
- package/lib/common/index.ts +1 -0
- package/lib/common/types/clusters.ts +5 -0
- package/lib/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.tsx +2 -2
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +3 -3
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.tsx +3 -3
- package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +0 -1
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +9 -13
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersion.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +9 -5
- package/lib/ocm/components/clusterConfiguration/operators/AmdGpuCheckbox.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.tsx +3 -7
- package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/FenceAgentsRemediationCheckbox.tsx +71 -0
- package/lib/ocm/components/clusterConfiguration/operators/KmmCheckbox.tsx +9 -8
- package/lib/ocm/components/clusterConfiguration/operators/KubeDeschedulerCheckbox.tsx +66 -0
- package/lib/ocm/components/clusterConfiguration/operators/LsoCheckbox.tsx +2 -7
- package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.tsx +3 -4
- package/lib/ocm/components/clusterConfiguration/operators/NmstateCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.tsx +2 -7
- package/lib/ocm/components/clusterConfiguration/operators/NodeHealthcheckCheckbox.tsx +66 -0
- package/lib/ocm/components/clusterConfiguration/operators/NodeMaintenanceOperatorCheckbox.tsx +66 -0
- package/lib/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAIAmdRequirements.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/OscCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/PipelinesChekbox.tsx +2 -7
- package/lib/ocm/components/clusterConfiguration/operators/SelfNodeRemediationCheckbox.tsx +68 -0
- package/lib/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.tsx +2 -7
- package/lib/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.tsx +2 -7
- package/lib/ocm/components/clusterConfiguration/operators/SupportedOperators.tsx +25 -0
- package/lib/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.tsx +9 -0
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +55 -30
- package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsSelect.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +13 -8
- package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +3 -3
- package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +3 -3
- package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +2 -2
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +2 -2
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +7 -1
- package/lib/ocm/components/clusterWizard/ClusterWizard.tsx +3 -0
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +1 -2
- package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +15 -1
- package/lib/ocm/components/clusterWizard/KubeconfigDownload.tsx +39 -0
- package/lib/ocm/components/clusterWizard/{OpenshiftVersionsContext.tsx → OpenShiftVersionsContext.tsx} +8 -8
- package/lib/ocm/components/clusterWizard/Operators.tsx +10 -0
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +25 -15
- package/lib/ocm/components/clusterWizard/constants.ts +1 -0
- package/lib/ocm/components/clusterWizard/index.ts +2 -0
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +6 -1
- package/lib/ocm/components/clusters/ClusterPage.tsx +16 -13
- package/lib/ocm/components/clusters/NewClusterPage.tsx +3 -3
- package/lib/ocm/components/clusters/index.ts +3 -0
- package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +2 -2
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +2 -2
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +9 -4
- package/lib/ocm/components/hosts/ModalDialogsContext.tsx +8 -1
- package/lib/ocm/components/index.ts +2 -0
- package/lib/ocm/hooks/index.ts +2 -0
- package/lib/ocm/hooks/useInfraEnv.ts +1 -1
- package/lib/ocm/index.ts +1 -0
- package/lib/ocm/services/OperatorsService.tsx +12 -2
- package/package.json +4 -3
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts +0 -10
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts +0 -13
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts +0 -4
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts +0 -7
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts.map +0 -1
- package/build/@types/cim/components/InfraEnv/OpenshiftVersionDropdown.d.ts +0 -7
- package/build/@types/cim/components/InfraEnv/OpenshiftVersionDropdown.d.ts.map +0 -1
- package/build/@types/common/components/ui/OpenshiftSelectWithSearch.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenShiftVersionModal.d.ts +0 -10
- package/build/@types/ocm/components/clusterConfiguration/OpenShiftVersionModal.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts +0 -7
- package/build/@types/ocm/components/clusterDetail/RebootNodeZeroModal.d.ts.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js +0 -31
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.js +0 -50
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.js +0 -35
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.js +0 -9
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.js.map +0 -1
- package/build/cjs/cim/components/InfraEnv/OpenshiftVersionDropdown.js.map +0 -1
- package/build/cjs/common/components/ui/OpenshiftVersionDropdown.css +0 -4
- package/build/cjs/ocm/components/clusterConfiguration/OpenShiftVersionModal.js.map +0 -1
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js +0 -35
- package/build/cjs/ocm/components/clusterDetail/RebootNodeZeroModal.js.map +0 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx +0 -79
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.tsx +0 -128
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.tsx +0 -81
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.tsx +0 -13
- package/lib/common/components/ui/OpenshiftVersionDropdown.css +0 -4
- package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.css +0 -7
- package/lib/ocm/components/clusterDetail/RebootNodeZeroModal.tsx +0 -69
- /package/build/cjs/{ocm/components/clusterConfiguration/OpenshiftVersionModal.css → common/components/ui/OpenShiftVersionModal.css} +0 -0
- /package/lib/{ocm/components/clusterConfiguration/OpenshiftVersionModal.css → common/components/ui/OpenShiftVersionModal.css} +0 -0
package/lib/{ocm/components/clusterConfiguration → common/components/ui}/OpenShiftVersionModal.tsx
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { Button, ButtonVariant, FormGroup, Modal, ModalVariant } from '@patternfly/react-core';
|
|
3
|
-
import './
|
|
4
|
-
import {
|
|
5
|
-
import { useOpenshiftVersionsContext } from '../clusterWizard/OpenshiftVersionsContext';
|
|
6
|
-
import { HelperTextType } from '../../../common/components/ui/OpenShiftVersionDropdown';
|
|
3
|
+
import { OpenShiftSelectWithSearch } from './OpenShiftSelectWithSearch';
|
|
4
|
+
import { HelperTextType } from './OpenShiftVersionDropdown';
|
|
7
5
|
import { useFormikContext } from 'formik';
|
|
8
|
-
import { ClusterDetailsValues, OpenshiftVersionOptionType } from '
|
|
6
|
+
import { ClusterDetailsValues, OpenshiftVersionOptionType } from '../..';
|
|
7
|
+
import './OpenShiftVersionModal.css';
|
|
9
8
|
|
|
10
9
|
type OpenShiftVersionModalProps = {
|
|
10
|
+
allVersions: OpenshiftVersionOptionType[];
|
|
11
11
|
setOpenshiftVersionModalOpen: (isOpen: boolean) => void;
|
|
12
|
-
getHelperText
|
|
12
|
+
getHelperText?: HelperTextType;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
export const OpenShiftVersionModal = ({
|
|
16
|
+
allVersions,
|
|
16
17
|
setOpenshiftVersionModalOpen,
|
|
17
18
|
getHelperText,
|
|
18
19
|
}: OpenShiftVersionModalProps) => {
|
|
19
20
|
const { setFieldValue } = useFormikContext<ClusterDetailsValues>();
|
|
20
|
-
const { allVersions: versions } = useOpenshiftVersionsContext();
|
|
21
21
|
const onClose = () => setOpenshiftVersionModalOpen(false);
|
|
22
22
|
const [customOpenshiftSelect, setCustomOpenshiftSelect] = useState<OpenshiftVersionOptionType>(); // Cambiar el tipo según lo que esperes aquí
|
|
23
23
|
|
|
@@ -50,8 +50,8 @@ export const OpenShiftVersionModal = ({
|
|
|
50
50
|
label={'OpenShift version'}
|
|
51
51
|
isRequired
|
|
52
52
|
>
|
|
53
|
-
<
|
|
54
|
-
versions={
|
|
53
|
+
<OpenShiftSelectWithSearch
|
|
54
|
+
versions={allVersions}
|
|
55
55
|
getHelperText={getHelperText}
|
|
56
56
|
setCustomOpenshiftSelect={setCustomOpenshiftSelect}
|
|
57
57
|
/>
|
|
@@ -20,6 +20,7 @@ export type WizardFooterGenericProps = {
|
|
|
20
20
|
onNext?: () => void;
|
|
21
21
|
onBack?: () => void;
|
|
22
22
|
onCancel?: () => void;
|
|
23
|
+
onReset?: () => void;
|
|
23
24
|
isNextDisabled?: boolean;
|
|
24
25
|
isBackDisabled?: boolean;
|
|
25
26
|
isSubmitting?: boolean;
|
|
@@ -41,6 +42,7 @@ export const WizardFooter: React.FC<WizardFooterProps> = ({
|
|
|
41
42
|
onNext,
|
|
42
43
|
onBack,
|
|
43
44
|
onCancel,
|
|
45
|
+
onReset,
|
|
44
46
|
isNextDisabled,
|
|
45
47
|
isBackDisabled,
|
|
46
48
|
leftExtraActions,
|
|
@@ -83,16 +85,30 @@ export const WizardFooter: React.FC<WizardFooterProps> = ({
|
|
|
83
85
|
</Button>
|
|
84
86
|
</ActionListItem>
|
|
85
87
|
)}
|
|
86
|
-
|
|
87
|
-
<
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
88
|
+
{onCancel && (
|
|
89
|
+
<ActionListItem>
|
|
90
|
+
<Button
|
|
91
|
+
variant={ButtonVariant.link}
|
|
92
|
+
name="cancel"
|
|
93
|
+
onClick={onCancel}
|
|
94
|
+
isDisabled={false}
|
|
95
|
+
>
|
|
96
|
+
{t('ai:Cancel')}
|
|
97
|
+
</Button>
|
|
98
|
+
</ActionListItem>
|
|
99
|
+
)}
|
|
100
|
+
{onReset && cluster && (
|
|
101
|
+
<ActionListItem>
|
|
102
|
+
<Button
|
|
103
|
+
variant={ButtonVariant.link}
|
|
104
|
+
name="reset"
|
|
105
|
+
onClick={onReset}
|
|
106
|
+
isDisabled={isSubmitting}
|
|
107
|
+
>
|
|
108
|
+
{t('ai:Reset')}
|
|
109
|
+
</Button>
|
|
110
|
+
</ActionListItem>
|
|
111
|
+
)}
|
|
96
112
|
{isSubmitting && (
|
|
97
113
|
<ActionListItem>
|
|
98
114
|
<Text component={TextVariants.small}>
|
|
@@ -101,6 +101,7 @@ const RichInputField: React.FC<RichInputFieldPropsProps> = React.forwardRef(
|
|
|
101
101
|
const fieldId = getFieldId(props.name, 'input', idPostfix);
|
|
102
102
|
const isValid = !(touched && error?.length);
|
|
103
103
|
|
|
104
|
+
const errorMessage = isValid ? '' : error[0];
|
|
104
105
|
return (
|
|
105
106
|
<FormGroup
|
|
106
107
|
id={`form-control__${fieldId}`}
|
|
@@ -163,14 +164,15 @@ const RichInputField: React.FC<RichInputFieldPropsProps> = React.forwardRef(
|
|
|
163
164
|
</Popover>
|
|
164
165
|
</InputGroupItem>
|
|
165
166
|
</InputGroup>
|
|
166
|
-
{helperText && (
|
|
167
|
+
{(errorMessage || helperText) && (
|
|
167
168
|
<FormHelperText>
|
|
168
169
|
<HelperText>
|
|
169
170
|
<HelperTextItem
|
|
171
|
+
icon={errorMessage && <ExclamationCircleIcon />}
|
|
170
172
|
variant={isValid ? 'default' : 'error'}
|
|
171
173
|
id={isValid ? `${fieldId}-helper` : `${fieldId}-helper-error`}
|
|
172
174
|
>
|
|
173
|
-
{helperText}
|
|
175
|
+
{errorMessage ? errorMessage : helperText}
|
|
174
176
|
</HelperTextItem>
|
|
175
177
|
</HelperText>
|
|
176
178
|
</FormHelperText>
|
|
@@ -3,6 +3,8 @@ import { Address4, Address6 } from 'ip-address';
|
|
|
3
3
|
import isCIDR from 'is-cidr';
|
|
4
4
|
import { isInSubnet } from 'is-in-subnet';
|
|
5
5
|
import * as Yup from 'yup';
|
|
6
|
+
import { head } from 'lodash-es';
|
|
7
|
+
import parseUrl from 'parse-url';
|
|
6
8
|
|
|
7
9
|
import { TFunction } from 'i18next';
|
|
8
10
|
import {
|
|
@@ -27,7 +29,6 @@ import {
|
|
|
27
29
|
} from './constants';
|
|
28
30
|
import { allSubnetsIPv4, getAddress, trimCommaSeparatedList, trimSshPublicKey } from './utils';
|
|
29
31
|
import { selectApiVip, selectIngressVip } from '../../../selectors';
|
|
30
|
-
import { head } from 'lodash-es';
|
|
31
32
|
import { ClusterDetailsValues } from '../../clusterWizard/types';
|
|
32
33
|
|
|
33
34
|
const ALPHANUMERIC_REGEX = /^[a-zA-Z0-9]+$/;
|
|
@@ -45,10 +46,6 @@ const IP_V4_ZERO = '0.0.0.0';
|
|
|
45
46
|
const IP_V6_ZERO = '0000:0000:0000:0000:0000:0000:0000:0000';
|
|
46
47
|
const MAC_REGEX = /^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$/;
|
|
47
48
|
const HOST_NAME_REGEX = /^[^.]{1,63}(?:[.][^.]{1,63})*$/;
|
|
48
|
-
|
|
49
|
-
// Source of information: https://github.com/metal3-io/baremetal-operator/blob/main/docs/api.md#baremetalhost-spec
|
|
50
|
-
const BMC_REGEX =
|
|
51
|
-
/^((redfish-virtualmedia|idrac-virtualmedia)(\+https?)?:(\/\/([a-z0-9\-._~%!$&'()*+,;=]+@)?([a-z0-9\-._~%]+|\[[a-f0-9:.]+\]|\[v[a-f0-9][a-z0-9\-._~%!$&'()*+,;=:]+\])(:[0-9]+)?(\/[a-z0-9\-._~%!$&'()*+,;=:@]+)*\/?|(\/?[a-z0-9\-._~%!$&'()*+,;=:@]+(\/[a-z0-9\-._~%!$&'()*+,;=:@]+)*\/?)?)|([a-z0-9\-._~%!$&'()*+,;=@]+(\/[a-z0-9\-._~%!$&'()*+,;=:@]+)*\/?|(\/[a-z0-9\-._~%!$&'()*+,;=:@]+)+\/?))(\?[a-z0-9\-._~%!$&'()*+,;=:@/?]*)?(#[a-z0-9\-._~%!$&'()*+,;=:@/?]*)?$/i;
|
|
52
49
|
const LOCATION_CHARS_REGEX = /^[a-zA-Z0-9-._]*$/;
|
|
53
50
|
|
|
54
51
|
export const nameValidationSchema = (
|
|
@@ -318,7 +315,7 @@ export const vipArrayValidationSchema = <T extends Yup.Maybe<Yup.AnyObject>>(
|
|
|
318
315
|
values: NetworkConfigurationValues,
|
|
319
316
|
initialValues?: ApiVip[] | IngressVip[],
|
|
320
317
|
) =>
|
|
321
|
-
(values.
|
|
318
|
+
(values.managedNetworkingType === 'clusterManaged'
|
|
322
319
|
? Yup.array<T>().of(
|
|
323
320
|
Yup.object({
|
|
324
321
|
clusterId: Yup.string(),
|
|
@@ -643,10 +640,16 @@ export const day2ApiVipValidationSchema = Yup.string().test(
|
|
|
643
640
|
export const bmcAddressValidationSchema = (t: TFunction) => {
|
|
644
641
|
const bmcAddressValidationMessagesList = bmcAddressValidationMessages(t);
|
|
645
642
|
|
|
646
|
-
return Yup.string()
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
643
|
+
return Yup.string()
|
|
644
|
+
.required()
|
|
645
|
+
.test('valid-bmc-address', bmcAddressValidationMessagesList.INVALID_VALUE, (val) => {
|
|
646
|
+
try {
|
|
647
|
+
const url = parseUrl(val);
|
|
648
|
+
return ['redfish-virtualmedia', 'idrac-virtualmedia'].includes(url.protocol as string);
|
|
649
|
+
} catch (error) {
|
|
650
|
+
return false;
|
|
651
|
+
}
|
|
652
|
+
});
|
|
650
653
|
};
|
|
651
654
|
export const locationValidationSchema = (t: TFunction) => {
|
|
652
655
|
const locationValidationMessagesList = locationValidationMessages(t);
|
|
@@ -12,6 +12,9 @@ export * from './PreviewBadge';
|
|
|
12
12
|
export * from './TechnologyPreview';
|
|
13
13
|
export * from './DeveloperPreview';
|
|
14
14
|
|
|
15
|
+
export * from './OpenShiftVersionDropdown';
|
|
16
|
+
export * from './OpenShiftVersionModal';
|
|
17
|
+
|
|
15
18
|
export * from './utils';
|
|
16
19
|
|
|
17
20
|
export { default as PopoverIcon } from './PopoverIcon';
|
|
@@ -33,7 +33,7 @@ export const hostRoles = (t: TFunction): HostRole[] => [
|
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
value: 'worker',
|
|
36
|
-
label: t('ai:Worker'),
|
|
36
|
+
label: t('ai:Worker', { count: 1 }),
|
|
37
37
|
description: t(
|
|
38
38
|
'ai:Runs application workloads. Connect at least 5 hosts to enable dedicated workers.',
|
|
39
39
|
),
|
|
@@ -140,6 +140,11 @@ export const hostValidationLabels = (t: TFunction): { [key in HostValidationId]:
|
|
|
140
140
|
'nmstate-requirements-satisfied': '',
|
|
141
141
|
'amd-gpu-requirements-satisfied': t('ai:AMD GPU requirements'),
|
|
142
142
|
'kmm-requirements-satisfied': t('ai:Kernel Module Management requirements'),
|
|
143
|
+
'node-healthcheck-requirements-satisfied': t('ai:Node Healthcheck requirements'),
|
|
144
|
+
'self-node-remediation-requirements-satisfied': t('ai:Self Node Remediation requirements'),
|
|
145
|
+
'fence-agents-remediation-requirements-satisfied': t('ai:Fence Agents Remediation requirements'),
|
|
146
|
+
'node-maintenance-requirements-satisfied': t('ai:Node Maintenance requirements'),
|
|
147
|
+
'kube-descheduler-requirements-satisfied': t('ai:Kube Descheduler requirements'),
|
|
143
148
|
});
|
|
144
149
|
|
|
145
150
|
export const hostValidationFailureHints = (
|
|
@@ -202,6 +207,11 @@ export const hostValidationFailureHints = (
|
|
|
202
207
|
'nmstate-requirements-satisfied': '',
|
|
203
208
|
'amd-gpu-requirements-satisfied': '',
|
|
204
209
|
'kmm-requirements-satisfied': '',
|
|
210
|
+
'node-healthcheck-requirements-satisfied': '',
|
|
211
|
+
'self-node-remediation-requirements-satisfied': '',
|
|
212
|
+
'fence-agents-remediation-requirements-satisfied': '',
|
|
213
|
+
'node-maintenance-requirements-satisfied': '',
|
|
214
|
+
'kube-descheduler-requirements-satisfied': '',
|
|
205
215
|
});
|
|
206
216
|
|
|
207
217
|
export const clusterValidationLabels = (
|
|
@@ -307,6 +317,11 @@ export const OPERATOR_NAME_NMSTATE = 'nmstate';
|
|
|
307
317
|
export const OPERATOR_NAME_AUTHORINO = 'authorino';
|
|
308
318
|
export const OPERATOR_NAME_AMD_GPU = 'amd-gpu';
|
|
309
319
|
export const OPERATOR_NAME_KMM = 'kmm';
|
|
320
|
+
export const OPERATOR_NAME_NODE_HEALTHCHECK = 'node-healthcheck';
|
|
321
|
+
export const OPERATOR_NAME_SELF_NODE_REMEDIATION = 'self-node-remediation';
|
|
322
|
+
export const OPERATOR_NAME_FENCE_AGENTS_REMEDIATION = 'fence-agents-remediation';
|
|
323
|
+
export const OPERATOR_NAME_NODE_MAINTENANCE = 'node-maintenance';
|
|
324
|
+
export const OPERATOR_NAME_KUBE_DESCHEDULER = 'kube-descheduler';
|
|
310
325
|
|
|
311
326
|
const OperatorNames = [
|
|
312
327
|
OPERATOR_NAME_CNV,
|
|
@@ -327,6 +342,11 @@ const OperatorNames = [
|
|
|
327
342
|
OPERATOR_NAME_AUTHORINO,
|
|
328
343
|
OPERATOR_NAME_AMD_GPU,
|
|
329
344
|
OPERATOR_NAME_KMM,
|
|
345
|
+
OPERATOR_NAME_NODE_HEALTHCHECK,
|
|
346
|
+
OPERATOR_NAME_SELF_NODE_REMEDIATION,
|
|
347
|
+
OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
|
|
348
|
+
OPERATOR_NAME_NODE_MAINTENANCE,
|
|
349
|
+
OPERATOR_NAME_KUBE_DESCHEDULER,
|
|
330
350
|
];
|
|
331
351
|
export const ExposedOperatorNames = [
|
|
332
352
|
OPERATOR_NAME_CNV,
|
|
@@ -346,6 +366,11 @@ export const ExposedOperatorNames = [
|
|
|
346
366
|
OPERATOR_NAME_AUTHORINO,
|
|
347
367
|
OPERATOR_NAME_AMD_GPU,
|
|
348
368
|
OPERATOR_NAME_KMM,
|
|
369
|
+
OPERATOR_NAME_NODE_HEALTHCHECK,
|
|
370
|
+
OPERATOR_NAME_SELF_NODE_REMEDIATION,
|
|
371
|
+
OPERATOR_NAME_FENCE_AGENTS_REMEDIATION,
|
|
372
|
+
OPERATOR_NAME_NODE_MAINTENANCE,
|
|
373
|
+
OPERATOR_NAME_KUBE_DESCHEDULER,
|
|
349
374
|
];
|
|
350
375
|
|
|
351
376
|
export type OperatorName = (typeof OperatorNames)[number];
|
|
@@ -393,6 +418,11 @@ export const operatorLabels = (
|
|
|
393
418
|
[OPERATOR_NAME_AUTHORINO]: t('ai:Authorino'),
|
|
394
419
|
[OPERATOR_NAME_AMD_GPU]: t('ai:AMD GPU'),
|
|
395
420
|
[OPERATOR_NAME_KMM]: t('ai:Kernel Module Management'),
|
|
421
|
+
[OPERATOR_NAME_NODE_HEALTHCHECK]: t('ai:Node Healthcheck'),
|
|
422
|
+
[OPERATOR_NAME_SELF_NODE_REMEDIATION]: t('ai:Self Node Remediation'),
|
|
423
|
+
[OPERATOR_NAME_FENCE_AGENTS_REMEDIATION]: t('ai:Fence Agents Remediation'),
|
|
424
|
+
[OPERATOR_NAME_NODE_MAINTENANCE]: t('ai:Node Maintenace'),
|
|
425
|
+
[OPERATOR_NAME_KUBE_DESCHEDULER]: t('ai:Kube Descheduler'),
|
|
396
426
|
};
|
|
397
427
|
};
|
|
398
428
|
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
const DEFAULT_OPENSHIFT_DOCS_VERSION =
|
|
1
|
+
const DEFAULT_OPENSHIFT_DOCS_VERSION = 4.15;
|
|
2
2
|
|
|
3
3
|
export const getShortOpenshiftVersion = (ocpVersion?: string) => {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
if (!ocpVersion) {
|
|
5
|
+
return DEFAULT_OPENSHIFT_DOCS_VERSION;
|
|
6
|
+
}
|
|
7
|
+
const versionXY = Number(ocpVersion.split('.').slice(0, 2).join('.'));
|
|
8
|
+
if (!Number.isFinite(versionXY)) {
|
|
9
|
+
return DEFAULT_OPENSHIFT_DOCS_VERSION;
|
|
10
|
+
}
|
|
11
|
+
return versionXY < 4.14 ? 4.14 : versionXY;
|
|
9
12
|
};
|
|
10
13
|
|
|
11
14
|
export const getYearForAssistedInstallerDocumentationLink = () => {
|
|
@@ -20,6 +23,9 @@ export const OPENSHIFT_LIFE_CYCLE_DATES_LINK =
|
|
|
20
23
|
|
|
21
24
|
export const TECH_SUPPORT_LEVEL_LINK = 'https://access.redhat.com/support/offerings/techpreview';
|
|
22
25
|
|
|
26
|
+
export const DEVELOPER_SUPPORT_LEVEL_LINK =
|
|
27
|
+
'https://access.redhat.com/support/offerings/devpreview';
|
|
28
|
+
|
|
23
29
|
export const CLUSTER_MANAGER_SITE_LINK = 'https://console.redhat.com/openshift/install/pull-secret';
|
|
24
30
|
|
|
25
31
|
export const PULL_SECRET_INFO_LINK = CLUSTER_MANAGER_SITE_LINK;
|
|
@@ -33,7 +39,11 @@ export const getEncryptingDiskDuringInstallationDocsLink = (ocpVersion?: string)
|
|
|
33
39
|
export const getOpenShiftNetworkingDocsLink = (ocpVersion?: string) =>
|
|
34
40
|
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
|
|
35
41
|
ocpVersion,
|
|
36
|
-
)}/html/installing_on_bare_metal
|
|
42
|
+
)}/html/installing_on_bare_metal/${
|
|
43
|
+
getShortOpenshiftVersion(ocpVersion) > 4.17
|
|
44
|
+
? 'user-provisioned-infrastructure'
|
|
45
|
+
: 'installing-bare-metal'
|
|
46
|
+
}#installation-network-user-infra_installing-bare-metal`;
|
|
37
47
|
|
|
38
48
|
export const SSH_GENERATION_DOC_LINK = 'https://www.redhat.com/sysadmin/configure-ssh-keygen';
|
|
39
49
|
|
|
@@ -80,6 +90,9 @@ export const OSC_REQUIREMENTS_LINK =
|
|
|
80
90
|
|
|
81
91
|
export const CNV_LINK = 'https://cloud.redhat.com/learn/topics/virtualization/';
|
|
82
92
|
|
|
93
|
+
export const KMM_LINK =
|
|
94
|
+
'https://docs.redhat.com/en/documentation/openshift_container_platform/4.12/html/specialized_hardware_and_driver_enablement/kernel-module-management-operator';
|
|
95
|
+
|
|
83
96
|
export const ODF_LINK = 'https://www.redhat.com/en/resources/openshift-data-foundation-datasheet';
|
|
84
97
|
|
|
85
98
|
export const getMceDocsLink = (ocpVersion?: string) =>
|
|
@@ -92,6 +105,23 @@ export const getLvmsDocsLink = (ocpVersion?: string) =>
|
|
|
92
105
|
ocpVersion,
|
|
93
106
|
)}/html/storage/configuring-persistent-storage#overview-of-lvm-storage-functionality_ways-to-provision-local-storage`;
|
|
94
107
|
|
|
108
|
+
export const NODE_HEALTHCHECK_LINK =
|
|
109
|
+
'https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/latest/html/remediation_fencing_and_maintenance/node-health-check-operator';
|
|
110
|
+
|
|
111
|
+
export const SELF_NODE_REMEDIATION_LINK =
|
|
112
|
+
'https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/latest/html/remediation_fencing_and_maintenance/self-node-remediation-operator-remediate-nodes';
|
|
113
|
+
|
|
114
|
+
export const FENCE_AGENTS_REMEDIATION_LINK =
|
|
115
|
+
'https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/latest/html/remediation_fencing_and_maintenance/fence-agents-remediation-operator-remediate-nodes';
|
|
116
|
+
|
|
117
|
+
export const NODE_MAINTENANCE_LINK =
|
|
118
|
+
'https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/latest/html/remediation_fencing_and_maintenance/node-maintenance-operator';
|
|
119
|
+
|
|
120
|
+
export const getKubeDeschedulerLink = (ocpVersion?: string) =>
|
|
121
|
+
`https://docs.redhat.com/en/documentation/openshift_container_platform/${getShortOpenshiftVersion(
|
|
122
|
+
ocpVersion,
|
|
123
|
+
)}/html/nodes/controlling-pod-placement-onto-nodes-scheduling#descheduler`;
|
|
124
|
+
|
|
95
125
|
//Others
|
|
96
126
|
export const REDHAT_CONSOLE_OPENSHIFT = 'https://console.redhat.com/openshift';
|
|
97
127
|
|
package/lib/common/index.ts
CHANGED
|
@@ -76,6 +76,11 @@ export type OperatorsValues = V2ClusterUpdateParams & {
|
|
|
76
76
|
useNvidiaGpu: boolean;
|
|
77
77
|
useAmdGpu: boolean;
|
|
78
78
|
useKmm: boolean;
|
|
79
|
+
useNodeHealthcheck: boolean;
|
|
80
|
+
useSelfNodeRemediation: boolean;
|
|
81
|
+
useFenceAgentsRemediation: boolean;
|
|
82
|
+
useNodeMaintenance: boolean;
|
|
83
|
+
useKubeDescheduler: boolean;
|
|
79
84
|
};
|
|
80
85
|
|
|
81
86
|
export type SupportedPlatformType = Extract<PlatformType, 'vsphere' | 'nutanix' | 'external'>;
|
|
@@ -24,7 +24,7 @@ import Day2HostStaticIpConfigurations from './Day2StaticIpHostConfigurations';
|
|
|
24
24
|
import { mapClusterCpuArchToInfraEnvCpuArch } from '../../../services/CpuArchitectureService';
|
|
25
25
|
import CpuArchitectureDropdown from '../../clusterConfiguration/CpuArchitectureDropdown';
|
|
26
26
|
import { usePullSecret } from '../../../hooks';
|
|
27
|
-
import {
|
|
27
|
+
import { useOpenShiftVersionsContext } from '../../clusterWizard/OpenShiftVersionsContext';
|
|
28
28
|
import {
|
|
29
29
|
Cluster,
|
|
30
30
|
InfraEnv,
|
|
@@ -87,7 +87,7 @@ const Day2ClusterDetails = () => {
|
|
|
87
87
|
const [initialValues, setInitialValues] = React.useState<Day2ClusterDetailValues | null>(null);
|
|
88
88
|
const [isSubmitting, setSubmitting] = React.useState(false);
|
|
89
89
|
const [isAlternativeCpuSelected, setIsAlternativeCpuSelected] = React.useState(false);
|
|
90
|
-
const { getCpuArchitectures } =
|
|
90
|
+
const { getCpuArchitectures } = useOpenShiftVersionsContext();
|
|
91
91
|
const cpuArchitecturesByVersionImage = getCpuArchitectures(day2Cluster.openshiftVersion);
|
|
92
92
|
const day1CpuArchitecture = mapClusterCpuArchToInfraEnvCpuArch(day2Cluster.cpuArchitecture);
|
|
93
93
|
const [errorState, setErrorState] = React.useState<Error | null>(null);
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import useInfraEnv from '../../hooks/useInfraEnv';
|
|
24
24
|
import { mapOcmArchToCpuArchitecture } from '../../services/CpuArchitectureService';
|
|
25
25
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
26
|
-
import {
|
|
26
|
+
import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
|
|
27
27
|
|
|
28
28
|
export const HostsClusterDetailTabContent = ({
|
|
29
29
|
cluster: ocmCluster,
|
|
@@ -159,7 +159,7 @@ export const HostsClusterDetailTabContent = ({
|
|
|
159
159
|
ocpConsoleUrl={ocmCluster?.console?.url}
|
|
160
160
|
canEdit={ocmCluster.canEdit}
|
|
161
161
|
>
|
|
162
|
-
<
|
|
162
|
+
<OpenShiftVersionsContextProvider>
|
|
163
163
|
<NewFeatureSupportLevelProvider
|
|
164
164
|
loadingUi={<LoadingState />}
|
|
165
165
|
cluster={day2Cluster}
|
|
@@ -169,7 +169,7 @@ export const HostsClusterDetailTabContent = ({
|
|
|
169
169
|
>
|
|
170
170
|
<AddHosts />
|
|
171
171
|
</NewFeatureSupportLevelProvider>
|
|
172
|
-
</
|
|
172
|
+
</OpenShiftVersionsContextProvider>
|
|
173
173
|
</AddHostsContextProvider>
|
|
174
174
|
);
|
|
175
175
|
};
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import { OcmClusterType } from '../AddHosts';
|
|
17
17
|
import HostsClusterDetailTab from './HostsClusterDetailTab';
|
|
18
18
|
import clustersAPI from '../../../common/api/assisted-service/ClustersAPI';
|
|
19
|
-
import {
|
|
19
|
+
import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
|
|
20
20
|
|
|
21
21
|
const clusterWithoutMetrics = {
|
|
22
22
|
id: 'ocm-cluster-id',
|
|
@@ -78,13 +78,13 @@ export const HostsClusterDetailTabMock = () => {
|
|
|
78
78
|
return (
|
|
79
79
|
<PageSection variant={PageSectionVariants.light} isFilled>
|
|
80
80
|
{tabShown ? (
|
|
81
|
-
<
|
|
81
|
+
<OpenShiftVersionsContextProvider>
|
|
82
82
|
<HostsClusterDetailTab
|
|
83
83
|
cluster={getCluster(tabShown)}
|
|
84
84
|
allEnabledFeatures={STANDALONE_DEPLOYMENT_ENABLED_FEATURES}
|
|
85
85
|
isVisible
|
|
86
86
|
/>
|
|
87
|
-
</
|
|
87
|
+
</OpenShiftVersionsContextProvider>
|
|
88
88
|
) : (
|
|
89
89
|
<Grid hasGutter>
|
|
90
90
|
<ToolbarButton variant={ButtonVariant.primary} onClick={() => onAddHosts('no-metrics')}>
|
|
@@ -30,7 +30,6 @@ const schedulableMastersTooltip =
|
|
|
30
30
|
|
|
31
31
|
const HostInventory = ({ cluster }: { cluster: Cluster }) => {
|
|
32
32
|
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
33
|
-
|
|
34
33
|
const mastersMustRunWorkloads = selectMastersMustRunWorkloads(cluster);
|
|
35
34
|
const { setFieldValue } = useFormikContext<HostDiscoveryValues>();
|
|
36
35
|
const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
|
|
@@ -24,7 +24,7 @@ import CustomManifestCheckbox from './CustomManifestCheckbox';
|
|
|
24
24
|
import CpuArchitectureDropdown from './CpuArchitectureDropdown';
|
|
25
25
|
import { OcmBaseDomainField } from './OcmBaseDomainField';
|
|
26
26
|
import useSupportLevelsAPI from '../../hooks/useSupportLevelsAPI';
|
|
27
|
-
import {
|
|
27
|
+
import { useOpenShiftVersionsContext } from '../clusterWizard/OpenShiftVersionsContext';
|
|
28
28
|
import { ExternalPlatformDropdown } from './platformIntegration/ExternalPlatformDropdown';
|
|
29
29
|
import { HostsNetworkConfigurationType } from '../../services/types';
|
|
30
30
|
import { useNewFeatureSupportLevel } from '../../../common/components/newFeatureSupportLevels';
|
|
@@ -64,7 +64,7 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
64
64
|
const { t } = useTranslation();
|
|
65
65
|
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
66
66
|
const { openshiftVersion, platform } = values;
|
|
67
|
-
const { getCpuArchitectures } =
|
|
67
|
+
const { getCpuArchitectures } = useOpenShiftVersionsContext();
|
|
68
68
|
const cpuArchitecturesByVersionImage = getCpuArchitectures(openshiftVersion);
|
|
69
69
|
const clusterWizardContext = useClusterWizardContext();
|
|
70
70
|
const featureSupportLevelData = useSupportLevelsAPI(
|
|
@@ -133,7 +133,6 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
133
133
|
|
|
134
134
|
<OcmBaseDomainField managedDomains={managedDomains} clusterExists={clusterExists} />
|
|
135
135
|
|
|
136
|
-
{/* TODO(mlibra): For single-cluster: We will probably change this to just a static text */}
|
|
137
136
|
{forceOpenshiftVersion ? (
|
|
138
137
|
<OcmOpenShiftVersion
|
|
139
138
|
versions={versions}
|
|
@@ -145,7 +144,7 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
145
144
|
) : (
|
|
146
145
|
<OcmOpenShiftVersionSelect versions={versions} />
|
|
147
146
|
)}
|
|
148
|
-
{clusterExists ? (
|
|
147
|
+
{clusterExists || isSingleClusterFeatureEnabled ? (
|
|
149
148
|
<StaticTextField name="cpuArchitecture" label="CPU architecture" isRequired>
|
|
150
149
|
{cpuArchitecture}
|
|
151
150
|
</StaticTextField>
|
|
@@ -184,15 +183,12 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
184
183
|
)}
|
|
185
184
|
<CustomManifestCheckbox clusterId={clusterId || ''} isDisabled={platform === 'external'} />
|
|
186
185
|
|
|
187
|
-
{
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
/>
|
|
194
|
-
)
|
|
195
|
-
}
|
|
186
|
+
{!isSingleClusterFeatureEnabled && (
|
|
187
|
+
<HostsNetworkConfigurationControlGroup
|
|
188
|
+
clusterExists={clusterExists}
|
|
189
|
+
isDisabled={platform === 'external'}
|
|
190
|
+
/>
|
|
191
|
+
)}
|
|
196
192
|
|
|
197
193
|
<DiskEncryptionControlGroup
|
|
198
194
|
values={values}
|
|
@@ -23,7 +23,7 @@ const OcmOpenShiftVersion = ({
|
|
|
23
23
|
}: OcmOpenShiftVersionProps) => {
|
|
24
24
|
return (
|
|
25
25
|
<StaticTextField name="openshiftVersion" label="OpenShift version" isRequired>
|
|
26
|
-
|
|
26
|
+
OpenShift{' '}
|
|
27
27
|
{getOpenshiftVersionText({
|
|
28
28
|
openshiftVersion,
|
|
29
29
|
cpuArchitecture: clusterCpuArchitecture as ClusterCpuArchitecture,
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
OpenshiftVersionOptionType,
|
|
5
|
+
ClusterDetailsValues,
|
|
6
|
+
OpenShiftVersionDropdown,
|
|
7
|
+
OpenShiftVersionModal,
|
|
8
|
+
} from '../../../common';
|
|
4
9
|
import { isInOcm } from '../../../common/api';
|
|
5
|
-
import { OpenShiftVersionDropdown } from '../../../common/components/ui/OpenShiftVersionDropdown';
|
|
6
|
-
import { OpenShiftVersionModal } from './OpenShiftVersionModal';
|
|
7
10
|
import { useFormikContext } from 'formik';
|
|
8
11
|
import { getOpenshiftVersionHelperText } from './OpenshiftVersionHelperText';
|
|
9
|
-
import {
|
|
12
|
+
import { useOpenShiftVersionsContext } from '../clusterWizard/OpenShiftVersionsContext';
|
|
10
13
|
|
|
11
14
|
type OcmOpenShiftVersionSelectProps = {
|
|
12
15
|
versions: OpenshiftVersionOptionType[];
|
|
@@ -50,7 +53,7 @@ const OcmOpenShiftVersionSelect = ({ versions }: OcmOpenShiftVersionSelectProps)
|
|
|
50
53
|
return [];
|
|
51
54
|
}, [selectOptions, customOpenshiftSelect]);
|
|
52
55
|
|
|
53
|
-
const { allVersions } =
|
|
56
|
+
const { allVersions } = useOpenShiftVersionsContext();
|
|
54
57
|
|
|
55
58
|
const getHelperText = (value: string | undefined, inModal?: boolean) => {
|
|
56
59
|
return getOpenshiftVersionHelperText(allVersions, value, t, inModal);
|
|
@@ -69,6 +72,7 @@ const OcmOpenShiftVersionSelect = ({ versions }: OcmOpenShiftVersionSelectProps)
|
|
|
69
72
|
/>
|
|
70
73
|
{isOpenshiftVersionModalOpen && (
|
|
71
74
|
<OpenShiftVersionModal
|
|
75
|
+
allVersions={allVersions}
|
|
72
76
|
setOpenshiftVersionModalOpen={setIsOpenshiftVersionModalOpen}
|
|
73
77
|
getHelperText={getHelperText}
|
|
74
78
|
/>
|
|
@@ -17,10 +17,11 @@ const AmdGpuLabel = ({
|
|
|
17
17
|
return (
|
|
18
18
|
<>
|
|
19
19
|
<Tooltip hidden={!disabledReason} content={disabledReason}>
|
|
20
|
-
<span>
|
|
20
|
+
<span>AMD GPU </span>
|
|
21
21
|
</Tooltip>
|
|
22
22
|
<PopoverIcon
|
|
23
23
|
id={AMDGPU_FIELD_NAME}
|
|
24
|
+
headerContent="Additional requirements"
|
|
24
25
|
component={'a'}
|
|
25
26
|
bodyContent={'Requires at least one supported AMD GPU'}
|
|
26
27
|
/>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormGroup, HelperText, HelperTextItem, Tooltip } from '@patternfly/react-core';
|
|
3
|
-
import { AUTHORINO_OPERATOR_LINK, getFieldId
|
|
3
|
+
import { AUTHORINO_OPERATOR_LINK, getFieldId } from '../../../../common';
|
|
4
4
|
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
5
5
|
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
6
6
|
import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
|
|
@@ -18,13 +18,9 @@ const AuthorinoLabel = ({
|
|
|
18
18
|
return (
|
|
19
19
|
<>
|
|
20
20
|
<Tooltip hidden={!disabledReason} content={disabledReason}>
|
|
21
|
-
<span>
|
|
21
|
+
<span>Authorino </span>
|
|
22
22
|
</Tooltip>
|
|
23
|
-
|
|
24
|
-
id={AUTHORINO_FIELD_NAME}
|
|
25
|
-
component={'a'}
|
|
26
|
-
bodyContent={'No additional requirements needed'}
|
|
27
|
-
/>
|
|
23
|
+
|
|
28
24
|
<NewFeatureSupportLevelBadge featureId="AUTHORINO" supportLevel={supportLevel} />
|
|
29
25
|
</>
|
|
30
26
|
);
|