@openshift-assisted/ui-lib 2.15.3-cim → 2.16.1-cim
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/Agent/tableUtils.d.ts +1 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.d.ts → clusterDetails/ACMClusterDeploymentDetailsStep.d.ts} +5 -5
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.d.ts → clusterDetails/ClusterDeploymentDetailsForm.d.ts} +4 -4
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.d.ts → clusterDetails/ClusterDeploymentDetailsStep.d.ts} +5 -5
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDetailsFormFields.d.ts → clusterDetails/ClusterDetailsFormFields.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts +5 -0
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/components/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/components/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts +1 -0
- package/build/@types/cim/components/ClusterDeployment/constants.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts +6 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts +10 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts +12 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/customManifests/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.d.ts → hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.d.ts → hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts +4 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.d.ts → hostSelection/ClusterDeploymentHostSelectionStep.d.ts} +4 -4
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.d.ts → hostSelection/ClusterDeploymentHostsSelection.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.d.ts → hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts} +6 -6
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.d.ts → hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts} +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts +3 -0
- package/build/@types/cim/components/ClusterDeployment/hostSelection/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/index.d.ts +2 -2
- package/build/@types/cim/components/ClusterDeployment/index.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.d.ts → networking/ClusterDeploymentHostsNetworkTable.d.ts} +2 -2
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.d.ts → networking/ClusterDeploymentNetworkingForm.d.ts} +2 -4
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.d.ts → networking/ClusterDeploymentNetworkingStep.d.ts} +4 -4
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/networking/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.d.ts → review/ClusterDeploymentReviewStep.d.ts} +3 -3
- package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts +6 -0
- package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/review/index.d.ts +2 -0
- package/build/@types/cim/components/ClusterDeployment/review/index.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/types.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +2 -2
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/hooks/index.d.ts +2 -0
- package/build/@types/cim/hooks/index.d.ts.map +1 -0
- package/build/@types/cim/hooks/types.d.ts +4 -0
- package/build/@types/cim/hooks/types.d.ts.map +1 -0
- package/build/@types/cim/hooks/useConfigMaps.d.ts +4 -0
- package/build/@types/cim/hooks/useConfigMaps.d.ts.map +1 -0
- package/build/@types/cim/hooks/useK8sWatchResource.d.ts +8 -0
- package/build/@types/cim/hooks/useK8sWatchResource.d.ts.map +1 -0
- package/build/@types/cim/types/index.d.ts +1 -0
- package/build/@types/cim/types/index.d.ts.map +1 -1
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +4 -0
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
- package/build/@types/cim/types/models.d.ts +3 -0
- package/build/@types/cim/types/models.d.ts.map +1 -0
- package/build/@types/cim/utils.d.ts +2 -0
- package/build/@types/cim/utils.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -1
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts +1 -0
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts +14 -0
- package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -0
- package/build/@types/common/components/clusterConfiguration/OcmTNADisclaimer.d.ts +4 -0
- package/build/@types/common/components/clusterConfiguration/OcmTNADisclaimer.d.ts.map +1 -0
- package/build/@types/common/components/clusterConfiguration/index.d.ts +1 -2
- package/build/@types/common/components/clusterConfiguration/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts +1 -4
- package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/types.d.ts +2 -4
- package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
- package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
- package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
- package/build/@types/common/components/hosts/types.d.ts +1 -1
- package/build/@types/common/components/hosts/types.d.ts.map +1 -1
- package/build/@types/common/components/hosts/utils.d.ts +1 -1
- package/build/@types/common/components/hosts/utils.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorDescriptions.d.ts +27 -0
- package/build/@types/common/components/operators/operatorDescriptions.d.ts.map +1 -0
- package/build/@types/common/components/operators/operatorSpecs.d.ts +34 -4
- package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts +1 -2
- package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +3 -3
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts +16 -0
- package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -0
- package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/index.d.ts +1 -1
- package/build/@types/common/components/ui/formik/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +19 -2
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +9 -6
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/selectors/clusterSelectors.d.ts +1 -1
- package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
- package/build/@types/common/types/cpuArchitecture.d.ts.map +1 -1
- package/build/@types/common/types/ui-settings.d.ts +1 -0
- package/build/@types/common/types/ui-settings.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +9 -0
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts +7 -4
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -0
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersion.d.ts +3 -3
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersion.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmSNODisclaimer.d.ts +1 -4
- package/build/@types/ocm/components/clusterConfiguration/OcmSNODisclaimer.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +0 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +4 -2
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/CredentialsDownload.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +2 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +2 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.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/disconnected/BasicStep.d.ts +4 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts +6 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts +4 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +3 -2
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/NewClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/use-hosts-table.d.ts +1 -1
- package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
- package/build/@types/ocm/services/DiskEncryptionService.d.ts +1 -1
- package/build/@types/ocm/services/DiskEncryptionService.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +2 -2
- package/build/cjs/cim/components/Agent/AgentStatus.js +2 -2
- package/build/cjs/cim/components/Agent/AgentStatus.js.map +1 -1
- package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +12 -9
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.js → clusterDetails/ACMClusterDeploymentDetailsStep.js} +6 -5
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ACMClusterDeploymentDetailsStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.js → clusterDetails/ClusterDeploymentDetailsForm.js} +8 -8
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.js → clusterDetails/ClusterDeploymentDetailsStep.js} +9 -12
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDetailsFormFields.js → clusterDetails/ClusterDetailsFormFields.js} +24 -25
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js +8 -0
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.js → components/AdditionalNTPSourcesDialogToggle.js} +1 -1
- package/build/cjs/cim/components/ClusterDeployment/components/AdditionalNTPSourcesDialogToggle.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/components/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/components/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/constants.js +1 -0
- package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +71 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js +64 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js +134 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/customManifests/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.js → hostDiscovery/ClusterDeploymentHostDiscoveryTable.js} +12 -12
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.js → hostDiscovery/ClusterDeploymentHostsDiscovery.js} +6 -6
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.js → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js} +10 -9
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.js → hostSelection/ClusterDeploymentHostSelectionStep.js} +10 -10
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.js → hostSelection/ClusterDeploymentHostsSelection.js} +7 -7
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.js → hostSelection/ClusterDeploymentHostsSelectionAdvanced.js} +7 -6
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.js → hostSelection/ClusterDeploymentHostsSelectionBasic.js} +7 -7
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionBasic.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js +6 -0
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/index.js +4 -4
- package/build/cjs/cim/components/ClusterDeployment/index.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.js → networking/ClusterDeploymentHostsNetworkTable.js} +10 -10
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.js → networking/ClusterDeploymentNetworkingForm.js} +6 -9
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.js → networking/ClusterDeploymentNetworkingStep.js} +10 -10
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/networking/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/networking/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.js → review/ClusterDeploymentReviewStep.js} +21 -16
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js +51 -0
- package/build/cjs/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/review/index.js +5 -0
- package/build/cjs/cim/components/ClusterDeployment/review/index.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +1 -2
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js +1 -0
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +7 -12
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js +0 -28
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js +8 -3
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +2 -2
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +4 -1
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +5 -1
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/modals/EditProxyModal.js +1 -1
- package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js +1 -1
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js +1 -1
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
- package/build/cjs/cim/hooks/index.js +5 -0
- package/build/cjs/cim/hooks/index.js.map +1 -0
- package/build/cjs/cim/hooks/types.js +3 -0
- package/build/cjs/cim/hooks/types.js.map +1 -0
- package/build/cjs/cim/hooks/useConfigMaps.js +12 -0
- package/build/cjs/cim/hooks/useConfigMaps.js.map +1 -0
- package/build/cjs/cim/hooks/useK8sWatchResource.js +12 -0
- package/build/cjs/cim/hooks/useK8sWatchResource.js.map +1 -0
- package/build/cjs/cim/types/index.js +1 -0
- package/build/cjs/cim/types/index.js.map +1 -1
- package/build/cjs/cim/types/models.js +14 -0
- package/build/cjs/cim/types/models.js.map +1 -0
- package/build/cjs/cim/utils.js +12 -1
- package/build/cjs/cim/utils.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +23 -6
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js +11 -6
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js +34 -0
- package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -0
- package/build/cjs/common/components/clusterConfiguration/OcmTNADisclaimer.js +14 -0
- package/build/cjs/common/components/clusterConfiguration/OcmTNADisclaimer.js.map +1 -0
- package/build/cjs/common/components/clusterConfiguration/index.js +2 -5
- package/build/cjs/common/components/clusterConfiguration/index.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +6 -25
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
- package/build/cjs/common/components/fetching/EventListFetch.js +1 -1
- package/build/cjs/common/components/fetching/EventListFetch.js.map +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
- package/build/cjs/common/components/hosts/TableToolbar.js +3 -3
- package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
- package/build/cjs/common/components/hosts/tableUtils.js +1 -1
- package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
- package/build/cjs/common/components/hosts/utils.js +11 -1
- package/build/cjs/common/components/hosts/utils.js.map +1 -1
- package/build/cjs/common/components/operators/operatorDescriptions.js +30 -0
- package/build/cjs/common/components/operators/operatorDescriptions.js.map +1 -0
- package/build/cjs/common/components/operators/operatorSpecs.js +384 -189
- package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js +5 -5
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js +20 -140
- package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +10 -15
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js +8 -12
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js +153 -0
- package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -0
- package/build/cjs/common/components/ui/formik/TextAreaField.js +2 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/index.js +3 -3
- package/build/cjs/common/components/ui/formik/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +25 -5
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +57 -29
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/selectors/clusterSelectors.js +1 -1
- package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
- package/build/cjs/common/types/cpuArchitecture.js +3 -5
- package/build/cjs/common/types/cpuArchitecture.js.map +1 -1
- package/build/cjs/common/utils.js +28 -1
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
- package/build/cjs/ocm/components/Routes.js +10 -8
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +27 -12
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +16 -0
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js +14 -10
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +10 -15
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmSNODisclaimer.js +5 -21
- package/build/cjs/ocm/components/clusterConfiguration/OcmSNODisclaimer.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +4 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +14 -20
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +5 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +8 -5
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +11 -13
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +17 -2
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js +2 -1
- package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +15 -2
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js +4 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +22 -18
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +36 -19
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +13 -3
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js +2 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +40 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js +15 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +63 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +15 -2
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +3 -0
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +2 -0
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +6 -0
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/clusters/NewClusterPage.js +6 -7
- package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/clusterPolling.js +1 -1
- package/build/cjs/ocm/components/clusters/clusterPolling.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +5 -15
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/hosts/use-hosts-table.js +18 -4
- package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
- package/build/cjs/ocm/services/DiskEncryptionService.js +12 -4
- package/build/cjs/ocm/services/DiskEncryptionService.js.map +1 -1
- package/build/cjs/ocm/store/slices/current-cluster/selectors.js +1 -1
- package/build/cjs/ocm/store/slices/current-cluster/selectors.js.map +1 -1
- package/lib/cim/components/Agent/AgentStatus.tsx +1 -1
- package/lib/cim/components/Agent/tableUtils.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +15 -5
- package/lib/cim/components/ClusterDeployment/ScaleUpForm.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/{ACMClusterDeploymentDetailsStep.tsx → clusterDetails/ACMClusterDeploymentDetailsStep.tsx} +6 -8
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsForm.tsx → clusterDetails/ClusterDeploymentDetailsForm.tsx} +17 -11
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentDetailsStep.tsx → clusterDetails/ClusterDeploymentDetailsStep.tsx} +10 -15
- package/lib/cim/components/ClusterDeployment/{ClusterDetailsFormFields.tsx → clusterDetails/ClusterDetailsFormFields.tsx} +36 -56
- package/lib/cim/components/ClusterDeployment/clusterDetails/index.tsx +4 -0
- package/lib/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.tsx → components/AdditionalNTPSourcesDialogToggle.tsx} +1 -1
- package/lib/cim/components/ClusterDeployment/components/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/constants.ts +1 -0
- package/lib/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.tsx +121 -0
- package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.tsx +191 -0
- package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx +247 -0
- package/lib/cim/components/ClusterDeployment/customManifests/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostDiscoveryTable.tsx → hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx} +13 -13
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscovery.tsx → hostDiscovery/ClusterDeploymentHostsDiscovery.tsx} +8 -8
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsDiscoveryStep.tsx → hostDiscovery/ClusterDeploymentHostsDiscoveryStep.tsx} +10 -11
- package/lib/cim/components/ClusterDeployment/hostDiscovery/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostSelectionStep.tsx → hostSelection/ClusterDeploymentHostSelectionStep.tsx} +13 -16
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelection.tsx → hostSelection/ClusterDeploymentHostsSelection.tsx} +7 -7
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionAdvanced.tsx → hostSelection/ClusterDeploymentHostsSelectionAdvanced.tsx} +10 -12
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsSelectionBasic.tsx → hostSelection/ClusterDeploymentHostsSelectionBasic.tsx} +9 -9
- package/lib/cim/components/ClusterDeployment/hostSelection/index.tsx +2 -0
- package/lib/cim/components/ClusterDeployment/index.ts +2 -2
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentHostsNetworkTable.tsx → networking/ClusterDeploymentHostsNetworkTable.tsx} +12 -12
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingForm.tsx → networking/ClusterDeploymentNetworkingForm.tsx} +8 -12
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentNetworkingStep.tsx → networking/ClusterDeploymentNetworkingStep.tsx} +11 -13
- package/lib/cim/components/ClusterDeployment/networking/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/{ClusterDeploymentReviewStep.tsx → review/ClusterDeploymentReviewStep.tsx} +36 -15
- package/lib/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.tsx +70 -0
- package/lib/cim/components/ClusterDeployment/review/index.tsx +1 -0
- package/lib/cim/components/ClusterDeployment/types.ts +1 -0
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +2 -2
- package/lib/cim/components/ClusterDeployment/wizardTransition.ts +2 -0
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +7 -12
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.ts +1 -1
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.tsx +1 -33
- package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +24 -12
- package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +1 -1
- package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +2 -2
- package/lib/cim/components/helpers/toAssisted.ts +9 -1
- package/lib/cim/components/helpers/versions.ts +7 -3
- package/lib/cim/components/modals/EditProxyModal.tsx +1 -1
- package/lib/cim/components/modals/EditSSHKeyModal.tsx +1 -1
- package/lib/cim/components/modals/MassApproveAgentModal.tsx +1 -1
- package/lib/cim/hooks/index.tsx +1 -0
- package/lib/cim/hooks/types.tsx +8 -0
- package/lib/cim/hooks/useConfigMaps.tsx +14 -0
- package/lib/cim/hooks/useK8sWatchResource.tsx +27 -0
- package/lib/cim/types/index.ts +1 -0
- package/lib/cim/types/k8s/agent-cluster-install.ts +2 -0
- package/lib/cim/types/models.tsx +12 -0
- package/lib/cim/utils.ts +12 -0
- package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +61 -31
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx +20 -5
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.ts +1 -0
- package/lib/common/components/clusterConfiguration/ExternalPlatformsDropdown.tsx +74 -0
- package/lib/common/components/clusterConfiguration/OcmTNADisclaimer.tsx +23 -0
- package/lib/common/components/clusterConfiguration/index.ts +1 -2
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +1 -1
- package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +6 -34
- package/lib/common/components/clusterWizard/types.ts +2 -4
- package/lib/common/components/fetching/EventListFetch.tsx +2 -2
- package/lib/common/components/hosts/DiskRole.tsx +0 -1
- package/lib/common/components/hosts/TableToolbar.tsx +9 -10
- package/lib/common/components/hosts/tableUtils.tsx +1 -1
- package/lib/common/components/hosts/types.ts +1 -1
- package/lib/common/components/hosts/utils.ts +13 -2
- package/lib/common/components/newFeatureSupportLevels/types.ts +1 -0
- package/lib/common/components/operators/operatorDescriptions.tsx +70 -0
- package/lib/common/components/operators/operatorSpecs.tsx +505 -261
- package/lib/common/components/ui/ClusterEventsToolbar.tsx +6 -0
- package/lib/common/components/ui/OpenShiftSelectWithSearch.tsx +38 -239
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +14 -23
- package/lib/common/components/ui/OpenShiftVersionModal.tsx +12 -16
- package/lib/common/components/ui/SimpleDropdown.tsx +0 -1
- package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +278 -0
- package/lib/common/components/ui/formik/TextAreaField.tsx +14 -7
- package/lib/common/components/ui/formik/index.tsx +1 -1
- package/lib/common/config/constants.ts +23 -4
- package/lib/common/config/docs_links.ts +76 -41
- package/lib/common/selectors/clusterSelectors.ts +1 -2
- package/lib/common/types/cpuArchitecture.ts +3 -9
- package/lib/common/types/ui-settings.ts +1 -0
- package/lib/common/utils.ts +30 -0
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +2 -2
- package/lib/ocm/components/Routes.tsx +22 -15
- package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +39 -24
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +33 -1
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersion.tsx +18 -11
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +13 -18
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmSNODisclaimer.tsx +14 -60
- package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +1 -0
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +6 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +20 -26
- package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +5 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.tsx +0 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +3 -3
- package/lib/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.ts +1 -1
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +2 -2
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +15 -6
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +18 -15
- package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +4 -2
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +18 -2
- package/lib/ocm/components/clusterWizard/CredentialsDownload.tsx +2 -1
- package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +17 -1
- package/lib/ocm/components/clusterWizard/Operators.tsx +5 -1
- package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +29 -23
- package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +68 -41
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +30 -3
- package/lib/ocm/components/clusterWizard/constants.ts +2 -0
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +81 -0
- package/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx +32 -0
- package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +123 -0
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +18 -2
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +9 -1
- package/lib/ocm/components/clusters/ClusterPage.tsx +3 -0
- package/lib/ocm/components/clusters/Clusters.tsx +10 -0
- package/lib/ocm/components/clusters/ClustersListToolbar.tsx +1 -1
- package/lib/ocm/components/clusters/NewClusterPage.tsx +9 -13
- package/lib/ocm/components/clusters/clusterPolling.ts +2 -2
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +7 -18
- package/lib/ocm/components/hosts/use-hosts-table.tsx +18 -5
- package/lib/ocm/services/DiskEncryptionService.ts +8 -2
- package/lib/ocm/store/slices/current-cluster/selectors.ts +1 -1
- package/package.json +4 -4
- package/build/@types/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +0 -5
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts.map +0 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +0 -1
- package/build/@types/common/components/clusterConfiguration/SNOControlGroup.d.ts +0 -10
- package/build/@types/common/components/clusterConfiguration/SNOControlGroup.d.ts.map +0 -1
- package/build/@types/common/components/clusterConfiguration/SNODisclaimer.d.ts +0 -10
- package/build/@types/common/components/clusterConfiguration/SNODisclaimer.d.ts.map +0 -1
- package/build/@types/common/components/ui/formik/SingleNodeCheckbox.d.ts +0 -9
- package/build/@types/common/components/ui/formik/SingleNodeCheckbox.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.d.ts +0 -11
- package/build/@types/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.d.ts.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.js.map +0 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +0 -1
- package/build/cjs/common/components/clusterConfiguration/SNOControlGroup.js +0 -20
- package/build/cjs/common/components/clusterConfiguration/SNOControlGroup.js.map +0 -1
- package/build/cjs/common/components/clusterConfiguration/SNODisclaimer.js +0 -31
- package/build/cjs/common/components/clusterConfiguration/SNODisclaimer.js.map +0 -1
- package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js +0 -45
- package/build/cjs/common/components/ui/formik/SingleNodeCheckbox.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js +0 -51
- package/build/cjs/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.js.map +0 -1
- package/lib/common/components/clusterConfiguration/SNOControlGroup.tsx +0 -41
- package/lib/common/components/clusterConfiguration/SNODisclaimer.tsx +0 -79
- package/lib/common/components/ui/formik/SingleNodeCheckbox.tsx +0 -98
- package/lib/ocm/components/clusterConfiguration/OcmSingleNodeCheckbox.tsx +0 -107
- /package/build/@types/cim/components/ClusterDeployment/{AdditionalNTPSourcesDialogToggle.d.ts → components/AdditionalNTPSourcesDialogToggle.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Stack, StackItem } from '@patternfly/react-core';
|
|
2
|
+
import { Flex, FlexItem, SearchInput, Stack, StackItem } from '@patternfly/react-core';
|
|
3
3
|
import { Bundle } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
4
|
import {
|
|
5
5
|
ClusterOperatorProps,
|
|
@@ -19,6 +19,7 @@ export const OperatorsStep = ({ cluster }: ClusterOperatorProps) => {
|
|
|
19
19
|
const [bundlesLoading, setBundlesLoading] = React.useState(true);
|
|
20
20
|
const [bundles, setBundles] = React.useState<Bundle[]>([]);
|
|
21
21
|
const { preflightRequirements, isLoading } = useClusterPreflightRequirements(cluster.id);
|
|
22
|
+
const [searchTerm, setSearchTerm] = React.useState('');
|
|
22
23
|
React.useEffect(() => {
|
|
23
24
|
const fetchBundles = async () => {
|
|
24
25
|
try {
|
|
@@ -39,6 +40,12 @@ export const OperatorsStep = ({ cluster }: ClusterOperatorProps) => {
|
|
|
39
40
|
void fetchBundles();
|
|
40
41
|
}, [addAlert]);
|
|
41
42
|
|
|
43
|
+
const filteredBundles = bundles.filter(
|
|
44
|
+
(bundle) =>
|
|
45
|
+
bundle.title?.toLowerCase().includes(searchTerm.toLowerCase()) ||
|
|
46
|
+
bundle.description?.toLowerCase().includes(searchTerm.toLowerCase()),
|
|
47
|
+
);
|
|
48
|
+
|
|
42
49
|
if (isLoading || bundlesLoading) {
|
|
43
50
|
return <LoadingState />;
|
|
44
51
|
}
|
|
@@ -46,16 +53,36 @@ export const OperatorsStep = ({ cluster }: ClusterOperatorProps) => {
|
|
|
46
53
|
return (
|
|
47
54
|
<Stack hasGutter data-testid={'operators-page'}>
|
|
48
55
|
<StackItem>
|
|
49
|
-
<
|
|
56
|
+
<Flex
|
|
57
|
+
justifyContent={{ default: 'justifyContentSpaceBetween' }}
|
|
58
|
+
alignItems={{ default: 'alignItemsCenter' }}
|
|
59
|
+
>
|
|
60
|
+
<FlexItem>
|
|
61
|
+
<ClusterWizardStepHeader>Operators</ClusterWizardStepHeader>
|
|
62
|
+
</FlexItem>
|
|
63
|
+
<FlexItem style={{ minWidth: '300px' }}>
|
|
64
|
+
<SearchInput
|
|
65
|
+
placeholder={'Find bundles or operators'}
|
|
66
|
+
value={searchTerm}
|
|
67
|
+
onChange={(_e, value) => setSearchTerm(value)}
|
|
68
|
+
onClear={() => setSearchTerm('')}
|
|
69
|
+
/>
|
|
70
|
+
</FlexItem>
|
|
71
|
+
</Flex>
|
|
50
72
|
</StackItem>
|
|
51
73
|
<StackItem>
|
|
52
|
-
<OperatorsBundle
|
|
74
|
+
<OperatorsBundle
|
|
75
|
+
bundles={filteredBundles}
|
|
76
|
+
preflightRequirements={preflightRequirements}
|
|
77
|
+
searchTerm={searchTerm}
|
|
78
|
+
/>
|
|
53
79
|
</StackItem>
|
|
54
80
|
<StackItem>
|
|
55
81
|
<OperatorsSelect
|
|
56
82
|
bundles={bundles}
|
|
57
83
|
cluster={cluster}
|
|
58
84
|
preflightRequirements={preflightRequirements}
|
|
85
|
+
searchTerm={searchTerm}
|
|
59
86
|
/>
|
|
60
87
|
</StackItem>
|
|
61
88
|
</Stack>
|
|
@@ -12,6 +12,8 @@ export const wizardStepNames: { [key in ClusterWizardStepsType]: string } = {
|
|
|
12
12
|
'custom-manifests': 'Custom manifests',
|
|
13
13
|
review: 'Review and create',
|
|
14
14
|
'credentials-download': 'Download credentials',
|
|
15
|
+
'disconnected-review': 'Review and download ISO',
|
|
16
|
+
'disconnected-basic': 'Basic information',
|
|
15
17
|
};
|
|
16
18
|
|
|
17
19
|
export const defaultWizardSteps: ClusterWizardStepsType[] = [
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
ClusterWizardStep,
|
|
4
|
+
DeveloperPreview,
|
|
5
|
+
ExternalLink,
|
|
6
|
+
OCP_RELEASES_PAGE,
|
|
7
|
+
StaticTextField,
|
|
8
|
+
useTranslation,
|
|
9
|
+
} from '../../../../common';
|
|
10
|
+
import {
|
|
11
|
+
Split,
|
|
12
|
+
SplitItem,
|
|
13
|
+
TextContent,
|
|
14
|
+
Text,
|
|
15
|
+
TextVariants,
|
|
16
|
+
Grid,
|
|
17
|
+
GridItem,
|
|
18
|
+
Form,
|
|
19
|
+
} from '@patternfly/react-core';
|
|
20
|
+
import { Formik } from 'formik';
|
|
21
|
+
import OcmOpenShiftVersion from '../../clusterConfiguration/OcmOpenShiftVersion';
|
|
22
|
+
import { useClusterWizardContext } from '../ClusterWizardContext';
|
|
23
|
+
import ClusterWizardFooter from '../ClusterWizardFooter';
|
|
24
|
+
import ClusterWizardNavigation from '../ClusterWizardNavigation';
|
|
25
|
+
import { WithErrorBoundary } from '../../../../common/components/ErrorHandling/WithErrorBoundary';
|
|
26
|
+
import InstallDisconnectedSwitch from './InstallDisconnectedSwitch';
|
|
27
|
+
|
|
28
|
+
const BasicStep = () => {
|
|
29
|
+
const { t } = useTranslation();
|
|
30
|
+
const { moveNext } = useClusterWizardContext();
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<Formik
|
|
34
|
+
initialValues={{}}
|
|
35
|
+
onSubmit={() => {
|
|
36
|
+
// nothing to do
|
|
37
|
+
}}
|
|
38
|
+
>
|
|
39
|
+
<ClusterWizardStep
|
|
40
|
+
navigation={<ClusterWizardNavigation />}
|
|
41
|
+
footer={<ClusterWizardFooter onNext={moveNext} />}
|
|
42
|
+
>
|
|
43
|
+
<WithErrorBoundary title="Failed to load Basic step">
|
|
44
|
+
<Grid hasGutter>
|
|
45
|
+
<GridItem>
|
|
46
|
+
<Split>
|
|
47
|
+
<SplitItem>
|
|
48
|
+
<TextContent>
|
|
49
|
+
<Text component={TextVariants.h2}>Basic information</Text>
|
|
50
|
+
</TextContent>
|
|
51
|
+
</SplitItem>
|
|
52
|
+
<SplitItem>
|
|
53
|
+
<DeveloperPreview />
|
|
54
|
+
</SplitItem>
|
|
55
|
+
</Split>
|
|
56
|
+
</GridItem>
|
|
57
|
+
<GridItem>
|
|
58
|
+
<InstallDisconnectedSwitch />
|
|
59
|
+
</GridItem>
|
|
60
|
+
<GridItem>
|
|
61
|
+
<Form id="wizard-cluster-basic-info__form">
|
|
62
|
+
<OcmOpenShiftVersion openshiftVersion="4.19" withPreviewText withMultiText>
|
|
63
|
+
<ExternalLink href={`${window.location.origin}/${OCP_RELEASES_PAGE}`}>
|
|
64
|
+
<span data-ouia-id="openshift-releases-link">
|
|
65
|
+
{t('ai:Learn more about OpenShift releases')}
|
|
66
|
+
</span>
|
|
67
|
+
</ExternalLink>
|
|
68
|
+
</OcmOpenShiftVersion>
|
|
69
|
+
<StaticTextField name="cpuArchitecture" label="CPU architecture" isRequired>
|
|
70
|
+
x86_64
|
|
71
|
+
</StaticTextField>
|
|
72
|
+
</Form>
|
|
73
|
+
</GridItem>
|
|
74
|
+
</Grid>
|
|
75
|
+
</WithErrorBoundary>
|
|
76
|
+
</ClusterWizardStep>
|
|
77
|
+
</Formik>
|
|
78
|
+
);
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export default BasicStep;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Switch, Tooltip } from '@patternfly/react-core';
|
|
3
|
+
import { useClusterWizardContext } from '../ClusterWizardContext';
|
|
4
|
+
import { useTranslation } from '../../../../common';
|
|
5
|
+
|
|
6
|
+
const InstallDisconnectedSwitch = ({ isDisabled }: { isDisabled?: boolean }) => {
|
|
7
|
+
const { t } = useTranslation();
|
|
8
|
+
const { installDisconnected, setInstallDisconnected } = useClusterWizardContext();
|
|
9
|
+
|
|
10
|
+
const switchBtn = (
|
|
11
|
+
<Switch
|
|
12
|
+
id="disconnected-install-switch"
|
|
13
|
+
label={t("ai:I'm installing on a disconnected/air-gapped/secured environment")}
|
|
14
|
+
isChecked={installDisconnected}
|
|
15
|
+
onChange={(_, checked) => setInstallDisconnected(checked)}
|
|
16
|
+
ouiaId="DisconnectedInstall"
|
|
17
|
+
isDisabled={isDisabled}
|
|
18
|
+
/>
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
return isDisabled ? (
|
|
22
|
+
<Tooltip
|
|
23
|
+
content={<div>{t('ai:This option is not editable after the draft cluster is created')}</div>}
|
|
24
|
+
>
|
|
25
|
+
{switchBtn}
|
|
26
|
+
</Tooltip>
|
|
27
|
+
) : (
|
|
28
|
+
switchBtn
|
|
29
|
+
);
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export default InstallDisconnectedSwitch;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import ClusterWizardFooter from '../ClusterWizardFooter';
|
|
3
|
+
import { useClusterWizardContext } from '../ClusterWizardContext';
|
|
4
|
+
import {
|
|
5
|
+
ClusterWizardStep,
|
|
6
|
+
DeveloperPreview,
|
|
7
|
+
PULL_SECRET_INFO_LINK,
|
|
8
|
+
singleClusterOperators,
|
|
9
|
+
} from '../../../../common';
|
|
10
|
+
import ClusterWizardNavigation from '../ClusterWizardNavigation';
|
|
11
|
+
import { WithErrorBoundary } from '../../../../common/components/ErrorHandling/WithErrorBoundary';
|
|
12
|
+
import {
|
|
13
|
+
Split,
|
|
14
|
+
SplitItem,
|
|
15
|
+
Alert,
|
|
16
|
+
Grid,
|
|
17
|
+
Text,
|
|
18
|
+
TextContent,
|
|
19
|
+
TextVariants,
|
|
20
|
+
DescriptionList,
|
|
21
|
+
DescriptionListGroup,
|
|
22
|
+
DescriptionListTerm,
|
|
23
|
+
DescriptionListDescription,
|
|
24
|
+
List,
|
|
25
|
+
ListItem,
|
|
26
|
+
ListComponent,
|
|
27
|
+
OrderType,
|
|
28
|
+
} from '@patternfly/react-core';
|
|
29
|
+
import { Formik } from 'formik';
|
|
30
|
+
import { saveAs } from 'file-saver';
|
|
31
|
+
import { useNavigate } from 'react-router-dom-v5-compat';
|
|
32
|
+
|
|
33
|
+
import { getOperatorSpecs } from '../../../../common/components/operators/operatorSpecs';
|
|
34
|
+
|
|
35
|
+
const downloadUrl =
|
|
36
|
+
'https://mirror.openshift.com/pub/cgw/assisted-installer-disconnected/latest/agent-ove.x86_64.iso';
|
|
37
|
+
|
|
38
|
+
const ReviewStep = () => {
|
|
39
|
+
const { moveBack } = useClusterWizardContext();
|
|
40
|
+
const opSpecs = getOperatorSpecs(() => undefined);
|
|
41
|
+
const navigate = useNavigate();
|
|
42
|
+
|
|
43
|
+
return (
|
|
44
|
+
<Formik
|
|
45
|
+
initialValues={{}}
|
|
46
|
+
onSubmit={() => {
|
|
47
|
+
// nothing to do
|
|
48
|
+
}}
|
|
49
|
+
>
|
|
50
|
+
<ClusterWizardStep
|
|
51
|
+
navigation={<ClusterWizardNavigation />}
|
|
52
|
+
footer={
|
|
53
|
+
<ClusterWizardFooter
|
|
54
|
+
onNext={() => {
|
|
55
|
+
downloadUrl && saveAs(downloadUrl);
|
|
56
|
+
navigate('/cluster-list');
|
|
57
|
+
}}
|
|
58
|
+
onBack={moveBack}
|
|
59
|
+
nextButtonText="Download ISO"
|
|
60
|
+
/>
|
|
61
|
+
}
|
|
62
|
+
>
|
|
63
|
+
<WithErrorBoundary title="Failed to load Review step">
|
|
64
|
+
<Grid hasGutter>
|
|
65
|
+
<Split>
|
|
66
|
+
<SplitItem>
|
|
67
|
+
<TextContent>
|
|
68
|
+
<Text component={TextVariants.h2}>Review and download ISO</Text>
|
|
69
|
+
</TextContent>
|
|
70
|
+
</SplitItem>
|
|
71
|
+
<SplitItem>
|
|
72
|
+
<DeveloperPreview />
|
|
73
|
+
</SplitItem>
|
|
74
|
+
</Split>
|
|
75
|
+
<Alert isInline variant="info" title="Discovery ISO boot instructions">
|
|
76
|
+
<List component={ListComponent.ol} type={OrderType.number}>
|
|
77
|
+
<ListItem>Download ISO</ListItem>
|
|
78
|
+
<ListItem>
|
|
79
|
+
Download or copy your pull secret from{' '}
|
|
80
|
+
<a href={PULL_SECRET_INFO_LINK} target="_blank" rel="noopener noreferrer">
|
|
81
|
+
here
|
|
82
|
+
</a>
|
|
83
|
+
</ListItem>
|
|
84
|
+
<ListItem>
|
|
85
|
+
Boot your cluster's machines from this ISO and follow instructions
|
|
86
|
+
</ListItem>
|
|
87
|
+
<ListItem>
|
|
88
|
+
Provide your pull secret inside the installation wizard when requested
|
|
89
|
+
</ListItem>
|
|
90
|
+
</List>
|
|
91
|
+
</Alert>
|
|
92
|
+
<Alert isInline isExpandable variant="info" title="List of available operators">
|
|
93
|
+
<List>
|
|
94
|
+
{singleClusterOperators.map((o) => {
|
|
95
|
+
const operator = Object.values(opSpecs)
|
|
96
|
+
.flatMap((op) => op)
|
|
97
|
+
.find((op) => op.operatorKey === o);
|
|
98
|
+
return <ListItem key={o}>{operator ? operator.title : o}</ListItem>;
|
|
99
|
+
})}
|
|
100
|
+
</List>
|
|
101
|
+
</Alert>
|
|
102
|
+
<DescriptionList isHorizontal>
|
|
103
|
+
<DescriptionListGroup>
|
|
104
|
+
<DescriptionListTerm>OpenShift version</DescriptionListTerm>
|
|
105
|
+
<DescriptionListDescription>4.19</DescriptionListDescription>
|
|
106
|
+
</DescriptionListGroup>
|
|
107
|
+
<DescriptionListGroup>
|
|
108
|
+
<DescriptionListTerm>CPU architecture</DescriptionListTerm>
|
|
109
|
+
<DescriptionListDescription>x86_64</DescriptionListDescription>
|
|
110
|
+
</DescriptionListGroup>
|
|
111
|
+
<DescriptionListGroup>
|
|
112
|
+
<DescriptionListTerm>ISO size</DescriptionListTerm>
|
|
113
|
+
<DescriptionListDescription>approx. 35GB</DescriptionListDescription>
|
|
114
|
+
</DescriptionListGroup>
|
|
115
|
+
</DescriptionList>
|
|
116
|
+
</Grid>
|
|
117
|
+
</WithErrorBoundary>
|
|
118
|
+
</ClusterWizardStep>
|
|
119
|
+
</Formik>
|
|
120
|
+
);
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
export default ReviewStep;
|
|
@@ -29,7 +29,9 @@ export type ClusterWizardStepsType =
|
|
|
29
29
|
| 'networking'
|
|
30
30
|
| 'review'
|
|
31
31
|
| 'custom-manifests'
|
|
32
|
-
| 'credentials-download'
|
|
32
|
+
| 'credentials-download'
|
|
33
|
+
| 'disconnected-basic'
|
|
34
|
+
| 'disconnected-review';
|
|
33
35
|
|
|
34
36
|
const wizardStepsOrder: ClusterWizardStepsType[] = [
|
|
35
37
|
'cluster-details',
|
|
@@ -45,6 +47,11 @@ const wizardStepsOrder: ClusterWizardStepsType[] = [
|
|
|
45
47
|
'review',
|
|
46
48
|
];
|
|
47
49
|
|
|
50
|
+
export const disconnectedSteps: ClusterWizardStepsType[] = [
|
|
51
|
+
'disconnected-basic',
|
|
52
|
+
'disconnected-review',
|
|
53
|
+
];
|
|
54
|
+
|
|
48
55
|
export const ClusterWizardFlowStateNew = 'new';
|
|
49
56
|
export type ClusterWizardFlowStateType = Cluster['status'] | typeof ClusterWizardFlowStateNew;
|
|
50
57
|
|
|
@@ -191,7 +198,12 @@ const hostDiscoveryStepValidationsMap: WizardStepValidationMap = {
|
|
|
191
198
|
'amd-gpu-requirements-satisfied',
|
|
192
199
|
],
|
|
193
200
|
},
|
|
194
|
-
softValidationIds: [
|
|
201
|
+
softValidationIds: [
|
|
202
|
+
'no-skip-installation-disk',
|
|
203
|
+
'no-skip-missing-disk',
|
|
204
|
+
'compatible-agent',
|
|
205
|
+
'openshift-ai-gpu-requirements-satisfied',
|
|
206
|
+
],
|
|
195
207
|
};
|
|
196
208
|
|
|
197
209
|
const storageStepValidationsMap: WizardStepValidationMap = {
|
|
@@ -246,6 +258,8 @@ const reviewStepValidationsMap: WizardStepValidationMap = {
|
|
|
246
258
|
const credentialsValidationMap = buildEmptyValidationsMap();
|
|
247
259
|
|
|
248
260
|
const customManifestsValidationsMap = buildEmptyValidationsMap();
|
|
261
|
+
const disconnectedReviewValidationsMap = buildEmptyValidationsMap();
|
|
262
|
+
const disconnectedBasicValidationsMap = buildEmptyValidationsMap();
|
|
249
263
|
|
|
250
264
|
export const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType> = {
|
|
251
265
|
'cluster-details': clusterDetailsStepValidationsMap,
|
|
@@ -259,6 +273,8 @@ export const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardSt
|
|
|
259
273
|
networking: networkingStepValidationsMap,
|
|
260
274
|
review: reviewStepValidationsMap,
|
|
261
275
|
'credentials-download': credentialsValidationMap,
|
|
276
|
+
'disconnected-review': disconnectedReviewValidationsMap,
|
|
277
|
+
'disconnected-basic': disconnectedBasicValidationsMap,
|
|
262
278
|
};
|
|
263
279
|
|
|
264
280
|
export const allClusterWizardSoftValidationIds =
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextContent, Text, Split, SplitItem } from '@patternfly/react-core';
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
ASSISTED_INSTALLER_DOCUMENTATION_LINK,
|
|
5
|
+
DeveloperPreview,
|
|
6
|
+
ExternalLink,
|
|
7
|
+
isInOcm,
|
|
8
|
+
} from '../../../common';
|
|
9
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
4
10
|
|
|
5
11
|
export const AssistedInstallerHeader = () => {
|
|
12
|
+
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
6
13
|
return (
|
|
7
14
|
<TextContent>
|
|
8
15
|
<Text component="h1" className="pf-v5-u-display-inline">
|
|
9
16
|
Install OpenShift with the Assisted Installer
|
|
10
17
|
</Text>
|
|
18
|
+
{isSingleClusterFeatureEnabled && <DeveloperPreview />}
|
|
11
19
|
<Split hasGutter>
|
|
12
20
|
<SplitItem>
|
|
13
21
|
<ExternalLink href={ASSISTED_INSTALLER_DOCUMENTATION_LINK}>
|
|
@@ -205,6 +205,9 @@ export const SingleClusterPage = ({
|
|
|
205
205
|
resetModal: React.ReactNode;
|
|
206
206
|
}) => (
|
|
207
207
|
<AlertsContextProvider>
|
|
208
|
+
<PageSection variant={PageSectionVariants.light}>
|
|
209
|
+
<AssistedInstallerHeader />
|
|
210
|
+
</PageSection>
|
|
208
211
|
<ClusterPageGeneric clusterId={clusterId} resetModal={resetModal} />
|
|
209
212
|
</AlertsContextProvider>
|
|
210
213
|
);
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
EmptyState,
|
|
18
18
|
useAlerts,
|
|
19
19
|
AlertsContextProvider,
|
|
20
|
+
REDUCED_POLLING_INTERVAL,
|
|
20
21
|
} from '../../../common';
|
|
21
22
|
import ClustersTable from './ClustersTable';
|
|
22
23
|
import { fetchClustersAsync, deleteCluster } from '../../store/slices/clusters/slice';
|
|
@@ -62,8 +63,17 @@ const Clusters = () => {
|
|
|
62
63
|
);
|
|
63
64
|
|
|
64
65
|
const fetchClusters = React.useCallback(() => void dispatch(fetchClustersAsync()), [dispatch]);
|
|
66
|
+
|
|
65
67
|
React.useEffect(() => {
|
|
68
|
+
// Fetch immediately on mount
|
|
66
69
|
fetchClusters();
|
|
70
|
+
|
|
71
|
+
// Set up polling for subsequent updates
|
|
72
|
+
const timer = setInterval(() => {
|
|
73
|
+
fetchClusters();
|
|
74
|
+
}, REDUCED_POLLING_INTERVAL);
|
|
75
|
+
|
|
76
|
+
return () => clearInterval(timer);
|
|
67
77
|
}, [fetchClusters]);
|
|
68
78
|
|
|
69
79
|
switch (uiState.current) {
|
|
@@ -188,7 +188,7 @@ const ClustersListToolbar: React.FC<ClustersListToolbarProps> = ({
|
|
|
188
188
|
isDisabled={clustersUIState === ResourceUIState.RELOADING}
|
|
189
189
|
>
|
|
190
190
|
<Tooltip content="Refresh">
|
|
191
|
-
<SyncIcon />
|
|
191
|
+
<SyncIcon data-testid="refresh-clusters-icon" />
|
|
192
192
|
</Tooltip>
|
|
193
193
|
</ToolbarButton>
|
|
194
194
|
</ToolbarGroup>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { PageSectionVariants, PageSection } from '@patternfly/react-core';
|
|
3
3
|
import { AlertsContextProvider } from '../../../common';
|
|
4
4
|
import ClusterBreadcrumbs from './ClusterBreadcrumbs';
|
|
@@ -13,7 +13,7 @@ import { AssistedInstallerHeader } from './AssistedInstallerHeader';
|
|
|
13
13
|
import { ModalDialogsContextProvider } from '../hosts/ModalDialogsContext';
|
|
14
14
|
import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
|
|
15
15
|
|
|
16
|
-
const NewClusterPageGeneric = ({
|
|
16
|
+
const NewClusterPageGeneric = ({ children }: React.PropsWithChildren<unknown>) => {
|
|
17
17
|
return (
|
|
18
18
|
<AlertsContextProvider>
|
|
19
19
|
<SentryErrorMonitorContextProvider>
|
|
@@ -24,7 +24,10 @@ const NewClusterPageGeneric = ({ pageTitleSection }: { pageTitleSection?: ReactN
|
|
|
24
24
|
>
|
|
25
25
|
<OpenShiftVersionsContextProvider>
|
|
26
26
|
<NewFeatureSupportLevelProvider loadingUi={<ClusterLoading />}>
|
|
27
|
-
{
|
|
27
|
+
{children}
|
|
28
|
+
<PageSection variant={PageSectionVariants.light}>
|
|
29
|
+
<AssistedInstallerHeader />
|
|
30
|
+
</PageSection>
|
|
28
31
|
<PageSection variant={PageSectionVariants.light} isFilled>
|
|
29
32
|
<ClusterWizardContextProvider>
|
|
30
33
|
<NewClusterWizard />
|
|
@@ -39,16 +42,9 @@ const NewClusterPageGeneric = ({ pageTitleSection }: { pageTitleSection?: ReactN
|
|
|
39
42
|
);
|
|
40
43
|
};
|
|
41
44
|
|
|
42
|
-
const NewClusterTitleSection = () => (
|
|
43
|
-
<>
|
|
44
|
-
<ClusterBreadcrumbs clusterName="New cluster" />
|
|
45
|
-
<PageSection variant={PageSectionVariants.light}>
|
|
46
|
-
<AssistedInstallerHeader />
|
|
47
|
-
</PageSection>
|
|
48
|
-
</>
|
|
49
|
-
);
|
|
50
|
-
|
|
51
45
|
export const NewSingleClusterPage = () => <NewClusterPageGeneric />;
|
|
52
46
|
export const NewClusterPage = () => (
|
|
53
|
-
<NewClusterPageGeneric
|
|
47
|
+
<NewClusterPageGeneric>
|
|
48
|
+
<ClusterBreadcrumbs clusterName="New cluster" />
|
|
49
|
+
</NewClusterPageGeneric>
|
|
54
50
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ResourceUIState,
|
|
2
|
+
import { ResourceUIState, DEFAULT_POLLING_INTERVAL } from '../../../common';
|
|
3
3
|
import {
|
|
4
4
|
fetchClusterAsync,
|
|
5
5
|
cleanCluster,
|
|
@@ -53,7 +53,7 @@ export const useClusterPolling = (
|
|
|
53
53
|
|
|
54
54
|
React.useEffect(() => {
|
|
55
55
|
fetchCluster();
|
|
56
|
-
const timer = window.setInterval(() => dispatch(forceReload()),
|
|
56
|
+
const timer = window.setInterval(() => dispatch(forceReload()), DEFAULT_POLLING_INTERVAL);
|
|
57
57
|
return () => {
|
|
58
58
|
clearInterval(timer);
|
|
59
59
|
dispatch(cancelForceReload());
|
|
@@ -4,11 +4,6 @@ import {
|
|
|
4
4
|
CpuArchitecture,
|
|
5
5
|
FeatureId,
|
|
6
6
|
isSNO,
|
|
7
|
-
OPERATOR_NAME_CNV,
|
|
8
|
-
OPERATOR_NAME_LVM,
|
|
9
|
-
OPERATOR_NAME_ODF,
|
|
10
|
-
OPERATOR_NAME_OPENSHIFT_AI,
|
|
11
|
-
OPERATOR_NAME_OSC,
|
|
12
7
|
SupportedCpuArchitecture,
|
|
13
8
|
} from '../../../common';
|
|
14
9
|
import {
|
|
@@ -17,7 +12,7 @@ import {
|
|
|
17
12
|
SupportLevel,
|
|
18
13
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
19
14
|
import { ExternalPlatformLabels } from '../clusterConfiguration/platformIntegration/constants';
|
|
20
|
-
import {
|
|
15
|
+
import { getOperatorTitleByFeatureId } from '../../../common/components/operators/operatorSpecs';
|
|
21
16
|
|
|
22
17
|
export const clusterExistsReason = 'This option is not editable after the draft cluster is created';
|
|
23
18
|
|
|
@@ -46,10 +41,7 @@ const getOdfDisabledReason = (
|
|
|
46
41
|
return undefined;
|
|
47
42
|
}
|
|
48
43
|
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
const operatorTitle = opSpecs[OPERATOR_NAME_ODF]?.title || '';
|
|
52
|
-
|
|
44
|
+
const operatorTitle = getOperatorTitleByFeatureId('ODF') || '';
|
|
53
45
|
const isArm = activeFeatureConfiguration?.underlyingCpuArchitecture === CpuArchitecture.ARM;
|
|
54
46
|
if (isArm && isSNO(cluster)) {
|
|
55
47
|
return `${operatorTitle} is not available when using Single Node OpenShift or ARM CPU architecture.`;
|
|
@@ -75,8 +67,8 @@ const getCnvDisabledReason = (
|
|
|
75
67
|
return undefined;
|
|
76
68
|
}
|
|
77
69
|
|
|
78
|
-
const
|
|
79
|
-
|
|
70
|
+
const operatorTitle = getOperatorTitleByFeatureId('CNV') || '';
|
|
71
|
+
|
|
80
72
|
if (platformType === 'nutanix') {
|
|
81
73
|
return `${operatorTitle} is not available when Nutanix platform type is selected.`;
|
|
82
74
|
}
|
|
@@ -105,8 +97,7 @@ const getLvmDisabledReason = (
|
|
|
105
97
|
return undefined;
|
|
106
98
|
}
|
|
107
99
|
|
|
108
|
-
const
|
|
109
|
-
const operatorTitle = opSpecs[OPERATOR_NAME_LVM]?.title;
|
|
100
|
+
const operatorTitle = getOperatorTitleByFeatureId('LVM') || '';
|
|
110
101
|
if (platformType === 'nutanix') {
|
|
111
102
|
return `${operatorTitle} is not supported when Nutanix platform type is selected.`;
|
|
112
103
|
}
|
|
@@ -125,8 +116,7 @@ const getOscDisabledReason = (
|
|
|
125
116
|
return undefined;
|
|
126
117
|
}
|
|
127
118
|
|
|
128
|
-
const
|
|
129
|
-
const operatorTitle = opSpecs[OPERATOR_NAME_OSC]?.title || '';
|
|
119
|
+
const operatorTitle = getOperatorTitleByFeatureId('OSC') || '';
|
|
130
120
|
if (!isSupported) {
|
|
131
121
|
return `${operatorTitle} is not supported in this OpenShift version.`;
|
|
132
122
|
}
|
|
@@ -299,8 +289,7 @@ const getOpenShiftAIDisabledReason = (
|
|
|
299
289
|
return undefined;
|
|
300
290
|
}
|
|
301
291
|
|
|
302
|
-
const
|
|
303
|
-
const operatorTitle = opSpecs[OPERATOR_NAME_OPENSHIFT_AI]?.title || '';
|
|
292
|
+
const operatorTitle = getOperatorTitleByFeatureId('OPENSHIFT_AI') || '';
|
|
304
293
|
const isArm = activeFeatureConfiguration?.underlyingCpuArchitecture === CpuArchitecture.ARM;
|
|
305
294
|
if (isArm) {
|
|
306
295
|
return `${operatorTitle} is not available when ARM CPU architecture is selected.`;
|
|
@@ -60,8 +60,10 @@ import {
|
|
|
60
60
|
selectCurrentClusterPermissionsState,
|
|
61
61
|
selectCurrentClusterState,
|
|
62
62
|
} from '../../store/slices/current-cluster/selectors';
|
|
63
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
63
64
|
|
|
64
65
|
export const useHostsTable = (cluster: Cluster) => {
|
|
66
|
+
const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
65
67
|
const { addAlert } = useAlerts();
|
|
66
68
|
const {
|
|
67
69
|
eventsDialog,
|
|
@@ -248,8 +250,12 @@ export const useHostsTable = (cluster: Cluster) => {
|
|
|
248
250
|
|
|
249
251
|
const actionChecks = React.useMemo(
|
|
250
252
|
() => ({
|
|
251
|
-
canEditRole: (host: Host) =>
|
|
252
|
-
|
|
253
|
+
canEditRole: (host: Host) => {
|
|
254
|
+
if (isSingleClusterFeatureEnabled && host.bootstrap) {
|
|
255
|
+
return false;
|
|
256
|
+
}
|
|
257
|
+
return !isViewerMode && canEditRoleUtil(cluster.status, host.status, isSNO(cluster));
|
|
258
|
+
},
|
|
253
259
|
canInstallHost: (host: Host) => !isViewerMode && canInstallHostUtil(cluster, host.status),
|
|
254
260
|
canEditDisks: (host: Host) => !isViewerMode && canEditDisksUtil(cluster.status, host.status),
|
|
255
261
|
canEnable: (host: Host) => !isViewerMode && canEnableUtil(cluster.status, host.status),
|
|
@@ -257,9 +263,9 @@ export const useHostsTable = (cluster: Cluster) => {
|
|
|
257
263
|
canDelete: (host: Host) => !isViewerMode && canDeleteUtil(cluster.status, host.status),
|
|
258
264
|
canEditHost: (host: Host) => !isViewerMode && canEditHostUtil(cluster.status, host.status),
|
|
259
265
|
canReset: (host: Host) => !isViewerMode && canResetUtil(cluster.status, host.status),
|
|
260
|
-
canEditHostname: () => !isViewerMode && canEditHostnameUtil(cluster.status),
|
|
266
|
+
canEditHostname: (host?: Host) => !isViewerMode && canEditHostnameUtil(cluster.status, host),
|
|
261
267
|
}),
|
|
262
|
-
[cluster, isViewerMode],
|
|
268
|
+
[cluster, isViewerMode, isSingleClusterFeatureEnabled],
|
|
263
269
|
);
|
|
264
270
|
|
|
265
271
|
const onReset = React.useCallback(() => {
|
|
@@ -320,7 +326,14 @@ export const useHostsTable = (cluster: Cluster) => {
|
|
|
320
326
|
throw new Error(`Failed to edit role in host: ${host.id}.\nMissing cluster_id`);
|
|
321
327
|
}
|
|
322
328
|
const { data } = await HostsService.updateRole(host, role);
|
|
323
|
-
|
|
329
|
+
|
|
330
|
+
if (resetCluster) {
|
|
331
|
+
void resetCluster();
|
|
332
|
+
} else {
|
|
333
|
+
dispatch(updateHost(data));
|
|
334
|
+
// Reload to obtain cluster-level validations that may be affected by role change
|
|
335
|
+
dispatch(forceReload());
|
|
336
|
+
}
|
|
324
337
|
} catch (e) {
|
|
325
338
|
handleApiError(e, () =>
|
|
326
339
|
addAlert({ title: 'Failed to set role', message: getApiErrorMessage(e) }),
|
|
@@ -8,9 +8,14 @@ const DiskEncryptionService = {
|
|
|
8
8
|
diskEncryptionEnableOn(
|
|
9
9
|
isEnableOnMasters: boolean,
|
|
10
10
|
isEnableOnWorkers: boolean,
|
|
11
|
+
isEnableOnArbiters: boolean,
|
|
11
12
|
): DiskEncryption['enableOn'] {
|
|
12
13
|
let enableOnParam: DiskEncryption['enableOn'];
|
|
13
|
-
if (isEnableOnMasters && isEnableOnWorkers) enableOnParam = 'all';
|
|
14
|
+
if (isEnableOnMasters && isEnableOnWorkers && isEnableOnArbiters) enableOnParam = 'all';
|
|
15
|
+
else if (isEnableOnMasters && isEnableOnWorkers) enableOnParam = 'masters,workers';
|
|
16
|
+
else if (isEnableOnMasters && isEnableOnArbiters) enableOnParam = 'masters,arbiters';
|
|
17
|
+
else if (isEnableOnWorkers && isEnableOnArbiters) enableOnParam = 'arbiters,workers';
|
|
18
|
+
else if (isEnableOnArbiters) enableOnParam = 'arbiters';
|
|
14
19
|
else if (isEnableOnWorkers) enableOnParam = 'workers';
|
|
15
20
|
else if (isEnableOnMasters) enableOnParam = 'masters';
|
|
16
21
|
else enableOnParam = 'none';
|
|
@@ -21,13 +26,14 @@ const DiskEncryptionService = {
|
|
|
21
26
|
return {
|
|
22
27
|
mode: values.diskEncryptionMode,
|
|
23
28
|
enableOn:
|
|
24
|
-
values.
|
|
29
|
+
values.controlPlaneCount === 1
|
|
25
30
|
? values.enableDiskEncryptionOnMasters
|
|
26
31
|
? 'all'
|
|
27
32
|
: 'none'
|
|
28
33
|
: DiskEncryptionService.diskEncryptionEnableOn(
|
|
29
34
|
values.enableDiskEncryptionOnMasters,
|
|
30
35
|
values.enableDiskEncryptionOnWorkers,
|
|
36
|
+
values.enableDiskEncryptionOnArbiters,
|
|
31
37
|
),
|
|
32
38
|
tangServers:
|
|
33
39
|
values.diskEncryptionMode === 'tang'
|
|
@@ -5,7 +5,7 @@ export const selectCurrentClusterState = (state: RootStateDay1) => state.current
|
|
|
5
5
|
export const selectCurrentCluster = (state: RootStateDay1) => state.currentCluster.data;
|
|
6
6
|
export const selectCurrentClusterUIState = (state: RootStateDay1) => state.currentCluster.uiState;
|
|
7
7
|
export const selectIsCurrentClusterSNO = (state: RootStateDay1) =>
|
|
8
|
-
state.currentCluster.data?.
|
|
8
|
+
state.currentCluster.data?.controlPlaneCount === 1;
|
|
9
9
|
export const selectCurrentClusterPermissionsState = (
|
|
10
10
|
state: RootStateDay1,
|
|
11
11
|
): AssistedInstallerPermissionTypesListType => {
|