@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,10 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const DiskEncryptionService = {
|
|
4
|
-
diskEncryptionEnableOn(isEnableOnMasters, isEnableOnWorkers) {
|
|
4
|
+
diskEncryptionEnableOn(isEnableOnMasters, isEnableOnWorkers, isEnableOnArbiters) {
|
|
5
5
|
let enableOnParam;
|
|
6
|
-
if (isEnableOnMasters && isEnableOnWorkers)
|
|
6
|
+
if (isEnableOnMasters && isEnableOnWorkers && isEnableOnArbiters)
|
|
7
7
|
enableOnParam = 'all';
|
|
8
|
+
else if (isEnableOnMasters && isEnableOnWorkers)
|
|
9
|
+
enableOnParam = 'masters,workers';
|
|
10
|
+
else if (isEnableOnMasters && isEnableOnArbiters)
|
|
11
|
+
enableOnParam = 'masters,arbiters';
|
|
12
|
+
else if (isEnableOnWorkers && isEnableOnArbiters)
|
|
13
|
+
enableOnParam = 'arbiters,workers';
|
|
14
|
+
else if (isEnableOnArbiters)
|
|
15
|
+
enableOnParam = 'arbiters';
|
|
8
16
|
else if (isEnableOnWorkers)
|
|
9
17
|
enableOnParam = 'workers';
|
|
10
18
|
else if (isEnableOnMasters)
|
|
@@ -16,11 +24,11 @@ const DiskEncryptionService = {
|
|
|
16
24
|
getDiskEncryptionParams(values) {
|
|
17
25
|
return {
|
|
18
26
|
mode: values.diskEncryptionMode,
|
|
19
|
-
enableOn: values.
|
|
27
|
+
enableOn: values.controlPlaneCount === 1
|
|
20
28
|
? values.enableDiskEncryptionOnMasters
|
|
21
29
|
? 'all'
|
|
22
30
|
: 'none'
|
|
23
|
-
: DiskEncryptionService.diskEncryptionEnableOn(values.enableDiskEncryptionOnMasters, values.enableDiskEncryptionOnWorkers),
|
|
31
|
+
: DiskEncryptionService.diskEncryptionEnableOn(values.enableDiskEncryptionOnMasters, values.enableDiskEncryptionOnWorkers, values.enableDiskEncryptionOnArbiters),
|
|
24
32
|
tangServers: values.diskEncryptionMode === 'tang'
|
|
25
33
|
? JSON.stringify(values.diskEncryptionTangServers)
|
|
26
34
|
: undefined,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiskEncryptionService.js","sourceRoot":"","sources":["../../../../lib/ocm/services/DiskEncryptionService.ts"],"names":[],"mappings":";;AAMA,MAAM,qBAAqB,GAAG;IAC5B,sBAAsB,CACpB,iBAA0B,EAC1B,iBAA0B;
|
|
1
|
+
{"version":3,"file":"DiskEncryptionService.js","sourceRoot":"","sources":["../../../../lib/ocm/services/DiskEncryptionService.ts"],"names":[],"mappings":";;AAMA,MAAM,qBAAqB,GAAG;IAC5B,sBAAsB,CACpB,iBAA0B,EAC1B,iBAA0B,EAC1B,kBAA2B;QAE3B,IAAI,aAAyC,CAAC;QAC9C,IAAI,iBAAiB,IAAI,iBAAiB,IAAI,kBAAkB;YAAE,aAAa,GAAG,KAAK,CAAC;aACnF,IAAI,iBAAiB,IAAI,iBAAiB;YAAE,aAAa,GAAG,iBAAiB,CAAC;aAC9E,IAAI,iBAAiB,IAAI,kBAAkB;YAAE,aAAa,GAAG,kBAAkB,CAAC;aAChF,IAAI,iBAAiB,IAAI,kBAAkB;YAAE,aAAa,GAAG,kBAAkB,CAAC;aAChF,IAAI,kBAAkB;YAAE,aAAa,GAAG,UAAU,CAAC;aACnD,IAAI,iBAAiB;YAAE,aAAa,GAAG,SAAS,CAAC;aACjD,IAAI,iBAAiB;YAAE,aAAa,GAAG,SAAS,CAAC;;YACjD,aAAa,GAAG,MAAM,CAAC;QAC5B,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,uBAAuB,CAAC,MAA4B;QAClD,OAAO;YACL,IAAI,EAAE,MAAM,CAAC,kBAAkB;YAC/B,QAAQ,EACN,MAAM,CAAC,iBAAiB,KAAK,CAAC;gBAC5B,CAAC,CAAC,MAAM,CAAC,6BAA6B;oBACpC,CAAC,CAAC,KAAK;oBACP,CAAC,CAAC,MAAM;gBACV,CAAC,CAAC,qBAAqB,CAAC,sBAAsB,CAC1C,MAAM,CAAC,6BAA6B,EACpC,MAAM,CAAC,6BAA6B,EACpC,MAAM,CAAC,8BAA8B,CACtC;YACP,WAAW,EACT,MAAM,CAAC,kBAAkB,KAAK,MAAM;gBAClC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,yBAAyB,CAAC;gBAClD,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,kBAAe,qBAAqB,CAAC"}
|
|
@@ -7,7 +7,7 @@ const selectCurrentCluster = (state) => state.currentCluster.data;
|
|
|
7
7
|
exports.selectCurrentCluster = selectCurrentCluster;
|
|
8
8
|
const selectCurrentClusterUIState = (state) => state.currentCluster.uiState;
|
|
9
9
|
exports.selectCurrentClusterUIState = selectCurrentClusterUIState;
|
|
10
|
-
const selectIsCurrentClusterSNO = (state) => { var _a; return ((_a = state.currentCluster.data) === null || _a === void 0 ? void 0 : _a.
|
|
10
|
+
const selectIsCurrentClusterSNO = (state) => { var _a; return ((_a = state.currentCluster.data) === null || _a === void 0 ? void 0 : _a.controlPlaneCount) === 1; };
|
|
11
11
|
exports.selectIsCurrentClusterSNO = selectIsCurrentClusterSNO;
|
|
12
12
|
const selectCurrentClusterPermissionsState = (state) => {
|
|
13
13
|
if (state.currentCluster) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.js","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/current-cluster/selectors.ts"],"names":[],"mappings":";;;AAGO,MAAM,yBAAyB,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC;AAA3E,QAAA,yBAAyB,6BAAkD;AACjF,MAAM,oBAAoB,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;AAA3E,QAAA,oBAAoB,wBAAuD;AACjF,MAAM,2BAA2B,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;AAArF,QAAA,2BAA2B,+BAA0D;AAC3F,MAAM,yBAAyB,GAAG,CAAC,KAAoB,EAAE,EAAE,WAChE,OAAA,CAAA,MAAA,KAAK,CAAC,cAAc,CAAC,IAAI,0CAAE,
|
|
1
|
+
{"version":3,"file":"selectors.js","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/current-cluster/selectors.ts"],"names":[],"mappings":";;;AAGO,MAAM,yBAAyB,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC;AAA3E,QAAA,yBAAyB,6BAAkD;AACjF,MAAM,oBAAoB,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;AAA3E,QAAA,oBAAoB,wBAAuD;AACjF,MAAM,2BAA2B,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;AAArF,QAAA,2BAA2B,+BAA0D;AAC3F,MAAM,yBAAyB,GAAG,CAAC,KAAoB,EAAE,EAAE,WAChE,OAAA,CAAA,MAAA,KAAK,CAAC,cAAc,CAAC,IAAI,0CAAE,iBAAiB,MAAK,CAAC,CAAA,EAAA,CAAC;AADxC,QAAA,yBAAyB,6BACe;AAC9C,MAAM,oCAAoC,GAAG,CAClD,KAAoB,EACsB,EAAE;IAC5C,IAAI,KAAK,CAAC,cAAc,EAAE;QACxB,OAAO,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;KACzC;IACD,oFAAoF;IACpF,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;AACjC,CAAC,CAAC;AARW,QAAA,oCAAoC,wCAQ/C"}
|
|
@@ -7,7 +7,7 @@ import { getAIHosts } from '../helpers/toAssisted';
|
|
|
7
7
|
import { getAgentStatus, getWizardStepAgentStatus } from '../helpers/status';
|
|
8
8
|
|
|
9
9
|
import '@patternfly/react-styles/css/utilities/Text/text.css';
|
|
10
|
-
import { AdditionalNTPSourcesDialogToggle } from '../ClusterDeployment/
|
|
10
|
+
import { AdditionalNTPSourcesDialogToggle } from '../ClusterDeployment/components';
|
|
11
11
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
12
12
|
import ValidationsRunningAlert from '../common/ValidationsRunningAlert';
|
|
13
13
|
import { agentStatus } from '../helpers/agentStatus';
|
|
@@ -40,7 +40,7 @@ export const agentHostnameColumn = (
|
|
|
40
40
|
agents: AgentK8sResource[],
|
|
41
41
|
bareMetalHosts: BareMetalHostK8sResource[],
|
|
42
42
|
onEditHostname?: HostsTableActions['onEditHost'],
|
|
43
|
-
canEditHostname?: HostsTableActions['
|
|
43
|
+
canEditHostname?: HostsTableActions['canEditHostname'],
|
|
44
44
|
canEditBMH?: HostsTableActions['canEditBMH'],
|
|
45
45
|
): TableRow<Host> => ({
|
|
46
46
|
header: {
|
|
@@ -2,17 +2,18 @@ import * as React from 'react';
|
|
|
2
2
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
3
3
|
import { Grid, GridItem, Wizard, WizardStep } from '@patternfly/react-core';
|
|
4
4
|
import { AlertsContextProvider, LoadingState } from '../../../common';
|
|
5
|
-
import ClusterDeploymentDetailsStep from './ClusterDeploymentDetailsStep';
|
|
6
|
-
import ClusterDeploymentNetworkingStep from './ClusterDeploymentNetworkingStep';
|
|
7
|
-
import ClusterDeploymentHostSelectionStep from './ClusterDeploymentHostSelectionStep';
|
|
8
5
|
import { ClusterDeploymentWizardProps } from './types';
|
|
9
|
-
import ClusterDeploymentHostsDiscoveryStep from './ClusterDeploymentHostsDiscoveryStep';
|
|
10
6
|
import { ACMFeatureSupportLevelProvider } from '../featureSupportLevels';
|
|
11
|
-
import ClusterDeploymentReviewStep from './ClusterDeploymentReviewStep';
|
|
12
7
|
import { YamlPreview, useYamlPreview } from '../YamlPreview';
|
|
13
8
|
import { wizardStepNames } from './constants';
|
|
14
9
|
import { ClusterDeploymentWizardContextProvider } from './ClusterDeploymentWizardContext';
|
|
15
10
|
import { isCIMFlow } from './helpers';
|
|
11
|
+
import { ClusterDeploymentDetailsStep } from './clusterDetails';
|
|
12
|
+
import { ClusterDeploymentHostSelectionStep } from './hostSelection';
|
|
13
|
+
import { ClusterDeploymentHostsDiscoveryStep } from './hostDiscovery';
|
|
14
|
+
import { ClusterDeploymentNetworkingStep } from './networking';
|
|
15
|
+
import { ClusterDeploymentReviewStep } from './review';
|
|
16
|
+
import { ClusterDeploymentCustomManifestsStep } from './customManifests';
|
|
16
17
|
|
|
17
18
|
export const ClusterDeploymentWizard = ({
|
|
18
19
|
className,
|
|
@@ -76,6 +77,7 @@ export const ClusterDeploymentWizard = ({
|
|
|
76
77
|
id={'installation-type'}
|
|
77
78
|
isDisabled
|
|
78
79
|
/>
|
|
80
|
+
|
|
79
81
|
<WizardStep name={stepNames['cluster-details']} id={'cluster-details'}>
|
|
80
82
|
<ClusterDeploymentDetailsStep
|
|
81
83
|
clusterImages={clusterImages}
|
|
@@ -89,7 +91,9 @@ export const ClusterDeploymentWizard = ({
|
|
|
89
91
|
isNutanix={isNutanix}
|
|
90
92
|
/>
|
|
91
93
|
</WizardStep>
|
|
94
|
+
|
|
92
95
|
<WizardStep name={stepNames['automation']} id={'automation'} isDisabled />
|
|
96
|
+
|
|
93
97
|
{isCIMFlow(clusterDeployment) ? (
|
|
94
98
|
<WizardStep name={stepNames['hosts-selection']} id={'host-selection'}>
|
|
95
99
|
{agentClusterInstall?.metadata?.name ? (
|
|
@@ -131,6 +135,7 @@ export const ClusterDeploymentWizard = ({
|
|
|
131
135
|
)}
|
|
132
136
|
</WizardStep>
|
|
133
137
|
)}
|
|
138
|
+
|
|
134
139
|
<WizardStep name={stepNames['networking']} id={'networking'}>
|
|
135
140
|
<ClusterDeploymentNetworkingStep
|
|
136
141
|
clusterDeployment={clusterDeployment}
|
|
@@ -145,6 +150,11 @@ export const ClusterDeploymentWizard = ({
|
|
|
145
150
|
isNutanix={isNutanix}
|
|
146
151
|
/>
|
|
147
152
|
</WizardStep>
|
|
153
|
+
|
|
154
|
+
<WizardStep name={stepNames['custom-manifests']} id={'custom-manifests'}>
|
|
155
|
+
<ClusterDeploymentCustomManifestsStep agentClusterInstall={agentClusterInstall} />
|
|
156
|
+
</WizardStep>
|
|
157
|
+
|
|
148
158
|
<WizardStep name={stepNames['review']} id={'review'}>
|
|
149
159
|
<ClusterDeploymentReviewStep
|
|
150
160
|
onFinish={onFinish}
|
|
@@ -3,7 +3,7 @@ import { useFormikContext } from 'formik';
|
|
|
3
3
|
import { Flex, FlexItem, Form, FormGroup } from '@patternfly/react-core';
|
|
4
4
|
import { getAgentsForSelection } from '../helpers/agents';
|
|
5
5
|
import { AgentK8sResource } from '../../types/k8s/agent';
|
|
6
|
-
import ClusterDeploymentHostsSelectionAdvanced from './
|
|
6
|
+
import { ClusterDeploymentHostsSelectionAdvanced } from './hostSelection';
|
|
7
7
|
import { ScaleUpFormValues } from './types';
|
|
8
8
|
import SwitchField from '../../../common/components/ui/formik/SwitchField';
|
|
9
9
|
import ClusterScaleUpAutoHostsSelection from './ClusterScaleUpAutoHostsSelection';
|
|
@@ -2,13 +2,13 @@ import React from 'react';
|
|
|
2
2
|
import { Formik, FormikProps, useFormikContext } from 'formik';
|
|
3
3
|
import { Stack } from '@patternfly/react-core';
|
|
4
4
|
import noop from 'lodash-es/noop.js';
|
|
5
|
-
import { ClusterDetailsValues, getRichTextValidation } from '
|
|
6
|
-
import { ClusterImageSetK8sResource } from '
|
|
7
|
-
import ClusterDeploymentDetailsForm from './ClusterDeploymentDetailsForm';
|
|
5
|
+
import { ClusterDetailsValues, getRichTextValidation } from '../../../../common';
|
|
6
|
+
import { ClusterImageSetK8sResource } from '../../../types/k8s/cluster-image-set';
|
|
8
7
|
import { useDetailsFormik } from './ClusterDeploymentDetailsStep';
|
|
9
8
|
import { ClusterDetailsFormFieldsProps } from './ClusterDetailsFormFields';
|
|
10
|
-
import { OsImage } from '
|
|
11
|
-
import { getOCPVersions } from '
|
|
9
|
+
import { OsImage } from '../../../types';
|
|
10
|
+
import { getOCPVersions } from '../../helpers';
|
|
11
|
+
import { ClusterDeploymentDetailsForm } from './ClusterDeploymentDetailsForm';
|
|
12
12
|
|
|
13
13
|
type DetailsFormBodyProps = {
|
|
14
14
|
clusterImages: ClusterImageSetK8sResource[];
|
|
@@ -49,7 +49,7 @@ type ACMClusterDeploymentDetailsStepProps = DetailsFormBodyProps & {
|
|
|
49
49
|
formRef: React.Ref<FormikProps<ClusterDetailsValues>>;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
const ACMClusterDeploymentDetailsStep: React.FC<ACMClusterDeploymentDetailsStepProps> = ({
|
|
52
|
+
export const ACMClusterDeploymentDetailsStep: React.FC<ACMClusterDeploymentDetailsStepProps> = ({
|
|
53
53
|
clusterImages,
|
|
54
54
|
formRef,
|
|
55
55
|
usedClusterNames,
|
|
@@ -80,5 +80,3 @@ const ACMClusterDeploymentDetailsStep: React.FC<ACMClusterDeploymentDetailsStepP
|
|
|
80
80
|
</Formik>
|
|
81
81
|
);
|
|
82
82
|
};
|
|
83
|
-
|
|
84
|
-
export default ACMClusterDeploymentDetailsStep;
|
|
@@ -8,18 +8,26 @@ import {
|
|
|
8
8
|
useWizardFooter,
|
|
9
9
|
WizardFooter,
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
import {
|
|
12
|
+
AgentClusterInstallK8sResource,
|
|
13
|
+
ClusterDeploymentK8sResource,
|
|
14
|
+
OsImage,
|
|
15
|
+
} from '../../../types';
|
|
16
|
+
import { ClusterImageSetK8sResource } from '../../../types/k8s/cluster-image-set';
|
|
17
|
+
import { getOCPVersions, getSelectedVersion } from '../../helpers';
|
|
18
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
15
19
|
import {
|
|
16
20
|
ClusterDetailsFormFields,
|
|
17
21
|
ClusterDetailsFormFieldsProps,
|
|
18
22
|
} from './ClusterDetailsFormFields';
|
|
19
23
|
import { useFormikContext } from 'formik';
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
import {
|
|
25
|
+
ClusterDetailsValues,
|
|
26
|
+
CpuArchitecture,
|
|
27
|
+
SupportedCpuArchitecture,
|
|
28
|
+
} from '../../../../common';
|
|
29
|
+
import { ClusterDeploymentWizardContext } from '../ClusterDeploymentWizardContext';
|
|
30
|
+
import { ValidationSection } from '../components/ValidationSection';
|
|
23
31
|
import { toNumber } from 'lodash-es';
|
|
24
32
|
|
|
25
33
|
type ClusterDeploymentDetailsFormProps = {
|
|
@@ -74,7 +82,7 @@ export const ClusterDeploymentDetailsFormWrapper = ({
|
|
|
74
82
|
{syncError && (
|
|
75
83
|
<StackItem>
|
|
76
84
|
<ValidationSection currentStepId={'networking'} hosts={[]}>
|
|
77
|
-
<Alert variant={AlertVariant.danger} title={t('ai:An error
|
|
85
|
+
<Alert variant={AlertVariant.danger} title={t('ai:An error occurred')} isInline>
|
|
78
86
|
{syncError}
|
|
79
87
|
</Alert>
|
|
80
88
|
</ValidationSection>
|
|
@@ -84,7 +92,7 @@ export const ClusterDeploymentDetailsFormWrapper = ({
|
|
|
84
92
|
);
|
|
85
93
|
};
|
|
86
94
|
|
|
87
|
-
const ClusterDeploymentDetailsForm: React.FC<ClusterDeploymentDetailsFormProps> = ({
|
|
95
|
+
export const ClusterDeploymentDetailsForm: React.FC<ClusterDeploymentDetailsFormProps> = ({
|
|
88
96
|
agentClusterInstall,
|
|
89
97
|
clusterDeployment,
|
|
90
98
|
clusterImages,
|
|
@@ -150,5 +158,3 @@ const ClusterDeploymentDetailsForm: React.FC<ClusterDeploymentDetailsFormProps>
|
|
|
150
158
|
</>
|
|
151
159
|
);
|
|
152
160
|
};
|
|
153
|
-
|
|
154
|
-
export default ClusterDeploymentDetailsForm;
|
|
@@ -9,24 +9,24 @@ import {
|
|
|
9
9
|
getClusterDetailsValidationSchema,
|
|
10
10
|
ClusterWizardStepHeader,
|
|
11
11
|
ClusterDetailsValues,
|
|
12
|
-
useFeatureSupportLevel,
|
|
13
12
|
getRichTextValidation,
|
|
14
13
|
OpenshiftVersionOptionType,
|
|
15
|
-
} from '
|
|
14
|
+
} from '../../../../common';
|
|
16
15
|
|
|
17
|
-
import { ClusterDeploymentDetailsStepProps, ClusterDeploymentDetailsValues } from '
|
|
18
|
-
import { getAICluster, getNetworkType, getOCPVersions } from '
|
|
16
|
+
import { ClusterDeploymentDetailsStepProps, ClusterDeploymentDetailsValues } from '../types';
|
|
17
|
+
import { getAICluster, getNetworkType, getOCPVersions } from '../../helpers';
|
|
19
18
|
import {
|
|
20
19
|
AgentClusterInstallK8sResource,
|
|
21
20
|
AgentK8sResource,
|
|
22
21
|
ClusterDeploymentK8sResource,
|
|
23
22
|
InfraEnvK8sResource,
|
|
24
|
-
} from '
|
|
25
|
-
import
|
|
23
|
+
} from '../../../types';
|
|
24
|
+
import {
|
|
25
|
+
ClusterDeploymentDetailsForm,
|
|
26
26
|
ClusterDeploymentDetailsFormWrapper,
|
|
27
27
|
} from './ClusterDeploymentDetailsForm';
|
|
28
|
-
import { getGridSpans } from '
|
|
29
|
-
import { useTranslation } from '
|
|
28
|
+
import { getGridSpans } from '../helpers';
|
|
29
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
30
30
|
|
|
31
31
|
type UseDetailsFormikArgs = {
|
|
32
32
|
usedClusterNames: string[];
|
|
@@ -49,7 +49,6 @@ export const useDetailsFormik = ({
|
|
|
49
49
|
Lazy<{ baseDnsDomain: string }>,
|
|
50
50
|
] => {
|
|
51
51
|
const { t } = useTranslation();
|
|
52
|
-
const featureSupportLevels = useFeatureSupportLevel();
|
|
53
52
|
const isEdit = !!clusterDeployment || !!agentClusterInstall;
|
|
54
53
|
|
|
55
54
|
const cluster = React.useMemo(
|
|
@@ -88,19 +87,17 @@ export const useDetailsFormik = ({
|
|
|
88
87
|
() =>
|
|
89
88
|
getClusterDetailsValidationSchema({
|
|
90
89
|
usedClusterNames,
|
|
91
|
-
featureSupportLevels,
|
|
92
90
|
pullSecretSet: isEdit,
|
|
93
|
-
ocpVersions,
|
|
94
91
|
validateUniqueName: true,
|
|
95
92
|
t,
|
|
96
93
|
}),
|
|
97
|
-
[usedClusterNames,
|
|
94
|
+
[usedClusterNames, isEdit, t],
|
|
98
95
|
);
|
|
99
96
|
|
|
100
97
|
return [initialValues, validationSchema];
|
|
101
98
|
};
|
|
102
99
|
|
|
103
|
-
const ClusterDeploymentDetailsStep: React.FC<ClusterDeploymentDetailsStepProps> = ({
|
|
100
|
+
export const ClusterDeploymentDetailsStep: React.FC<ClusterDeploymentDetailsStepProps> = ({
|
|
104
101
|
clusterImages,
|
|
105
102
|
clusterDeployment,
|
|
106
103
|
agentClusterInstall,
|
|
@@ -163,5 +160,3 @@ const ClusterDeploymentDetailsStep: React.FC<ClusterDeploymentDetailsStepProps>
|
|
|
163
160
|
</Formik>
|
|
164
161
|
);
|
|
165
162
|
};
|
|
166
|
-
|
|
167
|
-
export default ClusterDeploymentDetailsStep;
|
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Form } from '@patternfly/react-core';
|
|
3
3
|
import { useFormikContext } from 'formik';
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
import {
|
|
6
|
+
ExternalPlatformsDropdown,
|
|
7
|
+
isMajorMinorVersionEqualOrGreater,
|
|
8
|
+
OpenShiftVersionDropdown,
|
|
9
|
+
OpenShiftVersionModal,
|
|
10
|
+
} from '../../../../common';
|
|
11
|
+
import { StaticTextField } from '../../../../common/components/ui/StaticTextField';
|
|
12
|
+
import { PullSecret } from '../../../../common/components/clusters';
|
|
13
|
+
import { OpenshiftVersionOptionType, SupportedCpuArchitecture } from '../../../../common/types';
|
|
9
14
|
import {
|
|
10
15
|
InputField,
|
|
11
16
|
RichInputField,
|
|
12
17
|
acmClusterNameValidationMessages,
|
|
13
|
-
} from '
|
|
14
|
-
import { ClusterDetailsValues } from '
|
|
15
|
-
import { useTranslation } from '
|
|
16
|
-
import CpuArchitectureDropdown from '
|
|
17
|
-
import ControlPlaneNodesDropdown from '
|
|
18
|
-
import { getNetworkType } from '
|
|
18
|
+
} from '../../../../common/components/ui/formik';
|
|
19
|
+
import { ClusterDetailsValues } from '../../../../common/components/clusterWizard/types';
|
|
20
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
21
|
+
import CpuArchitectureDropdown from '../../common/CpuArchitectureDropdown';
|
|
22
|
+
import ControlPlaneNodesDropdown from '../../../../common/components/clusterConfiguration/ControlPlaneNodesDropdown';
|
|
23
|
+
import { getNetworkType } from '../../helpers';
|
|
19
24
|
|
|
20
25
|
export type ClusterDetailsFormFieldsProps = {
|
|
21
26
|
isEditFlow: boolean;
|
|
@@ -65,7 +70,7 @@ export const ClusterDetailsFormFields: React.FC<ClusterDetailsFormFieldsProps> =
|
|
|
65
70
|
React.useEffect(() => {
|
|
66
71
|
if (!versions.length && !values.openshiftVersion) {
|
|
67
72
|
const fallbackOpenShiftVersion = allVersions.find((version) => version.default);
|
|
68
|
-
setFieldValue('customOpenshiftSelect', fallbackOpenShiftVersion);
|
|
73
|
+
setFieldValue('customOpenshiftSelect', fallbackOpenShiftVersion?.value);
|
|
69
74
|
setFieldValue('openshiftVersion', fallbackOpenShiftVersion?.value);
|
|
70
75
|
setFieldValue('networkType', getNetworkType(fallbackOpenShiftVersion));
|
|
71
76
|
}
|
|
@@ -85,23 +90,23 @@ export const ClusterDetailsFormFields: React.FC<ClusterDetailsFormFieldsProps> =
|
|
|
85
90
|
[versions],
|
|
86
91
|
);
|
|
87
92
|
|
|
88
|
-
const
|
|
93
|
+
const additionalSelectOption = React.useMemo(() => {
|
|
89
94
|
if (
|
|
90
95
|
values.customOpenshiftSelect &&
|
|
91
|
-
!
|
|
96
|
+
!versions.some((version) => version.value === values.customOpenshiftSelect)
|
|
92
97
|
) {
|
|
93
|
-
return
|
|
94
|
-
{
|
|
95
|
-
value: values.customOpenshiftSelect.value,
|
|
96
|
-
label: values.customOpenshiftSelect.label,
|
|
97
|
-
},
|
|
98
|
-
];
|
|
98
|
+
return allVersions.find((option) => option.value === values.customOpenshiftSelect);
|
|
99
99
|
}
|
|
100
|
-
return
|
|
101
|
-
}, [
|
|
100
|
+
return undefined;
|
|
101
|
+
}, [allVersions, values.customOpenshiftSelect, versions]);
|
|
102
|
+
|
|
103
|
+
const allowTNA = React.useMemo(() => {
|
|
104
|
+
const current =
|
|
105
|
+
values.customOpenshiftSelect ||
|
|
106
|
+
versions.find((version) => version.value === values.openshiftVersion)?.version;
|
|
102
107
|
|
|
103
|
-
|
|
104
|
-
|
|
108
|
+
return isMajorMinorVersionEqualOrGreater(current, '4.19') && values.platform === 'baremetal';
|
|
109
|
+
}, [values.customOpenshiftSelect, values.openshiftVersion, values.platform, versions]);
|
|
105
110
|
|
|
106
111
|
return (
|
|
107
112
|
<Form id="wizard-cluster-details__form">
|
|
@@ -150,7 +155,7 @@ export const ClusterDetailsFormFields: React.FC<ClusterDetailsFormFieldsProps> =
|
|
|
150
155
|
versions={versions}
|
|
151
156
|
showReleasesLink={false}
|
|
152
157
|
showOpenshiftVersionModal={() => setOpenshiftVersionModalOpen(true)}
|
|
153
|
-
|
|
158
|
+
customItem={additionalSelectOption}
|
|
154
159
|
/>
|
|
155
160
|
{openshiftVersionModalOpen && (
|
|
156
161
|
<OpenShiftVersionModal
|
|
@@ -163,44 +168,19 @@ export const ClusterDetailsFormFields: React.FC<ClusterDetailsFormFieldsProps> =
|
|
|
163
168
|
<ControlPlaneNodesDropdown
|
|
164
169
|
isDisabled={isEditFlow}
|
|
165
170
|
allowHighlyAvailable={allowHighlyAvailable}
|
|
171
|
+
allowTNA={allowTNA}
|
|
166
172
|
/>
|
|
167
173
|
{!isNutanix && (
|
|
168
174
|
<CpuArchitectureDropdown cpuArchitectures={cpuArchitectures} isDisabled={isEditFlow} />
|
|
169
175
|
)}
|
|
176
|
+
|
|
177
|
+
<ExternalPlatformsDropdown isDisabled={isEditFlow} />
|
|
178
|
+
|
|
170
179
|
{extensionAfter?.['openshiftVersion'] && extensionAfter['openshiftVersion']}
|
|
180
|
+
|
|
171
181
|
{!isEditFlow && <PullSecret />}
|
|
182
|
+
|
|
172
183
|
{extensionAfter?.['pullSecret'] && extensionAfter['pullSecret']}
|
|
173
|
-
{/* <DiskEncryptionControlGroup
|
|
174
|
-
values={values}
|
|
175
|
-
isDisabled={isPullSecretSet}
|
|
176
|
-
isSNO={isSNO({ highAvailabilityMode })}
|
|
177
|
-
/> */}
|
|
178
|
-
{isDiskEncryptionEnabled && values.diskEncryptionMode === 'tpmv2' && (
|
|
179
|
-
<Alert
|
|
180
|
-
variant={AlertVariant.warning}
|
|
181
|
-
isInline
|
|
182
|
-
title={
|
|
183
|
-
<FlexItem>
|
|
184
|
-
{t(
|
|
185
|
-
'ai:To use this encryption method, enable TPMv2 encryption in the BIOS of each selected host.',
|
|
186
|
-
)}
|
|
187
|
-
</FlexItem>
|
|
188
|
-
}
|
|
189
|
-
/>
|
|
190
|
-
)}
|
|
191
|
-
{isDiskEncryptionEnabled && values.diskEncryptionMode === 'tang' && (
|
|
192
|
-
<Alert
|
|
193
|
-
variant={AlertVariant.warning}
|
|
194
|
-
isInline
|
|
195
|
-
title={
|
|
196
|
-
<FlexItem>
|
|
197
|
-
{t(
|
|
198
|
-
'ai:The use of Tang encryption mode to encrypt your disks is only supported for bare metal or vSphere installations on user-provisioned infrastructure.',
|
|
199
|
-
)}
|
|
200
|
-
</FlexItem>
|
|
201
|
-
}
|
|
202
|
-
/>
|
|
203
|
-
)}
|
|
204
184
|
</Form>
|
|
205
185
|
);
|
|
206
186
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useTranslation } from '
|
|
2
|
+
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
3
3
|
|
|
4
4
|
// TODO we should use hostValidationFailureHints instead of passing this 'action' which is actually a hint
|
|
5
5
|
export const AdditionalNTPSourcesDialogToggle: React.FC = () => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AdditionalNTPSourcesDialogToggle';
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import * as Yup from 'yup';
|
|
3
|
+
import { Formik } from 'formik';
|
|
4
|
+
import { k8sPatch, Patch } from '@openshift-console/dynamic-plugin-sdk';
|
|
5
|
+
import { Alert, AlertActionLink, Grid, GridItem, Text, TextVariants } from '@patternfly/react-core';
|
|
6
|
+
import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
7
|
+
import { ClusterWizardStepHeader, useTranslation } from '../../../../common';
|
|
8
|
+
import { AgentClusterInstallK8sResource, AgentClusterInstallModel } from '../../../types';
|
|
9
|
+
import { ConfigMapForm, CustomManifestFormType } from './ConfigMapForm';
|
|
10
|
+
import { appendPatch } from '../../../utils';
|
|
11
|
+
|
|
12
|
+
export const ClusterDeploymentCustomManifestsStep = ({
|
|
13
|
+
agentClusterInstall,
|
|
14
|
+
}: {
|
|
15
|
+
agentClusterInstall: AgentClusterInstallK8sResource;
|
|
16
|
+
}) => {
|
|
17
|
+
const { t } = useTranslation();
|
|
18
|
+
|
|
19
|
+
const initialValues: CustomManifestFormType = {
|
|
20
|
+
configMaps:
|
|
21
|
+
agentClusterInstall.spec?.manifestsConfigMapRefs?.map(({ name }) => ({
|
|
22
|
+
name,
|
|
23
|
+
valid: false,
|
|
24
|
+
})) || [],
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const validationSchema = Yup.lazy((values: CustomManifestFormType) =>
|
|
28
|
+
Yup.object<CustomManifestFormType>({
|
|
29
|
+
configMaps: Yup.array()
|
|
30
|
+
.of(
|
|
31
|
+
Yup.object().shape({
|
|
32
|
+
name: Yup.string().required(t('ai:Config map name is required')),
|
|
33
|
+
valid: Yup.boolean().isTrue(t('ai:Config map not found')),
|
|
34
|
+
manifestNames: Yup.array()
|
|
35
|
+
.of(Yup.string())
|
|
36
|
+
.test(
|
|
37
|
+
'unique-manifests',
|
|
38
|
+
t(
|
|
39
|
+
'ai:Manifest names in each config map should be unique across all referenced config maps.',
|
|
40
|
+
),
|
|
41
|
+
(value) =>
|
|
42
|
+
// check if another config map has any manifests with the same names as this one
|
|
43
|
+
values.configMaps
|
|
44
|
+
.flatMap(({ manifestNames }) => manifestNames)
|
|
45
|
+
.filter((v) => value?.includes(v)).length === value?.length,
|
|
46
|
+
),
|
|
47
|
+
}),
|
|
48
|
+
)
|
|
49
|
+
.min(
|
|
50
|
+
agentClusterInstall.spec?.platformType === 'External' ? 1 : 0,
|
|
51
|
+
t('ai:At least one config map is required'),
|
|
52
|
+
),
|
|
53
|
+
}),
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
const onSubmit = async (values: CustomManifestFormType) => {
|
|
57
|
+
const patches: Patch[] = [];
|
|
58
|
+
appendPatch(
|
|
59
|
+
patches,
|
|
60
|
+
'/spec/manifestsConfigMapRefs',
|
|
61
|
+
values.configMaps.map(({ name }) => ({ name })),
|
|
62
|
+
agentClusterInstall.spec?.manifestsConfigMapRefs,
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
if (patches.length > 0) {
|
|
66
|
+
await k8sPatch({
|
|
67
|
+
model: AgentClusterInstallModel,
|
|
68
|
+
resource: agentClusterInstall,
|
|
69
|
+
data: patches,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
return (
|
|
75
|
+
<Grid hasGutter>
|
|
76
|
+
<GridItem>
|
|
77
|
+
<ClusterWizardStepHeader>{t('ai:Custom manifests')}</ClusterWizardStepHeader>
|
|
78
|
+
</GridItem>
|
|
79
|
+
<GridItem>
|
|
80
|
+
<Alert
|
|
81
|
+
variant="info"
|
|
82
|
+
isInline
|
|
83
|
+
title={t('ai:Add custom manifests')}
|
|
84
|
+
actionLinks={[
|
|
85
|
+
<AlertActionLink
|
|
86
|
+
key="define-config-map"
|
|
87
|
+
component={'a'}
|
|
88
|
+
href={`/k8s/ns/${
|
|
89
|
+
agentClusterInstall.metadata?.namespace as string
|
|
90
|
+
}/core~v1~ConfigMap`}
|
|
91
|
+
target="_blank"
|
|
92
|
+
rel="noopener noreferrer"
|
|
93
|
+
>
|
|
94
|
+
{t('ai:Define a config map')} <ExternalLinkAltIcon />
|
|
95
|
+
</AlertActionLink>,
|
|
96
|
+
]}
|
|
97
|
+
>
|
|
98
|
+
<Text component={TextVariants.p}>
|
|
99
|
+
{t(
|
|
100
|
+
'ai:Define a config map with your custom manifests and select it in the form below.',
|
|
101
|
+
)}
|
|
102
|
+
</Text>
|
|
103
|
+
<Text component={TextVariants.p}>
|
|
104
|
+
{t(
|
|
105
|
+
'ai:Manifest names in each config map should be unique across all referenced config maps.',
|
|
106
|
+
)}
|
|
107
|
+
</Text>
|
|
108
|
+
</Alert>
|
|
109
|
+
</GridItem>
|
|
110
|
+
<GridItem>
|
|
111
|
+
<Formik
|
|
112
|
+
initialValues={initialValues}
|
|
113
|
+
onSubmit={onSubmit}
|
|
114
|
+
validationSchema={validationSchema}
|
|
115
|
+
>
|
|
116
|
+
<ConfigMapForm namespace={agentClusterInstall.metadata?.namespace as string} />
|
|
117
|
+
</Formik>
|
|
118
|
+
</GridItem>
|
|
119
|
+
</Grid>
|
|
120
|
+
);
|
|
121
|
+
};
|