@openshift-assisted/ui-lib 2.9.7-cim → 2.9.9-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/ClusterDeployment/ClusterDeploymentDetails.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts +6 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/helpers.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/nodepool.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts +2 -0
- package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts +1 -0
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddHostModal.d.ts.map +1 -1
- package/build/@types/common/api/accounts-management-service/current-account-api.d.ts +6 -0
- package/build/@types/common/api/accounts-management-service/current-account-api.d.ts.map +1 -0
- package/build/@types/common/api/accounts-management-service/organizations-api.d.ts +6 -0
- package/build/@types/common/api/accounts-management-service/organizations-api.d.ts.map +1 -0
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/UISettingsAPI.d.ts +8 -0
- package/build/@types/common/api/assisted-service/UISettingsAPI.d.ts.map +1 -0
- package/build/@types/common/api/assisted-service/index.d.ts +1 -0
- package/build/@types/common/api/assisted-service/index.d.ts.map +1 -1
- package/build/@types/common/api/authorization-service/all-apis.d.ts +7 -0
- package/build/@types/common/api/authorization-service/all-apis.d.ts.map +1 -0
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts +4 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.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/DiskEncryptionMode.d.ts +3 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts +3 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts +2 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts +2 -0
- package/build/@types/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/PostInstallAlert.d.ts +6 -0
- package/build/@types/common/components/clusterDetail/PostInstallAlert.d.ts.map +1 -0
- package/build/@types/common/components/clusterDetail/index.d.ts +1 -0
- package/build/@types/common/components/clusterDetail/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts +2 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts +3 -3
- package/build/@types/common/components/newFeatureSupportLevels/types.d.ts.map +1 -1
- package/build/@types/common/components/ui/NoPermissionsError.d.ts +3 -0
- package/build/@types/common/components/ui/NoPermissionsError.d.ts.map +1 -0
- package/build/@types/common/components/ui/formik/InputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/types.d.ts +2 -2
- package/build/@types/common/components/ui/formik/types.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +1 -0
- package/build/@types/common/components/ui/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +1 -1
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/features/featureGate.d.ts +1 -1
- package/build/@types/common/features/featureGate.d.ts.map +1 -1
- package/build/@types/common/services/DateAndTime.d.ts.map +1 -0
- package/build/@types/common/types/cpuArchitecture.d.ts +1 -1
- package/build/@types/common/types/cpuArchitecture.d.ts.map +1 -1
- package/build/@types/common/types/featureSupportLevel.d.ts +3 -3
- package/build/@types/common/types/featureSupportLevel.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/AddHosts.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts +1 -2
- package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts +3 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.d.ts +1 -4
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts +5 -4
- package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.d.ts +3 -4
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/data/dataTypes.d.ts +0 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/data/dataTypes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.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 +1 -2
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +5 -3
- 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/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts +4 -3
- package/build/@types/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts +3 -3
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/OcmFormFields.d.ts +1 -1
- package/build/@types/ocm/hooks/index.d.ts +1 -0
- package/build/@types/ocm/hooks/index.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useOpenshiftVersions.d.ts +1 -2
- package/build/@types/ocm/hooks/useOpenshiftVersions.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useSupportLevelsAPI.d.ts +5 -3
- package/build/@types/ocm/hooks/useSupportLevelsAPI.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useUISettings.d.ts +10 -0
- package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -0
- package/build/@types/ocm/services/ClusterDetailsService.d.ts +2 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts +0 -1
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/Day2ClusterService.d.ts +3 -2
- package/build/@types/ocm/services/Day2ClusterService.d.ts.map +1 -1
- package/build/@types/ocm/services/UISettingsService.d.ts +8 -0
- package/build/@types/ocm/services/UISettingsService.d.ts.map +1 -0
- package/build/@types/ocm/services/index.d.ts +1 -0
- package/build/@types/ocm/services/index.d.ts.map +1 -1
- package/build/@types/ocm/services/types.d.ts +4 -0
- package/build/@types/ocm/services/types.d.ts.map +1 -1
- package/build/cjs/cim/components/Agent/BMCForm.js +3 -3
- package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetails.js +58 -55
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetails.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js +9 -5
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js +6 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/helpers.js +4 -2
- package/build/cjs/cim/components/ClusterDeployment/helpers.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/utils/nodepool.js +6 -5
- package/build/cjs/cim/components/Hypershift/utils/nodepool.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +3 -1
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/modals/AddHostModal.js +4 -4
- package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
- package/build/cjs/common/api/accounts-management-service/access-token-api.js +1 -1
- package/build/cjs/common/api/accounts-management-service/current-account-api.js +17 -0
- package/build/cjs/common/api/accounts-management-service/current-account-api.js.map +1 -0
- package/build/cjs/common/api/accounts-management-service/organizations-api.js +19 -0
- package/build/cjs/common/api/accounts-management-service/organizations-api.js.map +1 -0
- package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js +8 -5
- package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/UISettingsAPI.js +21 -0
- package/build/cjs/common/api/assisted-service/UISettingsAPI.js.map +1 -0
- package/build/cjs/common/api/assisted-service/index.js +3 -1
- package/build/cjs/common/api/assisted-service/index.js.map +1 -1
- package/build/cjs/common/api/authorization-service/all-apis.js +23 -0
- package/build/cjs/common/api/authorization-service/all-apis.js.map +1 -0
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +4 -4
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js +6 -4
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.js +5 -3
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/PostInstallAlert.js +16 -0
- package/build/cjs/common/components/clusterDetail/PostInstallAlert.js.map +1 -0
- package/build/cjs/common/components/clusterDetail/index.js +3 -1
- package/build/cjs/common/components/clusterDetail/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +3 -0
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js +2 -2
- package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
- package/build/cjs/common/components/ui/NoPermissionsError.js +14 -0
- package/build/cjs/common/components/ui/NoPermissionsError.js.map +1 -0
- package/build/cjs/common/components/ui/formik/InputField.js +5 -5
- package/build/cjs/common/components/ui/formik/InputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js +5 -2
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SelectField.js +1 -1
- package/build/cjs/common/components/ui/formik/SelectField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +14 -6
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +3 -1
- package/build/cjs/common/components/ui/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +4 -2
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/features/featureGate.js +1 -3
- package/build/cjs/common/features/featureGate.js.map +1 -1
- package/build/cjs/common/services/DateAndTime.js.map +1 -0
- package/build/cjs/common/types/cpuArchitecture.js +5 -9
- package/build/cjs/common/types/cpuArchitecture.js.map +1 -1
- package/build/cjs/common/types/featureSupportLevel.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/AddHosts.js +1 -2
- package/build/cjs/ocm/components/AddHosts/AddHosts.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js +2 -2
- package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js +4 -4
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.js +7 -6
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +5 -22
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.js +1 -13
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +24 -3
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +22 -32
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +7 -5
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +3 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +6 -12
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js +49 -123
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.js +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.js +14 -19
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +17 -17
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +2 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +2 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +3 -8
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +5 -12
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +18 -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 +45 -36
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +2 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +4 -4
- package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +1 -3
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +8 -2
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
- package/build/cjs/ocm/hooks/index.js +3 -1
- package/build/cjs/ocm/hooks/index.js.map +1 -1
- package/build/cjs/ocm/hooks/useOpenshiftVersions.js +0 -5
- package/build/cjs/ocm/hooks/useOpenshiftVersions.js.map +1 -1
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js +38 -4
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
- package/build/cjs/ocm/hooks/useUISettings.js +62 -0
- package/build/cjs/ocm/hooks/useUISettings.js.map +1 -0
- package/build/cjs/ocm/services/ClusterDetailsService.js +2 -2
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js +0 -8
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/Day2ClusterService.js +13 -4
- package/build/cjs/ocm/services/Day2ClusterService.js.map +1 -1
- package/build/cjs/ocm/services/UISettingsService.js +18 -0
- package/build/cjs/ocm/services/UISettingsService.js.map +1 -0
- package/build/cjs/ocm/services/index.js +3 -1
- package/build/cjs/ocm/services/index.js.map +1 -1
- package/lib/cim/components/Agent/BMCForm.tsx +3 -3
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetails.tsx +112 -102
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.tsx +17 -5
- package/lib/cim/components/ClusterDeployment/ClusterDetailsFormFields.tsx +9 -2
- package/lib/cim/components/ClusterDeployment/helpers.ts +13 -10
- package/lib/cim/components/Hypershift/utils/nodepool.ts +3 -2
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +11 -2
- package/lib/cim/components/helpers/versions.ts +5 -0
- package/lib/cim/components/modals/AddHostModal.tsx +5 -0
- package/lib/common/api/accounts-management-service/access-token-api.ts +1 -1
- package/lib/common/api/accounts-management-service/current-account-api.ts +13 -0
- package/lib/common/api/accounts-management-service/organizations-api.ts +15 -0
- package/lib/common/api/assisted-service/NewFeatureSupportLevelsAPI.ts +9 -5
- package/lib/common/api/assisted-service/UISettingsAPI.ts +24 -0
- package/lib/common/api/assisted-service/index.ts +1 -0
- package/lib/common/api/authorization-service/all-apis.ts +28 -0
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +6 -4
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx +5 -1
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx +27 -16
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.tsx +27 -17
- package/lib/common/components/clusterConfiguration/DownloadIso.tsx +3 -1
- package/lib/common/components/clusterConfiguration/OpenShiftVersionSelect.tsx +4 -1
- package/lib/common/components/clusterDetail/PostInstallAlert.tsx +29 -0
- package/lib/common/components/clusterDetail/index.ts +1 -0
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +3 -0
- package/lib/common/components/hosts/HostRowDetail.tsx +3 -1
- package/lib/common/components/newFeatureSupportLevels/types.ts +4 -2
- package/lib/common/components/ui/NoPermissionsError.tsx +19 -0
- package/lib/common/components/ui/formik/InputField.tsx +4 -5
- package/lib/common/components/ui/formik/RichInputField.tsx +6 -2
- package/lib/common/components/ui/formik/SelectField.tsx +1 -1
- package/lib/common/components/ui/formik/types.ts +2 -1
- package/lib/common/components/ui/formik/validationSchemas.ts +16 -6
- package/lib/common/components/ui/index.ts +1 -0
- package/lib/common/config/constants.ts +3 -2
- package/lib/common/features/featureGate.tsx +0 -4
- package/lib/common/types/cpuArchitecture.ts +3 -8
- package/lib/common/types/featureSupportLevel.ts +6 -5
- package/lib/ocm/components/AddHosts/AddHosts.tsx +1 -3
- package/lib/ocm/components/AddHosts/InventoryAddHost.tsx +2 -8
- package/lib/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.tsx +6 -11
- package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.tsx +34 -19
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +6 -37
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.tsx +1 -15
- package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +62 -5
- package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +25 -32
- package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +23 -12
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +7 -7
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +20 -27
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.tsx +3 -3
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.tsx +69 -182
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.tsx +9 -15
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/data/dataTypes.ts +0 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +48 -25
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +12 -5
- package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +2 -1
- package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +2 -1
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +3 -17
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +9 -16
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +18 -16
- package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +5 -3
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +75 -54
- package/lib/ocm/components/clusters/ClusterPage.tsx +2 -1
- package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +14 -3
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +1 -8
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +18 -3
- package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +1 -0
- package/lib/ocm/hooks/index.ts +1 -0
- package/lib/ocm/hooks/useOpenshiftVersions.tsx +1 -15
- package/lib/ocm/hooks/useSupportLevelsAPI.ts +65 -5
- package/lib/ocm/hooks/useUISettings.ts +71 -0
- package/lib/ocm/services/ClusterDetailsService.ts +3 -1
- package/lib/ocm/services/ClustersService.ts +0 -10
- package/lib/ocm/services/Day2ClusterService.ts +17 -3
- package/lib/ocm/services/UISettingsService.ts +17 -0
- package/lib/ocm/services/index.ts +1 -0
- package/lib/ocm/services/types.ts +5 -0
- package/package.json +3 -3
- package/build/@types/common/sevices/DateAndTime.d.ts.map +0 -1
- package/build/cjs/common/sevices/DateAndTime.js.map +0 -1
- /package/build/@types/common/{sevices → services}/DateAndTime.d.ts +0 -0
- /package/build/cjs/common/{sevices → services}/DateAndTime.js +0 -0
- /package/lib/common/{sevices → services}/DateAndTime.tsx +0 -0
|
@@ -16,12 +16,10 @@ const HostsClusterDetailTabContentErrors_1 = require("./HostsClusterDetailTabCon
|
|
|
16
16
|
const useInfraEnv_1 = tslib_1.__importDefault(require("../../hooks/useInfraEnv"));
|
|
17
17
|
const CpuArchitectureService_1 = require("../../services/CpuArchitectureService");
|
|
18
18
|
const HostsClusterDetailTabContent = ({ cluster: ocmCluster, isVisible, }) => {
|
|
19
|
-
var _a;
|
|
19
|
+
var _a, _b;
|
|
20
20
|
const [error, setError] = react_1.default.useState();
|
|
21
21
|
const [day2Cluster, setDay2Cluster] = (0, hooks_1.useStateSafely)(null);
|
|
22
22
|
const pullSecret = (0, hooks_2.usePullSecret)();
|
|
23
|
-
const { getCpuArchitectures, normalizeClusterVersion, loading: areOpenshiftVersionsLoading, } = (0, hooks_2.useOpenshiftVersions)();
|
|
24
|
-
const cpuArchitecturesByVersionImage = getCpuArchitectures(ocmCluster.openshift_version);
|
|
25
23
|
const handleClickTryAgainLink = react_1.default.useCallback(() => {
|
|
26
24
|
setError(undefined);
|
|
27
25
|
setDay2Cluster(null);
|
|
@@ -40,12 +38,7 @@ const HostsClusterDetailTabContent = ({ cluster: ocmCluster, isVisible, }) => {
|
|
|
40
38
|
if (day1ClusterHostCount === 0 || !openshiftClusterId) {
|
|
41
39
|
setError(react_1.default.createElement(HostsClusterDetailTabContentErrors_1.UnableToAddHostsError, { onTryAgain: handleClickTryAgainLink }));
|
|
42
40
|
}
|
|
43
|
-
if (!
|
|
44
|
-
const normalizedVersion = normalizeClusterVersion(ocmCluster.openshift_version);
|
|
45
|
-
if (!normalizedVersion) {
|
|
46
|
-
setError(react_1.default.createElement(HostsClusterDetailTabContentErrors_1.UnsupportedVersionError, { version: ocmCluster.openshift_version, onTryAgain: handleClickTryAgainLink }));
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
41
|
+
if (!day2Cluster && pullSecret) {
|
|
49
42
|
const { apiVipDnsname, errorType } = (0, Day2ClusterService_1.getApiVipDnsName)(ocmCluster);
|
|
50
43
|
if (errorType) {
|
|
51
44
|
const wrongUrlMessage = errorType === 'console'
|
|
@@ -66,7 +59,7 @@ const HostsClusterDetailTabContent = ({ cluster: ocmCluster, isVisible, }) => {
|
|
|
66
59
|
const loadDay2Cluster = () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
67
60
|
var _e, _f;
|
|
68
61
|
try {
|
|
69
|
-
const day2Cluster = yield Day2ClusterService_1.default.fetchCluster(ocmCluster, pullSecret
|
|
62
|
+
const day2Cluster = yield Day2ClusterService_1.default.fetchCluster(ocmCluster, pullSecret);
|
|
70
63
|
const aiCluster = Day2ClusterService_1.default.completeAiClusterWithOcmCluster(day2Cluster, ocmCluster);
|
|
71
64
|
setDay2Cluster(aiCluster !== null && aiCluster !== void 0 ? aiCluster : null);
|
|
72
65
|
}
|
|
@@ -81,17 +74,7 @@ const HostsClusterDetailTabContent = ({ cluster: ocmCluster, isVisible, }) => {
|
|
|
81
74
|
});
|
|
82
75
|
void loadDay2Cluster();
|
|
83
76
|
}
|
|
84
|
-
}, [
|
|
85
|
-
ocmCluster,
|
|
86
|
-
pullSecret,
|
|
87
|
-
day2Cluster,
|
|
88
|
-
setDay2Cluster,
|
|
89
|
-
isVisible,
|
|
90
|
-
normalizeClusterVersion,
|
|
91
|
-
handleClickTryAgainLink,
|
|
92
|
-
cpuArchitecturesByVersionImage,
|
|
93
|
-
areOpenshiftVersionsLoading,
|
|
94
|
-
]);
|
|
77
|
+
}, [ocmCluster, pullSecret, day2Cluster, setDay2Cluster, isVisible, handleClickTryAgainLink]);
|
|
95
78
|
const refreshCluster = react_1.default.useCallback(() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
96
79
|
if (!(day2Cluster === null || day2Cluster === void 0 ? void 0 : day2Cluster.id)) {
|
|
97
80
|
return;
|
|
@@ -119,7 +102,7 @@ const HostsClusterDetailTabContent = ({ cluster: ocmCluster, isVisible, }) => {
|
|
|
119
102
|
return react_1.default.createElement(common_1.LoadingState, { content: "Preparing cluster for adding hosts..." });
|
|
120
103
|
}
|
|
121
104
|
return (react_1.default.createElement(common_1.AddHostsContextProvider, { cluster: day2Cluster, resetCluster: refreshCluster, ocpConsoleUrl: (_a = ocmCluster === null || ocmCluster === void 0 ? void 0 : ocmCluster.console) === null || _a === void 0 ? void 0 : _a.url, canEdit: ocmCluster.canEdit },
|
|
122
|
-
react_1.default.createElement(featureSupportLevels_1.NewFeatureSupportLevelProvider, { loadingUi: react_1.default.createElement(common_1.LoadingState, null), cluster: day2Cluster, cpuArchitecture: infraEnv === null || infraEnv === void 0 ? void 0 : infraEnv.cpuArchitecture, openshiftVersion: day2Cluster.openshiftVersion },
|
|
105
|
+
react_1.default.createElement(featureSupportLevels_1.NewFeatureSupportLevelProvider, { loadingUi: react_1.default.createElement(common_1.LoadingState, null), cluster: day2Cluster, cpuArchitecture: infraEnv === null || infraEnv === void 0 ? void 0 : infraEnv.cpuArchitecture, openshiftVersion: day2Cluster.openshiftVersion, platformType: (_b = day2Cluster.platform) === null || _b === void 0 ? void 0 : _b.type },
|
|
123
106
|
react_1.default.createElement(AddHosts_1.AddHosts, null))));
|
|
124
107
|
};
|
|
125
108
|
exports.HostsClusterDetailTabContent = HostsClusterDetailTabContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostsClusterDetailTabContent.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx"],"names":[],"mappings":";;;;AAAA,0DAAyC;AACzC,iDAAuD;AACvD,4CAMyB;AACzB,
|
|
1
|
+
{"version":3,"file":"HostsClusterDetailTabContent.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx"],"names":[],"mappings":";;;;AAAA,0DAAyC;AACzC,iDAAuD;AACvD,4CAMyB;AACzB,uCAA4C;AAC5C,uDAAmE;AACnE,gGAAyF;AACzF,mCAA2C;AAC3C,qDAAuD;AACvD,0CAAuC;AAEvC,kEAAyE;AACzE,6FAI8C;AAC9C,kFAAkD;AAClD,kFAAoF;AAG7E,MAAM,4BAA4B,GAAG,CAAC,EAC3C,OAAO,EAAE,UAAU,EACnB,SAAS,GACkB,EAAE,EAAE;;IAC/B,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,eAAK,CAAC,QAAQ,EAAa,CAAC;IACtD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,sBAAc,EAAiB,IAAI,CAAC,CAAC;IAC3E,MAAM,UAAU,GAAG,IAAA,qBAAa,GAAE,CAAC;IAEnC,MAAM,uBAAuB,GAAG,eAAK,CAAC,WAAW,CAAC,GAAG,EAAE;QACrD,QAAQ,CAAC,SAAS,CAAC,CAAC;Q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EAAE,UAAU,CAAC,OAAO;QAE3B,8BAAC,qDAA8B,IAC7B,SAAS,EAAE,8BAAC,qBAAY,OAAG,EAC3B,OAAO,EAAE,WAAW,EACpB,eAAe,EAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,eAAkC,EAC7D,gBAAgB,EAAE,WAAW,CAAC,gBAAgB,EAC9C,YAAY,EAAE,MAAA,WAAW,CAAC,QAAQ,0CAAE,IAAI;YAExC,8BAAC,mBAAQ,OAAG,CACmB,CACT,CAC3B,CAAC;AACJ,CAAC,CAAC;AA9IW,QAAA,4BAA4B,gCA8IvC"}
|
package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReloadFailedError = exports.UnableToAddHostsError = exports.
|
|
3
|
+
exports.ReloadFailedError = exports.UnableToAddHostsError = exports.AddHostsApiError = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const react_core_1 = require("@patternfly/react-core");
|
|
@@ -15,18 +15,6 @@ const UnableToAddHostsError = ({ onTryAgain }) => {
|
|
|
15
15
|
"in a few minutes."));
|
|
16
16
|
};
|
|
17
17
|
exports.UnableToAddHostsError = UnableToAddHostsError;
|
|
18
|
-
const UnsupportedVersionError = ({ version, onTryAgain }) => {
|
|
19
|
-
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
20
|
-
"Unsupported OpenShift cluster version: ",
|
|
21
|
-
version || 'N/A',
|
|
22
|
-
".",
|
|
23
|
-
react_1.default.createElement("br", null),
|
|
24
|
-
"Check your connection and",
|
|
25
|
-
' ',
|
|
26
|
-
react_1.default.createElement(react_core_1.Button, { variant: 'link', isInline: true, onClick: onTryAgain }, "try again"),
|
|
27
|
-
"."));
|
|
28
|
-
};
|
|
29
|
-
exports.UnsupportedVersionError = UnsupportedVersionError;
|
|
30
18
|
const ReloadFailedError = ({ onTryAgain }) => {
|
|
31
19
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
32
20
|
"Failed to reload cluster data.",
|
package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostsClusterDetailTabContentErrors.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAgD;AAMhD,MAAM,qBAAqB,GAAG,CAAC,EAAE,UAAU,EAAiB,EAAE,EAAE;IAC9D,OAAO,CACL;;QAEE,yCAAM;;QACmE,GAAG;QAC5E,8BAAC,mBAAM,IAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,QAAC,OAAO,EAAE,UAAU,gBAE5C;QAAC,GAAG;4BAEZ,CACJ,CAAC;AACJ,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"HostsClusterDetailTabContentErrors.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAgD;AAMhD,MAAM,qBAAqB,GAAG,CAAC,EAAE,UAAU,EAAiB,EAAE,EAAE;IAC9D,OAAO,CACL;;QAEE,yCAAM;;QACmE,GAAG;QAC5E,8BAAC,mBAAM,IAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,QAAC,OAAO,EAAE,UAAU,gBAE5C;QAAC,GAAG;4BAEZ,CACJ,CAAC;AACJ,CAAC,CAAC;AAgCyB,sDAAqB;AA9BhD,MAAM,iBAAiB,GAAG,CAAC,EAAE,UAAU,EAAiB,EAAE,EAAE;IAC1D,OAAO,CACL;;QAEE,yCAAM;;QACoB,GAAG;QAC7B,8BAAC,mBAAM,IAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,QAAC,OAAO,EAAE,UAAU,gBAE5C;YAER,CACJ,CAAC;AACJ,CAAC,CAAC;AAkBgD,8CAAiB;AAhBnE,MAAM,gBAAgB,GAAG,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAyC,EAAE,EAAE;IAC3F,OAAO,CACL;QACG,QAAQ;YACP,CAAC,CAAC,yDAAyD;YAC3D,CAAC,CAAC,+CAA+C;QACnD,yCAAM;;QACoB,GAAG;QAC7B,8BAAC,mBAAM,IAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,QAAC,OAAO,EAAE,UAAU,gBAE5C;YAER,CACJ,CAAC;AACJ,CAAC,CAAC;AAEO,4CAAgB"}
|
|
@@ -7,6 +7,9 @@ const react_core_1 = require("@patternfly/react-core");
|
|
|
7
7
|
const react_icons_1 = require("@patternfly/react-icons");
|
|
8
8
|
const formik_1 = require("formik");
|
|
9
9
|
const common_1 = require("../../../common");
|
|
10
|
+
const newFeatureSupportLevels_1 = require("../../../common/components/newFeatureSupportLevels");
|
|
11
|
+
const useSupportLevelsAPI_1 = tslib_1.__importDefault(require("../../hooks/useSupportLevelsAPI"));
|
|
12
|
+
const constants_1 = require("./platformIntegration/constants");
|
|
10
13
|
exports.architectureData = {
|
|
11
14
|
[common_1.CpuArchitecture.x86]: {
|
|
12
15
|
description: '',
|
|
@@ -34,18 +37,36 @@ const isCpuArchitectureSupported = (cpuArchitectures, cpuArchitecture) => {
|
|
|
34
37
|
const cpuArchFound = cpuArchitectures.find((cpuArch) => cpuArch === cpuArchitecture);
|
|
35
38
|
return cpuArchFound !== undefined;
|
|
36
39
|
};
|
|
37
|
-
const CpuArchitectureDropdown = ({ openshiftVersion, day1CpuArchitecture, cpuArchitectures, onChange, }) => {
|
|
40
|
+
const CpuArchitectureDropdown = ({ openshiftVersion, day1CpuArchitecture, cpuArchitectures, onChange, platformType, }) => {
|
|
41
|
+
const newFeatureSupportLevelContext = (0, newFeatureSupportLevels_1.useNewFeatureSupportLevel)();
|
|
38
42
|
const [field, { value: selectedCpuArchitecture }, { setValue }] = (0, formik_1.useField)(INPUT_NAME);
|
|
39
43
|
const [isOpen, setOpen] = react_1.default.useState(false);
|
|
40
44
|
const prevVersionRef = react_1.default.useRef(openshiftVersion);
|
|
41
45
|
const [currentCpuArch, setCurrentCpuArch] = react_1.default.useState(day1CpuArchitecture ? exports.architectureData[day1CpuArchitecture].label : common_1.CpuArchitecture.x86);
|
|
46
|
+
const supportLevelDataForAllCpuArchs = (0, useSupportLevelsAPI_1.default)('featureForAllCpus', openshiftVersion, undefined, platformType, cpuArchitectures);
|
|
42
47
|
const enabledItems = react_1.default.useMemo(() => {
|
|
43
48
|
if (cpuArchitectures !== undefined) {
|
|
44
49
|
return cpuArchitectures.map((cpuArch) => {
|
|
45
|
-
|
|
50
|
+
let isCpuSupported = true;
|
|
51
|
+
if (supportLevelDataForAllCpuArchs) {
|
|
52
|
+
const featureSupportLevelData = supportLevelDataForAllCpuArchs[cpuArch];
|
|
53
|
+
isCpuSupported = newFeatureSupportLevelContext.isFeatureSupported(constants_1.ExternalPlaformIds[platformType ? platformType : 'baremetal'], featureSupportLevelData !== null && featureSupportLevelData !== void 0 ? featureSupportLevelData : undefined);
|
|
54
|
+
}
|
|
55
|
+
const disabledReason = `This cluster is using the ${platformType ? constants_1.ExternalPlatformLabels[platformType] : ''} platform which doesn't allow this CPU architecture.`;
|
|
56
|
+
return (react_1.default.createElement(react_core_1.DropdownItem, { key: cpuArch, id: cpuArch, description: cpuArch ? exports.architectureData[cpuArch].description : '', isAriaDisabled: !isCpuSupported },
|
|
57
|
+
react_1.default.createElement(react_core_1.Split, null,
|
|
58
|
+
react_1.default.createElement(react_core_1.SplitItem, null,
|
|
59
|
+
react_1.default.createElement(react_core_1.Tooltip, { hidden: isCpuSupported, content: disabledReason, position: "top" },
|
|
60
|
+
react_1.default.createElement("div", null, cpuArch ? exports.architectureData[cpuArch].label : ''))),
|
|
61
|
+
react_1.default.createElement(react_core_1.SplitItem, { isFilled: true }))));
|
|
46
62
|
});
|
|
47
63
|
}
|
|
48
|
-
}, [
|
|
64
|
+
}, [
|
|
65
|
+
cpuArchitectures,
|
|
66
|
+
supportLevelDataForAllCpuArchs,
|
|
67
|
+
newFeatureSupportLevelContext,
|
|
68
|
+
platformType,
|
|
69
|
+
]);
|
|
49
70
|
const onSelect = react_1.default.useCallback((event) => {
|
|
50
71
|
const selectedCpuArch = event === null || event === void 0 ? void 0 : event.currentTarget.id;
|
|
51
72
|
setValue(selectedCpuArch);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CpuArchitectureDropdown.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"CpuArchitectureDropdown.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAQgC;AAChC,yDAAwD;AACxD,mCAAkC;AAClC,4CAMyB;AAMzB,gGAG4D;AAC5D,kGAAkE;AAClE,+DAA6F;AAQhF,QAAA,gBAAgB,GAA0D;IACrF,CAAC,wBAAe,CAAC,GAAG,CAAC,EAAE;QACrB,WAAW,EAAE,EAAE;QACf,KAAK,EAAE,QAAQ;KAChB;IACD,CAAC,wBAAe,CAAC,GAAG,CAAC,EAAE;QACrB,WAAW,EAAE,oCAAoC;QACjD,qBAAqB,EAAE,oBAAoB;QAC3C,KAAK,EAAE,OAAO;KACf;IACD,CAAC,wBAAe,CAAC,OAAO,CAAC,EAAE;QACzB,WAAW,EAAE,oCAAoC;QACjD,qBAAqB,EAAE,sBAAsB;QAC7C,KAAK,EAAE,qBAAqB;KAC7B;IACD,CAAC,wBAAe,CAAC,KAAK,CAAC,EAAE;QACvB,WAAW,EAAE,oCAAoC;QACjD,qBAAqB,EAAE,oBAAoB;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AC,EAAE,EAAE,iBAAiB,OAAO,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,kBAAkB;QACpF,8BAAC,qBAAQ,oBACH,KAAK,IACT,EAAE,EAAE,OAAO,EACX,aAAa,EAAE,YAAY,EAC3B,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,SAAS,EAAC,YAAY,EACtB,QAAQ,EAAE,QAAQ,IAClB,CACQ,CACb,CAAC;AACJ,CAAC,CAAC;AACF,kBAAe,uBAAuB,CAAC"}
|
|
@@ -8,8 +8,8 @@ const common_1 = require("../../../common");
|
|
|
8
8
|
const OcmFormFields_1 = require("../ui/OcmFormFields");
|
|
9
9
|
const ClusterWizardContext_1 = require("../clusterWizard/ClusterWizardContext");
|
|
10
10
|
const DeleteCustomManifestModal_1 = tslib_1.__importDefault(require("./manifestsConfiguration/DeleteCustomManifestModal"));
|
|
11
|
-
const useClusterCustomManifests_1 = tslib_1.__importDefault(require("../../hooks/useClusterCustomManifests"));
|
|
12
11
|
const services_1 = require("../../services");
|
|
12
|
+
const apis_1 = require("../../services/apis");
|
|
13
13
|
const Label = () => {
|
|
14
14
|
return (React.createElement(React.Fragment, null,
|
|
15
15
|
"Include custom manifests",
|
|
@@ -17,49 +17,39 @@ const Label = () => {
|
|
|
17
17
|
React.createElement(common_1.PopoverIcon, { noVerticalAlign: true, bodyContent: React.createElement("p", null, "Incorporate third-party manifests that are not supported in Assisted Installer and APIs.") })));
|
|
18
18
|
};
|
|
19
19
|
const CustomManifestCheckbox = ({ clusterId, isDisabled }) => {
|
|
20
|
-
const [{ name }, , { setValue }] = (0, formik_1.useField)('addCustomManifest');
|
|
20
|
+
const [{ name }, { value }, { setValue }] = (0, formik_1.useField)('addCustomManifest');
|
|
21
21
|
const fieldId = (0, common_1.getFieldId)(name, 'input');
|
|
22
22
|
const clusterWizardContext = (0, ClusterWizardContext_1.useClusterWizardContext)();
|
|
23
|
-
const { customManifests } = (0, useClusterCustomManifests_1.default)(clusterId, false);
|
|
24
23
|
const [isDeleteCustomManifestsOpen, setDeleteCustomManifestsOpen] = React.useState(false);
|
|
25
|
-
const
|
|
26
|
-
|
|
24
|
+
const cleanCustomManifests = React.useCallback(() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
25
|
+
const { data: manifests } = yield apis_1.ClustersAPI.getManifests(clusterId);
|
|
26
|
+
void services_1.ClustersService.removeClusterManifests(manifests, clusterId);
|
|
27
27
|
setValue(false);
|
|
28
|
-
clusterWizardContext.
|
|
28
|
+
clusterWizardContext.setCustomManifestsStep(false);
|
|
29
29
|
setDeleteCustomManifestsOpen(false);
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
yield clusterWizardContext.updateUISettings({
|
|
31
|
+
addCustomManifests: false,
|
|
32
|
+
customManifestsAdded: false,
|
|
33
|
+
});
|
|
34
|
+
}), [clusterWizardContext, setValue, clusterId]);
|
|
35
|
+
const onChange = React.useCallback((checked) => {
|
|
36
|
+
var _a;
|
|
37
|
+
if (!checked && ((_a = clusterWizardContext.uiSettings) === null || _a === void 0 ? void 0 : _a.customManifestsAdded)) {
|
|
38
|
+
setDeleteCustomManifestsOpen(true);
|
|
34
39
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
//For new clusters is not necessary to show the delete modal
|
|
39
|
-
if (clusterId)
|
|
40
|
-
setDeleteCustomManifestsOpen(true);
|
|
41
|
-
else {
|
|
42
|
-
cleanCustomManifests();
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
setValue(checked);
|
|
47
|
-
setManifestsRemoved(false);
|
|
48
|
-
clusterWizardContext.setAddCustomManifests(checked);
|
|
49
|
-
}
|
|
50
|
-
}, [setValue, clusterWizardContext, setDeleteCustomManifestsOpen, cleanCustomManifests, clusterId]);
|
|
40
|
+
setValue(checked);
|
|
41
|
+
clusterWizardContext.setCustomManifestsStep(checked);
|
|
42
|
+
}, [setValue, clusterWizardContext, setDeleteCustomManifestsOpen]);
|
|
51
43
|
const onClose = React.useCallback(() => {
|
|
52
44
|
setValue(true);
|
|
53
|
-
clusterWizardContext.
|
|
45
|
+
clusterWizardContext.setCustomManifestsStep(true);
|
|
54
46
|
setDeleteCustomManifestsOpen(false);
|
|
55
|
-
setManifestsRemoved(false);
|
|
56
47
|
}, [clusterWizardContext, setValue]);
|
|
57
|
-
const customManifestsActivated = clusterWizardContext.addCustomManifests || (customManifests && customManifests.length > 0);
|
|
58
48
|
return (React.createElement(React.Fragment, null,
|
|
59
49
|
React.createElement(react_core_1.FormGroup, { id: `form-control__${fieldId}`, isInline: true, fieldId: fieldId },
|
|
60
|
-
React.createElement(OcmFormFields_1.OcmCheckbox, { id: fieldId, name: name, label: React.createElement(Label, null), "aria-describedby": `${fieldId}-helper`, description: React.createElement(common_1.HelperText, { fieldId: fieldId }, "Additional manifests will be applied at the install time for advanced configuration of the cluster."), onChange:
|
|
61
|
-
React.createElement(DeleteCustomManifestModal_1.default, { isOpen: isDeleteCustomManifestsOpen, onClose: onClose, onDelete: () => cleanCustomManifests() })),
|
|
62
|
-
|
|
50
|
+
React.createElement(OcmFormFields_1.OcmCheckbox, { id: fieldId, name: name, label: React.createElement(Label, null), "aria-describedby": `${fieldId}-helper`, description: React.createElement(common_1.HelperText, { fieldId: fieldId }, "Additional manifests will be applied at the install time for advanced configuration of the cluster."), onChange: onChange, className: "with-tooltip", isChecked: value, isDisabled: isDisabled }),
|
|
51
|
+
React.createElement(DeleteCustomManifestModal_1.default, { isOpen: isDeleteCustomManifestsOpen, onClose: onClose, onDelete: () => void cleanCustomManifests() })),
|
|
52
|
+
value && (React.createElement(react_core_1.Alert, { isInline: true, variant: "info", title: 'This is an advanced configuration feature.' }, "Custom manifests will be added to the wizard as a new step."))));
|
|
63
53
|
};
|
|
64
54
|
exports.default = CustomManifestCheckbox;
|
|
65
55
|
//# sourceMappingURL=CustomManifestCheckbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomManifestCheckbox.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAA0D;AAC1D,mCAAkC;AAClC,4CAAsE;AACtE,uDAAkD;AAClD,gFAAgF;AAChF,2HAA2F;AAC3F,
|
|
1
|
+
{"version":3,"file":"CustomManifestCheckbox.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,uDAA0D;AAC1D,mCAAkC;AAClC,4CAAsE;AACtE,uDAAkD;AAClD,gFAAgF;AAChF,2HAA2F;AAC3F,6CAAiD;AACjD,8CAAkD;AAElD,MAAM,KAAK,GAAG,GAAG,EAAE;IACjB,OAAO,CACL;;QAC2B,GAAG;QAC5B,oBAAC,oBAAW,IACV,eAAe,QACf,WAAW,EACT,0HAEI,GAEN,CACD,CACJ,CAAC;AACJ,CAAC,CAAC;AAIF,MAAM,sBAAsB,GAAG,CAAC,EAAE,SAAS,EAAE,UAAU,EAA+B,EAAE,EAAE;IACxF,MAAM,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAA,iBAAQ,EAAU,mBAAmB,CAAC,CAAC;IACnF,MAAM,OAAO,GAAG,IAAA,mBAAU,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC1C,MAAM,oBAAoB,GAAG,IAAA,8CAAuB,GAAE,CAAC;IACvD,MAAM,CAAC,2BAA2B,EAAE,4BAA4B,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE1F,MAAM,oBAAoB,GAAG,KAAK,CAAC,WAAW,CAAC,GAAS,EAAE;QACxD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,MAAM,kBAAW,CAAC,YAAY,CAAC,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BAAC,KAAK,OAAG,sBACE,GAAG,OAAO,SAAS,EACrC,WAAW,EACT,oBAAC,mBAAU,IAAC,OAAO,EAAE,OAAO,0GAGf,EAEf,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAC,cAAc,EACxB,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,UAAU,GACtB;YACF,oBAAC,mCAAyB,IACxB,MAAM,EAAE,2BAA2B,EACnC,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,GAAG,EAAE,CAAC,KAAK,oBAAoB,EAAE,GAC3C,CACQ;QACX,KAAK,IAAI,CACR,oBAAC,kBAAK,IAAC,QAAQ,QAAC,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,4CAA4C,kEAE1E,CACT,CACA,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,sBAAsB,CAAC"}
|
|
@@ -8,19 +8,20 @@ const formik_1 = require("formik");
|
|
|
8
8
|
const common_1 = require("../../../common");
|
|
9
9
|
const react_icons_1 = require("@patternfly/react-icons");
|
|
10
10
|
const OcmFormFields_1 = require("../ui/OcmFormFields");
|
|
11
|
+
const featureStateUtils_1 = require("../featureSupportLevels/featureStateUtils");
|
|
11
12
|
const INPUT_NAME = 'baseDnsDomain';
|
|
12
13
|
const INPUT_LABEL = 'Base domain';
|
|
13
14
|
const fieldId = (0, common_1.getFieldId)(INPUT_NAME, 'input');
|
|
14
15
|
const getManagedDomainLabel = (domain) => `${(domain === null || domain === void 0 ? void 0 : domain.domain) || ''} (${(domain === null || domain === void 0 ? void 0 : domain.provider) || ''})`;
|
|
15
16
|
const BaseDnsHelperText = ({ name, baseDnsDomain, }) => (react_1.default.createElement(common_1.HelperText, { fieldId: fieldId },
|
|
16
|
-
"
|
|
17
|
+
"Enter the name of your local host [localhost] or [localhost.com]. This cannot be changed after creation. All DNS records must include the cluster name and be subdomains of the base you enter. The full cluster address will be: ",
|
|
17
18
|
react_1.default.createElement("br", null),
|
|
18
19
|
react_1.default.createElement("strong", null,
|
|
19
20
|
name || '[Cluster Name]',
|
|
20
21
|
".",
|
|
21
|
-
baseDnsDomain || '[
|
|
22
|
+
baseDnsDomain || '[localhost.com]')));
|
|
22
23
|
exports.BaseDnsHelperText = BaseDnsHelperText;
|
|
23
|
-
const OcmBaseDomainField = ({ managedDomains }) => {
|
|
24
|
+
const OcmBaseDomainField = ({ managedDomains, clusterExists, }) => {
|
|
24
25
|
const [, { value }, { setValue }] = (0, formik_1.useField)(INPUT_NAME);
|
|
25
26
|
const { values } = (0, formik_1.useFormikContext)();
|
|
26
27
|
const { name, baseDnsDomain, useRedHatDnsService } = values;
|
|
@@ -39,8 +40,9 @@ const OcmBaseDomainField = ({ managedDomains }) => {
|
|
|
39
40
|
setOpen(false);
|
|
40
41
|
}, [setValue]);
|
|
41
42
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
42
|
-
!!managedDomains.length && toggleRedHatDnsService && (react_1.default.createElement(
|
|
43
|
-
|
|
43
|
+
!!managedDomains.length && toggleRedHatDnsService && (react_1.default.createElement(react_core_1.Tooltip, { content: featureStateUtils_1.clusterExistsReason, hidden: !clusterExists },
|
|
44
|
+
react_1.default.createElement(OcmFormFields_1.OcmCheckboxField, { name: "useRedHatDnsService", label: "Use a temporary 60-day domain", helperText: "A base domain will be provided for temporary, non-production clusters.", onChange: toggleRedHatDnsService, isDisabled: clusterExists }))),
|
|
45
|
+
react_1.default.createElement(react_core_1.FormGroup, { id: `form-control__${fieldId}`, fieldId: fieldId, name: INPUT_NAME, label: INPUT_LABEL, isRequired: true, helperText: react_1.default.createElement(exports.BaseDnsHelperText, { name: name, baseDnsDomain: baseDnsDomain }) }, useRedHatDnsService ? (react_1.default.createElement(react_core_1.Dropdown, { toggle: dropdownToggle, dropdownItems: dropdownItems, isOpen: isOpen, onSelect: onSelect, className: "pf-u-w-100" })) : (react_1.default.createElement(OcmFormFields_1.OcmInputField, { name: INPUT_NAME, placeholder: "localhost.com", isDisabled: useRedHatDnsService, isRequired: true })))));
|
|
44
46
|
};
|
|
45
47
|
exports.OcmBaseDomainField = OcmBaseDomainField;
|
|
46
48
|
//# sourceMappingURL=OcmBaseDomainField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmBaseDomainField.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"OcmBaseDomainField.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAoG;AACpG,mCAAoD;AACpD,4CAA+E;AAC/E,yDAAwD;AACxD,uDAAsE;AAEtE,iFAAgF;AAEhF,MAAM,UAAU,GAAG,eAAe,CAAC;AACnC,MAAM,WAAW,GAAG,aAAa,CAAC;AAClC,MAAM,OAAO,GAAG,IAAA,mBAAU,EAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AAEhD,MAAM,qBAAqB,GAAG,CAAC,MAAqB,EAAE,EAAE,CACtD,GAAG,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,KAAI,EAAE,KAAK,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,KAAI,EAAE,GAAG,CAAC;AAEjD,MAAM,iBAAiB,GAAG,CAAC,EAChC,IAAI,EACJ,aAAa,GAId,EAAE,EAAE,CAAC,CACJ,8BAAC,mBAAU,IAAC,OAAO,EAAE,OAAO;;IAGQ,yCAAM;IACxC;QACG,IAAI,IAAI,gBAAgB;;QAAG,aAAa,IAAI,iBAAiB,CACvD,CACE,CACd,CAAC;AAfW,QAAA,iBAAiB,qBAe5B;AAEK,MAAM,kBAAkB,GAAG,CAAC,EACjC,cAAc,EACd,aAAa,GAId,EAAE,EAAE;IACH,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,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AAC,eAAe,EAC3B,UAAU,EAAE,mBAAmB,EAC/B,UAAU,SACV,CACH,CACS,CACX,CACJ,CAAC;AACJ,CAAC,CAAC;AAtFW,QAAA,kBAAkB,sBAsF7B"}
|
|
@@ -29,14 +29,13 @@ const OcmClusterDetailsFormFields = ({ managedDomains = [], versions, isPullSecr
|
|
|
29
29
|
const nameInputRef = React.useRef();
|
|
30
30
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
31
31
|
const isSingleClusterFeatureEnabled = (0, common_1.useFeature)('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
|
|
32
|
-
const isMultiArchSupported = (0, common_1.useFeature)('ASSISTED_INSTALLER_MULTIARCH_SUPPORTED');
|
|
33
32
|
const isOracleCloudPlatformIntegrationEnabled = (0, common_1.useFeature)('ASSISTED_INSTALLER_PLATFORM_OCI');
|
|
34
33
|
const { openshiftVersion, platform } = values;
|
|
35
34
|
const { getCpuArchitectures } = (0, hooks_1.useOpenshiftVersions)();
|
|
36
35
|
const cpuArchitecturesByVersionImage = getCpuArchitectures(openshiftVersion);
|
|
37
36
|
const clusterWizardContext = (0, ClusterWizardContext_1.useClusterWizardContext)();
|
|
38
37
|
const featureSupportLevelData = (0, useSupportLevelsAPI_1.default)('features', values.openshiftVersion, values.cpuArchitecture);
|
|
39
|
-
const cpuArchitectures = React.useMemo(() => (0, common_1.getSupportedCpuArchitectures)(
|
|
38
|
+
const cpuArchitectures = React.useMemo(() => (0, common_1.getSupportedCpuArchitectures)(cpuArchitecturesByVersionImage), [cpuArchitecturesByVersionImage]);
|
|
40
39
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
41
40
|
// @ts-ignore
|
|
42
41
|
const cpuArchitecture = CpuArchitectureDropdown_1.architectureData[values.cpuArchitecture].label;
|
|
@@ -49,7 +48,7 @@ const OcmClusterDetailsFormFields = ({ managedDomains = [], versions, isPullSecr
|
|
|
49
48
|
const isOracleSelected = selectedPlatform === 'oci';
|
|
50
49
|
if (isOracleSelected) {
|
|
51
50
|
setFieldValue('addCustomManifest', isOracleSelected, false);
|
|
52
|
-
clusterWizardContext.
|
|
51
|
+
clusterWizardContext.setCustomManifestsStep(isOracleSelected);
|
|
53
52
|
setFieldValue('hostsNetworkConfigurationType', types_1.HostsNetworkConfigurationType.DHCP);
|
|
54
53
|
}
|
|
55
54
|
}, [clusterWizardContext, setFieldValue]);
|
|
@@ -60,7 +59,7 @@ const OcmClusterDetailsFormFields = ({ managedDomains = [], versions, isPullSecr
|
|
|
60
59
|
React.createElement(OcmFormFields_1.OcmRichInputField, { ref: nameInputRef, label: "Cluster name", name: "name", placeholder: isOcm ? '' : 'Enter cluster name', isRequired: true, richValidationMessages: useRedHatDnsService
|
|
61
60
|
? (0, common_1.uniqueOcmClusterNameValidationMessages)(t)
|
|
62
61
|
: (0, common_1.ocmClusterNameValidationMessages)(t), maxLength: common_1.CLUSTER_NAME_MAX_LENGTH }),
|
|
63
|
-
React.createElement(OcmBaseDomainField_1.OcmBaseDomainField, { managedDomains: managedDomains }),
|
|
62
|
+
React.createElement(OcmBaseDomainField_1.OcmBaseDomainField, { managedDomains: managedDomains, clusterExists: clusterExists }),
|
|
64
63
|
forceOpenshiftVersion ? (React.createElement(OcmOpenShiftVersion_1.default, { versions: versions, openshiftVersion: forceOpenshiftVersion, clusterCpuArchitecture: clusterCpuArchitecture, withPreviewText: true, withMultiText: true })) : (React.createElement(OcmOpenShiftVersionSelect_1.default, { versions: versions })),
|
|
65
64
|
clusterExists ? (React.createElement(common_1.StaticTextField, { name: "cpuArchitecture", label: "CPU architecture", isRequired: true }, cpuArchitecture)) : (React.createElement(CpuArchitectureDropdown_1.default, { openshiftVersion: openshiftVersion, cpuArchitectures: cpuArchitectures })),
|
|
66
65
|
React.createElement(OcmSNOControlGroup_1.default, { highAvailabilityMode: highAvailabilityMode, featureSupportLevelData: featureSupportLevelData !== null && featureSupportLevelData !== void 0 ? featureSupportLevelData : undefined }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OcmClusterDetailsFormFields.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAA8C;AAC9C,mCAA0C;AAE1C,mGAAgG;AAChG,
|
|
1
|
+
{"version":3,"file":"OcmClusterDetailsFormFields.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAA8C;AAC9C,mCAA0C;AAE1C,mGAAgG;AAChG,4CAYyB;AACzB,yKAAyI;AACzI,2FAA+E;AAC/E,uDAAwD;AACxD,wFAAwD;AACxD,oGAAoE;AACpE,8FAA8D;AAC9D,6FAGmC;AACnC,6DAA0D;AAC1D,sFAAsD;AACtD,kGAAkE;AAClE,uCAAmD;AACnD,6FAA0F;AAC1F,gDAAqE;AACrE,gGAA+F;AAC/F,+DAAyE;AAEzE,gFAAgF;AAczE,MAAM,2BAA2B,GAAG,CAAC,EAC1C,cAAc,GAAG,EAAE,EACnB,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,KAAK,EACL,aAAa,EACb,sBAAsB,EACtB,SAAS,GACwB,EAAE,EAAE;IACrC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,IAAA,yBAAgB,GAAwB,CAAC;IAC3E,MAAM,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,GAAG,MAAM,CAAC;IAC7D,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,EAAoB,CAAC;IAEtD,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,6BAA6B,GAAG,IAAA,mBAAU,EAAC,2CAA2C,CAAC,CAAC;IAC9F,MAAM,uCAAuC,GAAG,IAAA,mBAAU,EAAC,iCAAiC,CAAC,CAAC;IAC9F,MAAM,EAAE,g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jB,oBAAoB,EAAE,oBAAoB,EAC1C,uBAAuB,EAAE,uBAAuB,aAAvB,uBAAuB,cAAvB,uBAAuB,GAAI,SAAS,GAC7D;QAED,CAAC,eAAe,IAAI,oBAAC,mBAAU,IAAC,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,GAAI;QAEtF,aAAa,CAAC,CAAC,CAAC,CACf,oBAAC,wBAAe,IACd,IAAI,EAAC,UAAU,EACf,KAAK,EAAC,2CAA2C,EACjD,UAAU,UAET,kCAAsB,CAAC,MAAM,CAAC,QAAQ,CAAC,CACxB,CACnB,CAAC,CAAC,CAAC,CACF,oBAAC,mDAAwB,IACvB,QAAQ,EAAE,uCAAuC,EACjD,eAAe,EAAE,MAAM,CAAC,eAA2C,EACnE,aAAa,EAAE,uCAAuC,EACtD,uBAAuB,EAAE,uBAAuB,EAChD,KAAK,EAAE,IAAA,cAAK,EAAC,EAAE,oBAAoB,EAAE,CAAC,GACtC,CACH;QAED,oBAAC,gCAAsB,IAAC,SAAS,EAAE,SAAS,IAAI,EAAE,EAAE,UAAU,EAAE,QAAQ,KAAK,KAAK,GAAI;QAGpF,iHAAiH;QACjH,CAAC,6BAA6B,IAAI,CAChC,oBAAC,6EAAqC,IACpC,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,QAAQ,KAAK,KAAK,GAC9B,CACH;QAGH,oBAAC,oCAA0B,IACzB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,eAAe,EAC3B,KAAK,EAAE,IAAA,cAAK,EAAC,EAAE,oBAAoB,EAAE,CAAC,GACtC,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AApJW,QAAA,2BAA2B,+BAoJtC"}
|
package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js
CHANGED
|
@@ -5,17 +5,11 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const react_core_1 = require("@patternfly/react-core");
|
|
7
7
|
const CustomManifests_1 = require("./components/CustomManifests");
|
|
8
|
-
const CustomManifestsPage = ({ cluster, onFormStateChange
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
react_1.default.createElement(react_core_1.TextContent, null,
|
|
15
|
-
react_1.default.createElement(react_core_1.Text, { component: react_core_1.TextVariants.h2 }, "Custom manifests"),
|
|
16
|
-
react_1.default.createElement(react_core_1.Text, { component: react_core_1.TextVariants.small }, "Upload additional manifests that will be applied at the install time for advanced configuration of the cluster.")),
|
|
17
|
-
react_1.default.createElement(react_core_1.Alert, { isInline: true, variant: "warning", title: 'No validation is performed for the custom manifest contents. Only include resources that are necessary for initial setup to reduce the chance of installation failures.' }),
|
|
18
|
-
react_1.default.createElement(CustomManifests_1.CustomManifests, { cluster: cluster, onFormStateChange: onFormStateChange })));
|
|
19
|
-
};
|
|
8
|
+
const CustomManifestsPage = ({ cluster, onFormStateChange, }) => (react_1.default.createElement(react_core_1.Grid, { hasGutter: true },
|
|
9
|
+
react_1.default.createElement(react_core_1.TextContent, null,
|
|
10
|
+
react_1.default.createElement(react_core_1.Text, { component: react_core_1.TextVariants.h2 }, "Custom manifests"),
|
|
11
|
+
react_1.default.createElement(react_core_1.Text, { component: react_core_1.TextVariants.small }, "Upload additional manifests that will be applied at the install time for advanced configuration of the cluster.")),
|
|
12
|
+
react_1.default.createElement(react_core_1.Alert, { isInline: true, variant: "warning", title: 'No validation is performed for the custom manifest contents. Only include resources that are necessary for initial setup to reduce the chance of installation failures.' }),
|
|
13
|
+
react_1.default.createElement(CustomManifests_1.CustomManifests, { cluster: cluster, onFormStateChange: onFormStateChange })));
|
|
20
14
|
exports.CustomManifestsPage = CustomManifestsPage;
|
|
21
15
|
//# sourceMappingURL=CustomManifestsPage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomManifestsPage.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAsF;AAEtF,kEAA+D;AAIxD,MAAM,mBAAmB,GAAG,CAAC,EAClC,OAAO,EACP,iBAAiB,
|
|
1
|
+
{"version":3,"file":"CustomManifestsPage.js","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAAsF;AAEtF,kEAA+D;AAIxD,MAAM,mBAAmB,GAAG,CAAC,EAClC,OAAO,EACP,iBAAiB,GAIlB,EAAE,EAAE,CAAC,CACJ,8BAAC,iBAAI,IAAC,SAAS;IACb,8BAAC,wBAAW;QACV,8BAAC,iBAAI,IAAC,SAAS,EAAE,yBAAY,CAAC,EAAE,uBAAyB;QACzD,8BAAC,iBAAI,IAAC,SAAS,EAAE,yBAAY,CAAC,KAAK,sHAG5B,CACK;IACd,8BAAC,kBAAK,IACJ,QAAQ,QACR,OAAO,EAAC,SAAS,EACjB,KAAK,EACH,yKAAyK,GAE3K;IACF,8BAAC,iCAAe,IAAC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,GAAI,CACtE,CACR,CAAC;AAxBW,QAAA,mBAAmB,uBAwB9B"}
|
|
@@ -13,9 +13,9 @@ const CustomManifests = ({ cluster, onFormStateChange, }) => {
|
|
|
13
13
|
onFormStateChange: onFormStateChange,
|
|
14
14
|
validationSchema: customManifestsValidationSchema_1.getFormViewManifestsValidationSchema,
|
|
15
15
|
getInitialValues: (customManifests) => {
|
|
16
|
-
return (0, utils_1.
|
|
16
|
+
return (0, utils_1.getManifestValues)(customManifests);
|
|
17
17
|
},
|
|
18
|
-
getEmptyValues: () => (0, utils_1.
|
|
18
|
+
getEmptyValues: () => (0, utils_1.getEmptyManifestsValues)(),
|
|
19
19
|
showEmptyValues: true,
|
|
20
20
|
cluster: cluster,
|
|
21
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomManifests.js","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAG1B,uFAAyF;AACzF,+DAA4D;AAC5D,
|
|
1
|
+
{"version":3,"file":"CustomManifests.js","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAG1B,uFAAyF;AACzF,+DAA4D;AAC5D,mCAAqE;AAG9D,MAAM,eAAe,GAAG,CAAC,EAC9B,OAAO,EACP,iBAAiB,GAIlB,EAAE,EAAE;IACH,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,eAAK,CAAC,QAAQ,EAA4B,CAAC;IAE7E,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,YAAY,CAAC;YACX,iBAAiB,EAAE,iBAAiB;YACpC,gBAAgB,EAAE,sEAAoC;YAEtD,gBAAgB,EAAE,CAAC,eAAsC,EAAE,EAAE;gBAC3D,OAAO,IAAA,yBAAiB,EAAC,eAAe,CAAC,CAAC;YAC5C,CAAC;YACD,cAAc,EAAE,GAAG,EAAE,CAAC,IAAA,+BAAuB,GAAE;YAC/C,eAAe,EAAE,IAAI;YACrB,OAAO,EAAE,OAAO;SACjB,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAEjC,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,IAAI,CAAC;KACb;IAED,OAAO,8BAAC,yCAAmB,oBAAK,SAAS,EAAI,CAAC;AAChD,CAAC,CAAC;AA5BW,QAAA,eAAe,mBA4B1B"}
|
|
@@ -43,7 +43,7 @@ const CustomManifestsArray = (_a) => {
|
|
|
43
43
|
const newExpandedManifests = getExpandedManifestsInitialValue(field.value.length + 1);
|
|
44
44
|
newExpandedManifests[field.value.length] = true;
|
|
45
45
|
setExpandedManifests(newExpandedManifests);
|
|
46
|
-
push((0, utils_1.
|
|
46
|
+
push((0, utils_1.getEmptyManifest)());
|
|
47
47
|
}, [field.value.length, push]);
|
|
48
48
|
const removeManifest = react_1.default.useCallback((clusterId, manifestIdx) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
49
49
|
const manifestToRemove = field.value[manifestIdx];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomManifestsArray.js","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,6CAA0C;AAC1C,uDAAwF;AACxF,yDAAyD;AACzD,mCAAyD;AACzD,kFAA+C;AAC/C,kDAAgE;AAChE,sHAAsF;AACtF,oDAAwD;AACxD,yCAAqE;AACrE,qDAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"CustomManifestsArray.js","sourceRoot":"","sources":["../../../../../../../lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,6CAA0C;AAC1C,uDAAwF;AACxF,yDAAyD;AACzD,mCAAyD;AACzD,kFAA+C;AAC/C,kDAAgE;AAChE,sHAAsF;AACtF,oDAAwD;AACxD,yCAAqE;AACrE,qDAAkD;AAClD,mCAA4D;AAE5D,kFAA0G;AAE1G,MAAM,SAAS,GAAG,WAAW,CAAC;AAK9B,MAAM,gCAAgC,GAAG,CAAC,YAAoB,EAAqB,EAAE;IACnF,MAAM,GAAG,GAA4B,EAAE,CAAC;IACxC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY,EAAE,EAAE,CAAC,EAAE;QACrC,GAAG,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;KAChB;IACD,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AAEF,MAAM,g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