@openshift-assisted/ui-lib 2.37.3 → 2.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/common/constants.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddHostModal.d.ts.map +1 -1
- package/build/@types/cim/types/k8s/infra-env-k8s-resource.d.ts +1 -0
- package/build/@types/cim/types/k8s/infra-env-k8s-resource.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/BundleAPI.d.ts +8 -0
- package/build/@types/common/api/assisted-service/BundleAPI.d.ts.map +1 -0
- package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts +6 -0
- package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts.map +1 -0
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +7 -0
- package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -0
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/types.d.ts +3 -1
- package/build/@types/common/components/clusterWizard/types.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +5 -0
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +9 -1
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/selectors/clusterSelectors.d.ts +1 -0
- package/build/@types/common/selectors/clusterSelectors.d.ts.map +1 -1
- package/build/@types/common/types/clusters.d.ts +8 -0
- package/build/@types/common/types/clusters.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/ocm/components/SentryErrorMonitorContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts +4 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/LsoCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/LsoCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts +4 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts +4 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MceCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts +4 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/NmstateCheckbox.d.ts +10 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NmstateCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NmstateRequirements.d.ts +7 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NmstateRequirements.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts +5 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts +5 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.d.ts +4 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/OscCheckbox.d.ts +5 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OscCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/PipelinesChekbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/PipelinesChekbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/SupportedOperators.d.ts +24 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/SupportedOperators.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.d.ts +4 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/config/constants.d.ts +2 -0
- package/build/@types/ocm/config/constants.d.ts.map +1 -1
- package/build/@types/ocm/sentry.d.ts +2 -2
- package/build/@types/ocm/sentry.d.ts.map +1 -1
- package/build/@types/ocm/services/BundleService.d.ts +6 -0
- package/build/@types/ocm/services/BundleService.d.ts.map +1 -0
- package/build/@types/ocm/services/ClustersService.d.ts +1 -0
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/OperatorsService.d.ts +1 -0
- package/build/@types/ocm/services/OperatorsService.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +1 -0
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js +4 -5
- package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/OpenshiftVersionDropdown.js +1 -1
- package/build/cjs/cim/components/InfraEnv/OpenshiftVersionDropdown.js.map +1 -1
- package/build/cjs/cim/components/common/constants.js +1 -1
- package/build/cjs/cim/components/common/constants.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +2 -1
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/modals/AddHostModal.js +4 -5
- package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
- package/build/cjs/common/api/assisted-service/BundleAPI.js +16 -0
- package/build/cjs/common/api/assisted-service/BundleAPI.js.map +1 -0
- package/build/cjs/common/api/assisted-service/OperatorsAPI.js +13 -0
- package/build/cjs/common/api/assisted-service/OperatorsAPI.js.map +1 -0
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +41 -0
- package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -0
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +4 -5
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageTypeControlGroup.js +5 -5
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageTypeControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +2 -2
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
- package/build/cjs/common/components/hosts/AITableMemo.js +16 -13
- package/build/cjs/common/components/hosts/AITableMemo.js.map +1 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js +35 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js +16 -10
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/config/constants.js +11 -1
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +10 -2
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/selectors/clusterSelectors.js +7 -1
- package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
- package/build/cjs/common/types/clusters.js.map +1 -1
- package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +10 -9
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +8 -20
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/LsoCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +5 -21
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +6 -7
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js +8 -13
- package/build/cjs/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js +35 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateRequirements.js +48 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NmstateRequirements.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +11 -17
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js +4 -17
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js +1 -12
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.js +30 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js +3 -12
- package/build/cjs/ocm/components/clusterConfiguration/operators/OscCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/PipelinesChekbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js +34 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js +73 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/SupportedOperators.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js +19 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +4 -0
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js +9 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +239 -22
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +41 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/config/constants.js +155 -1
- package/build/cjs/ocm/config/constants.js.map +1 -1
- package/build/cjs/ocm/sentry.js +1 -1
- package/build/cjs/ocm/sentry.js.map +1 -1
- package/build/cjs/ocm/services/BundleService.js +20 -0
- package/build/cjs/ocm/services/BundleService.js.map +1 -0
- package/build/cjs/ocm/services/ClustersService.js +26 -0
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/OperatorsService.js +16 -8
- package/build/cjs/ocm/services/OperatorsService.js.map +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDetailsFormFields.tsx +4 -6
- package/lib/cim/components/InfraEnv/OpenshiftVersionDropdown.tsx +1 -1
- package/lib/cim/components/common/constants.ts +1 -2
- package/lib/cim/components/helpers/toAssisted.ts +1 -0
- package/lib/cim/components/modals/AddHostModal.tsx +4 -5
- package/lib/cim/types/k8s/infra-env-k8s-resource.ts +1 -0
- package/lib/common/api/assisted-service/BundleAPI.ts +18 -0
- package/lib/common/api/assisted-service/OperatorsAPI.ts +13 -0
- package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +93 -0
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +10 -12
- package/lib/common/components/clusterConfiguration/DiscoveryImageTypeControlGroup.tsx +9 -9
- package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +1 -1
- package/lib/common/components/clusterWizard/types.ts +4 -2
- package/lib/common/components/hosts/AITableMemo.tsx +1 -1
- package/lib/common/components/hosts/HostRowDetail.tsx +71 -1
- package/lib/common/components/storage/DisksTable.tsx +25 -18
- package/lib/common/config/constants.ts +10 -0
- package/lib/common/config/docs_links.ts +24 -1
- package/lib/common/selectors/clusterSelectors.ts +8 -0
- package/lib/common/types/clusters.ts +8 -0
- package/lib/common/types/ui-settings.ts +1 -0
- package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +1 -2
- package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +13 -12
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/operators/AuthorinoCheckbox.tsx +67 -0
- package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +12 -25
- package/lib/ocm/components/clusterConfiguration/operators/LsoCheckbox.tsx +67 -0
- package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +8 -26
- package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +10 -3
- package/lib/ocm/components/clusterConfiguration/operators/MtvOperatorCheckbox.tsx +23 -12
- package/lib/ocm/components/clusterConfiguration/operators/NmstateCheckbox.tsx +85 -0
- package/lib/ocm/components/clusterConfiguration/operators/NmstateRequirements.tsx +53 -0
- package/lib/ocm/components/clusterConfiguration/operators/NodeFeatureDiscoveryCheckbox.tsx +70 -0
- package/lib/ocm/components/clusterConfiguration/operators/NvidiaGpuCheckbox.tsx +67 -0
- package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +24 -18
- package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAICheckbox.tsx +11 -24
- package/lib/ocm/components/clusterConfiguration/operators/OpenShiftAIRequirements.tsx +0 -14
- package/lib/ocm/components/clusterConfiguration/operators/OpenshiftAINvidiaRequirements.tsx +36 -0
- package/lib/ocm/components/clusterConfiguration/operators/OscCheckbox.tsx +10 -25
- package/lib/ocm/components/clusterConfiguration/operators/PipelinesChekbox.tsx +68 -0
- package/lib/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.tsx +67 -0
- package/lib/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.tsx +67 -0
- package/lib/ocm/components/clusterConfiguration/operators/SupportedOperators.tsx +105 -0
- package/lib/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.tsx +26 -0
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +4 -0
- package/lib/ocm/components/clusterWizard/Operators.tsx +21 -1
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +419 -38
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +1 -1
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +41 -1
- package/lib/ocm/config/constants.ts +156 -0
- package/lib/ocm/sentry.ts +2 -1
- package/lib/ocm/services/BundleService.ts +14 -0
- package/lib/ocm/services/ClustersService.ts +28 -0
- package/lib/ocm/services/OperatorsService.tsx +21 -10
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PipelinesChekbox.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/PipelinesChekbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,YAAY,EAAE,MAAM,wDAAwD,CAAC;AA0CtF,QAAA,MAAM,iBAAiB;;mBAKN,YAAY,GAAG,SAAS;uBAcxC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
|
|
3
|
+
declare const ServerlessCheckbox: ({ disabledReason, supportLevel, }: {
|
|
4
|
+
disabledReason?: string | undefined;
|
|
5
|
+
supportLevel?: SupportLevel | undefined;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
|
+
export default ServerlessCheckbox;
|
|
8
|
+
//# sourceMappingURL=ServerlessCheckbox.d.ts.map
|
package/build/@types/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServerlessCheckbox.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/ServerlessCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,YAAY,EAAE,MAAM,wDAAwD,CAAC;AAyCtF,QAAA,MAAM,kBAAkB;;mBAKP,YAAY,GAAG,SAAS;uBAcxC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
|
|
3
|
+
declare const ServiceMeshCheckbox: ({ disabledReason, supportLevel, }: {
|
|
4
|
+
disabledReason?: string | undefined;
|
|
5
|
+
supportLevel?: SupportLevel | undefined;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
|
+
export default ServiceMeshCheckbox;
|
|
8
|
+
//# sourceMappingURL=ServicemeshCheckbox.d.ts.map
|
package/build/@types/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServicemeshCheckbox.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/ServicemeshCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,YAAY,EAAE,MAAM,wDAAwD,CAAC;AAyCtF,QAAA,MAAM,mBAAmB;;mBAKR,YAAY,GAAG,SAAS;uBAcxC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FeatureId } from '../../../../common';
|
|
3
|
+
import { SupportLevel } from '@openshift-assisted/types/./assisted-installer-service';
|
|
4
|
+
interface OperatorProps {
|
|
5
|
+
clusterId: string;
|
|
6
|
+
openshiftVersion?: string;
|
|
7
|
+
isVersionEqualsOrMajorThan4_15: boolean;
|
|
8
|
+
isSNO: boolean;
|
|
9
|
+
disabledReason?: string;
|
|
10
|
+
supportLevel?: SupportLevel | undefined;
|
|
11
|
+
}
|
|
12
|
+
export interface ComponentItem {
|
|
13
|
+
component: JSX.Element;
|
|
14
|
+
label: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const operatorComponentMap: Record<string, (props: OperatorProps) => JSX.Element>;
|
|
17
|
+
export declare const mapOperatorsToFieldIds: {
|
|
18
|
+
[key: string]: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const mapOperatorIdToFeatureId: {
|
|
21
|
+
[key: string]: FeatureId;
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=SupportedOperators.d.ts.map
|
package/build/@types/ocm/components/clusterConfiguration/operators/SupportedOperators.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportedOperators.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/SupportedOperators.tsx"],"names":[],"mappings":";AAgBA,OAAO,EACL,SAAS,EAgBV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,wDAAwD,CAAC;AAEtF,UAAU,aAAa;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8BAA8B,EAAE,OAAO,CAAC;IACxC,KAAK,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CACzC;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,GAAG,CAAC,OAAO,CAkBtF,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAgB3D,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAgBhE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VirtualizationRequirements.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/operators/VirtualizationRequirements.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,QAAA,MAAM,0BAA0B,yBAoB/B,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDetails.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAEzF,KAAK,mBAAmB,GAAG;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,cAAc,0BAA2B,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ClusterDetails.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/ClusterDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAEzF,KAAK,mBAAmB,GAAG;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,cAAc,0BAA2B,mBAAmB,sBAqGjE,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operators.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/Operators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,
|
|
1
|
+
{"version":3,"file":"Operators.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/Operators.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAkBL,eAAe,EAIhB,MAAM,iBAAiB,CAAC;AASzB,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;AAElG,eAAO,MAAM,yBAAyB,uBAChB,iBAAiB,EAAE,KACtC,eAoBF,CAAC;AAgDF,QAAA,MAAM,SAAS;aAA4B,OAAO;uBAiDjD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperatorsStep.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/OperatorsStep.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OperatorsStep.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/OperatorsStep.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAkBnD,OAAO,EACL,oBAAoB,EAOrB,MAAM,iBAAiB,CAAC;AAmCzB,eAAO,MAAM,aAAa,UAAW,oBAAoB,sBAsXxD,CAAC"}
|
|
@@ -12,7 +12,7 @@ type TransitionProps = {
|
|
|
12
12
|
cluster: Cluster;
|
|
13
13
|
};
|
|
14
14
|
export declare const wizardStepsValidationsMap: WizardStepsValidationMap<ClusterWizardStepsType>;
|
|
15
|
-
export declare const allClusterWizardSoftValidationIds: ("connected" | "media-connected" | "has-inventory" | "has-min-cpu-cores" | "has-min-valid-disks" | "has-min-memory" | "machine-cidr-defined" | "has-cpu-cores-for-role" | "has-memory-for-role" | "hostname-unique" | "hostname-valid" | "belongs-to-machine-cidr" | "ignition-downloadable" | "belongs-to-majority-group" | "valid-platform-network-settings" | "ntp-synced" | "time-synced-between-host-and-service" | "container-images-available" | "lso-requirements-satisfied" | "ocs-requirements-satisfied" | "odf-requirements-satisfied" | "lvm-requirements-satisfied" | "mce-requirements-satisfied" | "mtv-requirements-satisfied" | "osc-requirements-satisfied" | "sufficient-installation-disk-speed" | "cnv-requirements-satisfied" | "sufficient-network-latency-requirement-for-role" | "sufficient-packet-loss-requirement-for-role" | "has-default-route" | "api-domain-name-resolved-correctly" | "api-int-domain-name-resolved-correctly" | "apps-domain-name-resolved-correctly" | "release-domain-name-resolved-correctly" | "compatible-with-cluster-platform" | "dns-wildcard-not-configured" | "disk-encryption-requirements-satisfied" | "non-overlapping-subnets" | "vsphere-disk-uuid-enabled" | "compatible-agent" | "no-skip-installation-disk" | "no-skip-missing-disk" | "no-ip-collisions-in-network" | "no-iscsi-nic-belongs-to-machine-cidr" | "node-feature-discovery-requirements-satisfied" | "nvidia-gpu-requirements-satisfied" | "pipelines-requirements-satisfied" | "servicemesh-requirements-satisfied" | "serverless-requirements-satisfied" | "openshift-ai-requirements-satisfied" | "authorino-requirements-satisfied" | "mtu-valid" | "cluster-cidr-defined" | "service-cidr-defined" | "no-cidrs-overlapping" | "networks-same-address-families" | "network-prefix-valid" | "machine-cidr-equals-to-calculated-cidr" | "api-vips-defined" | "api-vips-valid" | "ingress-vips-defined" | "ingress-vips-valid" | "all-hosts-are-ready-to-install" | "sufficient-masters-count" | "dns-domain-defined" | "pull-secret-set" | "ntp-server-configured" | "network-type-valid" | "platform-requirements-satisfied")[];
|
|
15
|
+
export declare const allClusterWizardSoftValidationIds: ("connected" | "media-connected" | "has-inventory" | "has-min-cpu-cores" | "has-min-valid-disks" | "has-min-memory" | "machine-cidr-defined" | "has-cpu-cores-for-role" | "has-memory-for-role" | "hostname-unique" | "hostname-valid" | "belongs-to-machine-cidr" | "ignition-downloadable" | "belongs-to-majority-group" | "valid-platform-network-settings" | "ntp-synced" | "time-synced-between-host-and-service" | "container-images-available" | "lso-requirements-satisfied" | "ocs-requirements-satisfied" | "odf-requirements-satisfied" | "lvm-requirements-satisfied" | "mce-requirements-satisfied" | "mtv-requirements-satisfied" | "osc-requirements-satisfied" | "sufficient-installation-disk-speed" | "cnv-requirements-satisfied" | "sufficient-network-latency-requirement-for-role" | "sufficient-packet-loss-requirement-for-role" | "has-default-route" | "api-domain-name-resolved-correctly" | "api-int-domain-name-resolved-correctly" | "apps-domain-name-resolved-correctly" | "release-domain-name-resolved-correctly" | "compatible-with-cluster-platform" | "dns-wildcard-not-configured" | "disk-encryption-requirements-satisfied" | "non-overlapping-subnets" | "vsphere-disk-uuid-enabled" | "compatible-agent" | "no-skip-installation-disk" | "no-skip-missing-disk" | "no-ip-collisions-in-network" | "no-iscsi-nic-belongs-to-machine-cidr" | "node-feature-discovery-requirements-satisfied" | "nvidia-gpu-requirements-satisfied" | "pipelines-requirements-satisfied" | "servicemesh-requirements-satisfied" | "serverless-requirements-satisfied" | "openshift-ai-requirements-satisfied" | "authorino-requirements-satisfied" | "mtu-valid" | "nmstate-requirements-satisfied" | "cluster-cidr-defined" | "service-cidr-defined" | "no-cidrs-overlapping" | "networks-same-address-families" | "network-prefix-valid" | "machine-cidr-equals-to-calculated-cidr" | "api-vips-defined" | "api-vips-valid" | "ingress-vips-defined" | "ingress-vips-valid" | "all-hosts-are-ready-to-install" | "sufficient-masters-count" | "dns-domain-defined" | "pull-secret-set" | "ntp-server-configured" | "network-type-valid" | "platform-requirements-satisfied")[];
|
|
16
16
|
export declare const canNextClusterDetails: ({ cluster }: TransitionProps) => boolean;
|
|
17
17
|
export declare const canNextHostDiscovery: ({ cluster }: TransitionProps) => boolean;
|
|
18
18
|
export declare const canNextStorage: ({ cluster }: TransitionProps) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wizardTransition.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterWizard/wizardTransition.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,wBAAwB,EAEzB,MAAM,+DAA+D,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAgB,MAAM,iDAAiD,CAAC;AAM7F,OAAO,EACL,OAAO,EACP,IAAI,EAEL,MAAM,sDAAsD,CAAC;AAE9D,MAAM,MAAM,sBAAsB,GAC9B,iBAAiB,GACjB,qBAAqB,GACrB,uCAAuC,GACvC,+BAA+B,GAC/B,WAAW,GACX,gBAAgB,GAChB,SAAS,GACT,YAAY,GACZ,QAAQ,GACR,kBAAkB,CAAC;AAevB,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAC/C,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,OAAO,yBAAyB,CAAC;AAE9F,eAAO,MAAM,oBAAoB,uCACK,OAAO,KAC1C,sBAMF,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,sBAAsB,SAAS,sBAAsB,YAQvF,CAAC;AAEF,eAAO,MAAM,yBAAyB,kBACrB,0BAA0B,GAAG,SAAS,gBACvC,YAAY,GAAG,SAAS,UAC9B,0BAA0B,UAC1B,IAAI,EAAE,GAAG,SAAS,kCACM,OAAO,uCACF,OAAO,KAC3C,sBA0BF,CAAC;AAgCF,KAAK,eAAe,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAkH5C,eAAO,MAAM,yBAAyB,EAAE,wBAAwB,CAAC,sB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,gBAAiB,eAAe,KAAG,OAMrD,CAAC;AAEhB,eAAO,MAAM,cAAc,gBAAiB,eAAe,KAAG,OAErD,CAAC;AAEV,eAAO,MAAM,gBAAgB,gBAAiB,eAAe,KAAG,OAEvD,CAAC;AAEV,eAAO,MAAM,cAAc,gBAAiB,eAAe,KAAG,OAErD,CAAC;AAEV,eAAO,MAAM,cAAc,WAAY,sBAAsB,GAAG,mBAAmB,YAElF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureStateUtils.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/featureSupportLevels/featureStateUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAG1B,SAAS,EAET,eAAe,EACf,wBAAwB,EACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACb,MAAM,sDAAsD,CAAC;AAW9D,eAAO,MAAM,mBAAmB,mEAAmE,CAAC;AAEpG,eAAO,MAAM,+BAA+B,mBAC1B,eAAe,cACnB,YAAY,GAAG,SAAS,uBAUrC,CAAC;AAEF,eAAO,MAAM,+BAA+B,mBAC1B,eAAe,cACnB,YAAY,GAAG,SAAS,uBAQrC,CAAC;AA0HF,eAAO,MAAM,2BAA2B,cAC3B,SAAS,WACX,OAAO,GAAG,SAAS,8BACA,0BAA0B,eACzC,OAAO,oBACF,wBAAwB,iBAC3B,YAAY,KAC1B,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"featureStateUtils.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/featureSupportLevels/featureStateUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAG1B,SAAS,EAET,eAAe,EACf,wBAAwB,EACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACb,MAAM,sDAAsD,CAAC;AAW9D,eAAO,MAAM,mBAAmB,mEAAmE,CAAC;AAEpG,eAAO,MAAM,+BAA+B,mBAC1B,eAAe,cACnB,YAAY,GAAG,SAAS,uBAUrC,CAAC;AAEF,eAAO,MAAM,+BAA+B,mBAC1B,eAAe,cACnB,YAAY,GAAG,SAAS,uBAQrC,CAAC;AA0HF,eAAO,MAAM,2BAA2B,cAC3B,SAAS,WACX,OAAO,GAAG,SAAS,8BACA,0BAA0B,eACzC,OAAO,oBACF,wBAAwB,iBAC3B,YAAY,KAC1B,MAAM,GAAG,SAoHX,CAAC;AAEF,eAAO,MAAM,8BAA8B,iBAAkB,YAAY,GAAG,SAAS,KAAG,OAEvF,CAAC;AAEF,eAAO,MAAM,uCAAuC,2GACsD,CAAC;AAE3G,eAAO,MAAM,gCAAgC,mBAAoB,eAAe,uBAM/E,CAAC;AAEF,eAAO,MAAM,wCAAwC,mBAAoB,eAAe,uBAMvF,CAAC;AAEF,eAAO,MAAM,gCAAgC,mBAAoB,eAAe,uBAM/E,CAAC;AAwBF,eAAO,MAAM,2BAA2B,mBAAoB,eAAe,uBAO1E,CAAC"}
|
|
@@ -5,4 +5,6 @@ export type ExtendedCluster = Cluster & {
|
|
|
5
5
|
};
|
|
6
6
|
export declare const getBasePermissions: (cluster: ExtendedCluster) => AssistedInstallerPermissionTypesListType;
|
|
7
7
|
export declare const ocmPermissionsToAIPermissions: (ocmPermissions: AssistedInstallerOCMPermissionTypesListType) => Partial<AssistedInstallerPermissionTypesListType>;
|
|
8
|
+
export declare const yamlContentAssistedMigration1 = "apiVersion: v1\nkind: Namespace\nmetadata:\n name: openshift-gitops-operator\n---\napiVersion: operators.coreos.com/v1\nkind: OperatorGroup\nmetadata:\n name: openshift-gitops-operator\n namespace: openshift-gitops-operator\nspec:\n upgradeStrategy: Default\n---\napiVersion: operators.coreos.com/v1alpha1\nkind: Subscription\nmetadata:\n name: openshift-gitops-operator\n namespace: openshift-gitops-operator\nspec:\n channel: latest\n installPlanApproval: Automatic\n name: openshift-gitops-operator\n source: redhat-operators\n sourceNamespace: openshift-marketplace\n";
|
|
9
|
+
export declare const yamlContentAssistedMigration2 = "apiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRole\nmetadata:\n name: namespace-manager\nrules:\n - apiGroups: [\"\"]\n resources: [\"namespaces\"]\n verbs: [\"get\", \"create\", \"update\", \"delete\"]\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRoleBinding\nmetadata:\n name: namespace-manager-binding\nsubjects:\n - kind: ServiceAccount\n name: openshift-gitops-argocd-application-controller\n namespace: openshift-gitops\nroleRef:\n kind: ClusterRole\n name: namespace-manager\n apiGroup: rbac.authorization.k8s.io\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: Role\nmetadata:\n name: persistentvolumeclaim-manager\n namespace: openshift-image-registry\nrules:\n - apiGroups: [\"\"]\n resources: [\"persistentvolumeclaims\"]\n verbs: [\"get\", \"create\", \"update\", \"delete\"]\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: RoleBinding\nmetadata:\n name: persistentvolumeclaim-manager-binding\n namespace: openshift-image-registry\nsubjects:\n - kind: ServiceAccount\n name: openshift-gitops-argocd-application-controller\n namespace: openshift-gitops\nroleRef:\n kind: Role\n name: persistentvolumeclaim-manager\n apiGroup: rbac.authorization.k8s.io\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRole\nmetadata:\n name: job-manager\nrules:\n - apiGroups: [\"batch\"]\n resources: [\"jobs\"]\n verbs: [\"get\", \"create\", \"update\", \"delete\"]\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRoleBinding\nmetadata:\n name: job-manager-binding\nsubjects:\n - kind: ServiceAccount\n name: openshift-gitops-argocd-application-controller\n namespace: openshift-gitops\nroleRef:\n kind: ClusterRole\n name: job-manager\n apiGroup: rbac.authorization.k8s.io\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRole\nmetadata:\n name: argocd-application-controller\nrules:\n - apiGroups: [\"\"]\n resources: [\"serviceaccounts\", \"services\", \"secrets\"]\n verbs: [\"create\", \"get\", \"list\", \"update\", \"delete\", \"patch\"]\n - apiGroups: [\"apps\"]\n resources: [\"deployments\"]\n verbs: [\"create\", \"get\", \"list\", \"update\", \"delete\", \"patch\"]\n - apiGroups: [\"route.openshift.io\"]\n resources: [\"routes\"]\n verbs: [\"create\", \"get\", \"list\", \"update\", \"delete\", \"patch\"]\n - apiGroups: [\"image.openshift.io\"]\n resources: [\"imagestreams\"]\n verbs: [\"create\", \"get\", \"list\", \"update\", \"delete\", \"patch\"]\n - apiGroups: [\"build.openshift.io\"]\n resources: [\"buildconfigs\"]\n verbs: [\"create\", \"get\", \"list\", \"update\", \"delete\", \"patch\"]\n\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: ClusterRoleBinding\nmetadata:\n name: argocd-application-controller-binding\nsubjects:\n - kind: ServiceAccount\n name: openshift-gitops-argocd-application-controller\n namespace: openshift-gitops\nroleRef:\n kind: ClusterRole\n name: argocd-application-controller\n apiGroup: rbac.authorization.k8s.io\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: Role\nmetadata:\n name: argocd-secrets-role\n namespace: openshift-mtv\nrules:\n - apiGroups: [\"\"]\n resources: [\"secrets\"]\n verbs: [\"create\", \"get\", \"list\", \"update\", \"delete\", \"patch\"]\n\n---\napiVersion: rbac.authorization.k8s.io/v1\nkind: RoleBinding\nmetadata:\n name: argocd-secrets-rolebinding\n namespace: openshift-mtv\nsubjects:\n - kind: ServiceAccount\n name: openshift-gitops-argocd-application-controller\n namespace: openshift-gitops\nroleRef:\n kind: Role\n name: argocd-secrets-role\n apiGroup: rbac.authorization.k8s.io\n";
|
|
8
10
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/config/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2CAA2C,EAC3C,wCAAwC,EACzC,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAG/E,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG;IACtC,WAAW,EAAE,2CAA2C,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,kBAAkB,YACpB,eAAe,KACvB,wCAiBF,CAAC;AAEF,eAAO,MAAM,6BAA6B,mBACxB,2CAA2C,KAC1D,QAAQ,wCAAwC,CAMlD,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/config/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2CAA2C,EAC3C,wCAAwC,EACzC,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAG/E,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG;IACtC,WAAW,EAAE,2CAA2C,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,kBAAkB,YACpB,eAAe,KACvB,wCAiBF,CAAC;AAEF,eAAO,MAAM,6BAA6B,mBACxB,2CAA2C,KAC1D,QAAQ,wCAAwC,CAMlD,CAAC;AAGF,eAAO,MAAM,6BAA6B,2kBAwBzC,CAAC;AAEF,eAAO,MAAM,6BAA6B,smHA+HzC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const captureException: (error: any, message?: string, severity?:
|
|
1
|
+
import { SeverityLevel } from '@sentry/types';
|
|
2
|
+
export declare const captureException: (error: any, message?: string, severity?: SeverityLevel) => void;
|
|
3
3
|
//# sourceMappingURL=sentry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentry.d.ts","sourceRoot":"","sources":["../../../lib/ocm/sentry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sentry.d.ts","sourceRoot":"","sources":["../../../lib/ocm/sentry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG9C,eAAO,MAAM,gBAAgB,UAEpB,GAAG,YACA,MAAM,aACN,aAAa,SAUxB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const BundleService: {
|
|
2
|
+
listBundles(): Promise<import("@openshift-assisted/types/./assisted-installer-service").Bundle[]>;
|
|
3
|
+
listOperatorsByBundle(bundleName: string): Promise<string[]>;
|
|
4
|
+
};
|
|
5
|
+
export default BundleService;
|
|
6
|
+
//# sourceMappingURL=BundleService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BundleService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/BundleService.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa;;sCAKuB,MAAM;CAI/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -22,6 +22,7 @@ declare const ClustersService: {
|
|
|
22
22
|
createClusterManifests(manifests: CustomManifestValues[], clusterId: Cluster['id']): Promise<import("axios").AxiosResponse<import("@openshift-assisted/types/assisted-installer-service").Manifest, any>[]>;
|
|
23
23
|
removeClusterManifests(customManifests: ListManifestsExtended, clusterId: Cluster['id']): Promise<import("axios").AxiosResponse<void, any>[]>;
|
|
24
24
|
updateCustomManifest(existingManifest: CustomManifestValues, updatedManifest: CustomManifestValues, clusterId: Cluster['id']): Promise<import("axios").AxiosResponse<import("@openshift-assisted/types/assisted-installer-service").Manifest, any>>;
|
|
25
|
+
createClusterManifestsForAssistedMigration(clusterId: Cluster['id']): Promise<import("axios").AxiosResponse<import("@openshift-assisted/types/assisted-installer-service").Manifest, any>[]>;
|
|
25
26
|
};
|
|
26
27
|
export default ClustersService;
|
|
27
28
|
//# sourceMappingURL=ClustersService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClustersService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/ClustersService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,SAAS,CAAC;AACvE,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AAe,eAAe,CAAC"}
|
|
@@ -8,6 +8,7 @@ declare const OperatorsService: {
|
|
|
8
8
|
* We need to synchronise them back to the form
|
|
9
9
|
*/
|
|
10
10
|
syncOperators(uiOperators: OperatorCreateParams[], updatedOperators: Cluster['monitoredOperators']): Partial<OperatorsValues>;
|
|
11
|
+
getSupportedOperators(): Promise<string[]>;
|
|
11
12
|
};
|
|
12
13
|
export default OperatorsService;
|
|
13
14
|
//# sourceMappingURL=OperatorsService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperatorsService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/OperatorsService.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,
|
|
1
|
+
{"version":3,"file":"OperatorsService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/OperatorsService.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAiBhB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,OAAO,EACP,oBAAoB,EACrB,MAAM,sDAAsD,CAAC;AAG9D,QAAA,MAAM,gBAAgB;4BACI,eAAe,WAAW,OAAO,GAAG,oBAAoB,EAAE;IA+BlF;;;;OAIG;+BAEY,oBAAoB,EAAE,oBACjB,OAAO,CAAC,oBAAoB,CAAC,GAC9C,QAAQ,eAAe,CAAC;6BAsBI,QAAQ,MAAM,EAAE,CAAC;CAIjD,CAAC;AACF,eAAe,gBAAgB,CAAC"}
|
|
@@ -97,6 +97,7 @@ export declare const currentClusterSlice: import("@reduxjs/toolkit").Slice<Curre
|
|
|
97
97
|
'last-installation-preparation'?: import("@openshift-assisted/types/assisted-installer-service").LastInstallationPreparation | undefined;
|
|
98
98
|
orgSoftTimeoutsEnabled?: boolean | undefined;
|
|
99
99
|
controlPlaneCount?: number | undefined;
|
|
100
|
+
loadBalancer?: import("@openshift-assisted/types/assisted-installer-service").LoadBalancer | undefined;
|
|
100
101
|
};
|
|
101
102
|
uiState: ResourceUIState;
|
|
102
103
|
isReloadScheduled: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/current-cluster/slice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC1F,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,yCAAyC,CAAC;AAOxG,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAG7E,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,eAAe,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,wCAAwC,CAAC;IACtD,WAAW,CAAC,EAAE,cAAc,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,wBAAwB,EAAE,SAAS,EAAE,SAAS,CAAC,GACzF,QAAQ,CAAC;AAEX,eAAO,MAAM,iBAAiB;iBAIb,cAAc;;;;;;;;EAc7B,CAAC;AAUH,eAAO,MAAM,mBAAmB;8GAIO,cAAc,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/current-cluster/slice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC1F,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,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= require("../../../common/components/ui/formik");
|
|
12
12
|
const use_translation_wrapper_1 = require("../../../common/hooks/use-translation-wrapper");
|
|
13
13
|
const CpuArchitectureDropdown_1 = tslib_1.__importDefault(require("../common/CpuArchitectureDropdown"));
|
|
14
|
-
const common_1 = require("../../../common");
|
|
15
14
|
const helpers_1 = require("../helpers");
|
|
15
|
+
const ControlPlaneNodesDropdown_1 = tslib_1.__importDefault(require("../../../common/components/clusterConfiguration/ControlPlaneNodesDropdown"));
|
|
16
16
|
const BaseDnsHelperText = ({ name, baseDnsDomain, }) => {
|
|
17
17
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
18
18
|
return (React.createElement(React.Fragment, null,
|
|
@@ -27,7 +27,7 @@ const BaseDnsHelperText = ({ name, baseDnsDomain, }) => {
|
|
|
27
27
|
exports.BaseDnsHelperText = BaseDnsHelperText;
|
|
28
28
|
const ClusterDetailsFormFields = ({ isEditFlow, versions, forceOpenshiftVersion, extensionAfter, isNutanix, cpuArchitectures, }) => {
|
|
29
29
|
const { values, setFieldValue } = (0, formik_1.useFormikContext)();
|
|
30
|
-
const { name, baseDnsDomain
|
|
30
|
+
const { name, baseDnsDomain } = values;
|
|
31
31
|
const nameInputRef = React.useRef();
|
|
32
32
|
React.useEffect(() => {
|
|
33
33
|
var _a;
|
|
@@ -46,9 +46,8 @@ const ClusterDetailsFormFields = ({ isEditFlow, versions, forceOpenshiftVersion,
|
|
|
46
46
|
const ocpVersion = versions.find((v) => v.value === value);
|
|
47
47
|
setFieldValue('networkType', (0, helpers_1.getNetworkType)(ocpVersion));
|
|
48
48
|
} })),
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
React.createElement(CpuArchitectureDropdown_1.default, { isDisabled: isEditFlow, cpuArchitectures: cpuArchitectures }))),
|
|
49
|
+
React.createElement(ControlPlaneNodesDropdown_1.default, { isNutanix: isNutanix, isDisabled: isEditFlow }),
|
|
50
|
+
!isNutanix && (React.createElement(CpuArchitectureDropdown_1.default, { cpuArchitectures: cpuArchitectures, isDisabled: isEditFlow })),
|
|
52
51
|
(extensionAfter === null || extensionAfter === void 0 ? void 0 : extensionAfter['openshiftVersion']) && extensionAfter['openshiftVersion'],
|
|
53
52
|
!isEditFlow && React.createElement(clusters_1.PullSecret, null),
|
|
54
53
|
(extensionAfter === null || extensionAfter === void 0 ? void 0 : extensionAfter['pullSecret']) && extensionAfter['pullSecret'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDetailsFormFields.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDetailsFormFields.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAA6E;AAC7E,mCAA0C;AAE1C,mFAAgF;AAChF,4IAA4G;AAC5G,kEAAiE;AAEjE,iEAI8C;AAE9C,2FAA+E;AAC/E,wGAAwE;AACxE,
|
|
1
|
+
{"version":3,"file":"ClusterDetailsFormFields.js","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ClusterDetailsFormFields.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,uDAA6E;AAC7E,mCAA0C;AAE1C,mFAAgF;AAChF,4IAA4G;AAC5G,kEAAiE;AAEjE,iEAI8C;AAE9C,2FAA+E;AAC/E,wGAAwE;AACxE,wCAA4C;AAC5C,kJAAkH;AAU3G,MAAM,iBAAiB,GAAwD,CAAC,EACrF,IAAI,EACJ,aAAa,GACd,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL;QACG,CAAC,CACA,uKAAuK,CACxK;QAAE,GAAG;QACN,+BAAM;QACN;YACG,IAAI,IAAI,gBAAgB;;YAAG,aAAa,IAAI,eAAe,CACrD,CACR,CACJ,CAAC;AACJ,CAAC,CAAC;AAhBW,QAAA,iBAAiB,qBAgB5B;AAEK,MAAM,wBAAwB,GAA4C,CAAC,EAChF,UAAU,EACV,QAAQ,EACR,qBAA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AAC,KAAI,cAAc,CAAC,YAAY,CAAC;QAM9D,+BAA+B,IAAI,MAAM,CAAC,kBAAkB,KAAK,OAAO,IAAI,CAC3E,oBAAC,kBAAK,IACJ,OAAO,EAAE,yBAAY,CAAC,OAAO,EAC7B,QAAQ,QACR,KAAK,EACH,oBAAC,qBAAQ,QACN,CAAC,CACA,8FAA8F,CAC/F,CACQ,GAEb,CACH;QACA,+BAA+B,IAAI,MAAM,CAAC,kBAAkB,KAAK,MAAM,IAAI,CAC1E,oBAAC,kBAAK,IACJ,OAAO,EAAE,yBAAY,CAAC,OAAO,EAC7B,QAAQ,QACR,KAAK,EACH,oBAAC,qBAAQ,QACN,CAAC,CACA,wJAAwJ,CACzJ,CACQ,GAEb,CACH,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AA3GW,QAAA,wBAAwB,4BA2GnC"}
|
|
@@ -25,7 +25,7 @@ const OpenshiftVersionDropdown = ({ osImages }) => {
|
|
|
25
25
|
}
|
|
26
26
|
}, [filteredImages.length, setValue, t, value]);
|
|
27
27
|
return (React.createElement(react_core_1.FormGroup, { isInline: true, fieldId: fieldId, label: t('ai:OpenShift version') },
|
|
28
|
-
React.createElement(react_core_1.Tooltip, { content: t('ai:No OpenShift images available for selected CPU architecture {{cpuArchitecture}}.', common_1.architectureData[cpuArchitecture].label), hidden: !!filteredImages.length },
|
|
28
|
+
React.createElement(react_core_1.Tooltip, { content: t('ai:No OpenShift images available for selected CPU architecture {{cpuArchitecture}}.', { cpuArchitecture: common_1.architectureData[cpuArchitecture].label }), hidden: !!filteredImages.length },
|
|
29
29
|
React.createElement(deprecated_1.Dropdown, { toggle: React.createElement(deprecated_1.DropdownToggle, { onToggle: () => setOsImageOpen(!osImageOpen), className: "pf-u-w-100", isDisabled: !filteredImages.length }, value ? `OpenShift ${value}` : t('ai:No version selected')), name: "osImageVersion", isOpen: osImageOpen, onSelect: onOsImageSelect, dropdownItems: [
|
|
30
30
|
React.createElement(deprecated_1.DropdownItem, { key: 'NO_VALUE', value: '' }, t('ai:No version selected')),
|
|
31
31
|
...filteredImages.map((image) => (React.createElement(deprecated_1.DropdownItem, { key: image.openshiftVersion, id: image.openshiftVersion }, `OpenShift ${image.openshiftVersion}`))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenshiftVersionDropdown.js","sourceRoot":"","sources":["../../../../../lib/cim/components/InfraEnv/OpenshiftVersionDropdown.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,kEAA2F;AAC3F,uDAA4D;AAC5D,mCAAkC;AAClC,2FAA+E;AAC/E,4CAAyF;AAGzF,MAAM,wBAAwB,GAAG,CAAC,EAAE,QAAQ,EAA2B,EAAE,EAAE;IACzE,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,AAAD,EAAG,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAA,iBAAQ,EAAS,gBAAgB,CAAC,CAAC;IAC7E,MAAM,CAAC,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC,GAAG,IAAA,iBAAQ,EAAS,iBAAiB,CAAC,CAAC;IACzE,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5D,MAAM,OAAO,GAAG,IAAA,mBAAU,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAE1C,MAAM,eAAe,GAAG,CAAC,CAAwC,EAAE,EAAE;QACnE,MAAM,GAAG,GAAG,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,aAAa,CAAC,EAAE,KAAI,EAAE,CAAC;QACtC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACd,cAAc,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC,CAAC;IAEF,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAClC,GAAG,EAAE,CAAC,QAAQ,CAAC,M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CAAC,EAC5C,SAAS,EAAC,YAAY,EACtB,UAAU,EAAE,CAAC,cAAc,CAAC,MAAM,IAEjC,KAAK,CAAC,CAAC,CAAC,aAAa,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAC5C,EAEnB,IAAI,EAAC,gBAAgB,EACrB,MAAM,EAAE,WAAW,EACnB,QAAQ,EAAE,eAAe,EACzB,aAAa,EAAE;oBACb,oBAAC,yBAAY,IAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,IACrC,CAAC,CAAC,wBAAwB,CAAC,CACf;oBACf,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC/B,oBAAC,yBAAY,IAAC,GAAG,EAAE,KAAK,CAAC,gBAAgB,EAAE,EAAE,EAAE,KAAK,CAAC,gBAAgB,IAClE,aAAa,KAAK,CAAC,gBAAgB,EAAE,CACzB,CAChB,CAAC;iBACH,EACD,SAAS,EAAC,YAAY,GACtB,CACM,CACA,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,wBAAwB,CAAC"}
|
|
@@ -9,7 +9,7 @@ exports.INFRAENV_AGENTINSTALL_LABEL_KEY = 'infraenvs.agent-install.openshift.io'
|
|
|
9
9
|
exports.AGENT_BMH_NAME_LABEL_KEY = 'agent-install.openshift.io/bmh';
|
|
10
10
|
exports.INFRAENV_GENERATED_AI_FLOW = 'agentBareMetal-generated-infraenv-ai-flow'; // mind ai-template.hbs in ACM when changed here
|
|
11
11
|
exports.CPU_ARCHITECTURE_ANNOTATION_KEY = 'agentBareMetal-cpuArchitecture';
|
|
12
|
-
const getInfraEnvDocs = (docVersion) => `https://
|
|
12
|
+
const getInfraEnvDocs = (docVersion) => `https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_management_for_kubernetes/${docVersion}/html-single/clusters/index#enable-cim-prerequisites`;
|
|
13
13
|
exports.getInfraEnvDocs = getInfraEnvDocs;
|
|
14
14
|
exports.BMH_HOSTNAME_ANNOTATION = 'bmac.agent-install.openshift.io/hostname';
|
|
15
15
|
exports.OCP_VERSION_MAJOR_MINOR = 'hive.openshift.io/version-major-minor';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../lib/cim/components/common/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GACnC,4DAA4D,CAAC;AAElD,QAAA,cAAc,GAAG,+BAA+B,CAAC;AAEjD,QAAA,gCAAgC,GAAG,yCAAyC,CAAC;AAE7E,QAAA,sBAAsB,GAAG,YAAY,CAAC;AAEtC,QAAA,+BAA+B,GAAG,sCAAsC,CAAC;AAEzE,QAAA,wBAAwB,GAAG,gCAAgC,CAAC;AAE5D,QAAA,0BAA0B,GAAG,2CAA2C,CAAC,CAAC,gDAAgD;AAE1H,QAAA,+BAA+B,GAAG,gCAAgC,CAAC;AAEzE,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE,CACpD,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../lib/cim/components/common/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GACnC,4DAA4D,CAAC;AAElD,QAAA,cAAc,GAAG,+BAA+B,CAAC;AAEjD,QAAA,gCAAgC,GAAG,yCAAyC,CAAC;AAE7E,QAAA,sBAAsB,GAAG,YAAY,CAAC;AAEtC,QAAA,+BAA+B,GAAG,sCAAsC,CAAC;AAEzE,QAAA,wBAAwB,GAAG,gCAAgC,CAAC;AAE5D,QAAA,0BAA0B,GAAG,2CAA2C,CAAC,CAAC,gDAAgD;AAE1H,QAAA,+BAA+B,GAAG,gCAAgC,CAAC;AAEzE,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE,CACpD,+FAA+F,UAAU,sDAAsD,CAAC;AADrJ,QAAA,eAAe,mBACsI;AACrJ,QAAA,uBAAuB,GAAG,0CAA0C,CAAC;AAErE,QAAA,uBAAuB,GAAG,uCAAuC,CAAC"}
|
|
@@ -93,7 +93,7 @@ const getAIHosts = (agents, bmhs, infraEnv) => {
|
|
|
93
93
|
};
|
|
94
94
|
exports.getAIHosts = getAIHosts;
|
|
95
95
|
const getAICluster = ({ clusterDeployment, agentClusterInstall, agents = [], infraEnv, }) => {
|
|
96
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12;
|
|
96
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13;
|
|
97
97
|
const installVersion = ((_a = clusterDeployment.status) === null || _a === void 0 ? void 0 : _a.installVersion) ||
|
|
98
98
|
((_c = (_b = clusterDeployment.metadata) === null || _b === void 0 ? void 0 : _b.labels) === null || _c === void 0 ? void 0 : _c[constants_1.OCP_VERSION_MAJOR_MINOR]);
|
|
99
99
|
const [status, statusInfo] = (0, status_1.getClusterStatus)(agentClusterInstall);
|
|
@@ -135,6 +135,7 @@ const getAICluster = ({ clusterDeployment, agentClusterInstall, agents = [], inf
|
|
|
135
135
|
validationsInfo: JSON.stringify(((_11 = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.status) === null || _11 === void 0 ? void 0 : _11.validationsInfo) || {}),
|
|
136
136
|
cpuArchitecture: (0, clusterDeployment_1.getClusterDeploymentCpuArchitecture)(clusterDeployment, infraEnv),
|
|
137
137
|
networkType: (_12 = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.spec) === null || _12 === void 0 ? void 0 : _12.networking.networkType,
|
|
138
|
+
controlPlaneCount: ((_13 = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.spec) === null || _13 === void 0 ? void 0 : _13.provisionRequirements.controlPlaneAgents) || 3,
|
|
138
139
|
};
|
|
139
140
|
/*
|
|
140
141
|
aiCluster.agentSelectorMasterLabels =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toAssisted.js","sourceRoot":"","sources":["../../../../../lib/cim/components/helpers/toAssisted.ts"],"names":[],"mappings":";;;;AAAA,kFAA+C;AAK/C,qCAA+D;AAC/D,uCAA4C;AAE5C,mDAI6B;AAC7B,qCAAkF;AAClF,2DAA0E;AAEnE,MAAM,UAAU,GAAG,CACxB,MAA0B,EAC1B,IAAiC,EACjC,QAA8B,EAC9B,EAAE;IACF,MAAM,SAAS,GAAa,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAQ,EAAE;;QACvC,MAAM,SAAS,GAAG,IAAA,0BAAiB,EAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACjD,MAAM,UAAU,GAAG,CAAA,MAAA,MAAA,KAAK,CAAC,MAAM,0CAAE,SAAS,0CAAE,SAAS,KAAI,EAAE,CAAC;QAC5D,+FAA+F;QAC/F,MAAM,SAAS,GAAc,IAAA,sBAAS,EAAC,CAAA,MAAA,KAAK,CAAC,MAAM,0CAAE,SAAS,KAAI,EAAE,CAAC,CAAC;QACtE,oBAAoB;QACpB,MAAA,SAAS,CAAC,UAAU,0CAAE,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YACrC,aAAa;YACb,IAAI,CAAC,aAAa,GAAG,IAAA,sBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;YACnD,aAAa;YACb,IAAI,CAAC,aAAa,GAAG,IAAA,sBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;QACH,mBAAmB;QAEnB,IAAI,MAAA,MAAA,KAAK,CAAC,QAAQ,0CAAE,MAAM,0CAAG,oCAAwB,CAAC,EAAE;YACtD,MAAM,OAAO,GAAG,MAAA,MAAA,K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AAE,uBAAuB;QACnE,kBAAkB,EAAE,OAAA,iBAAiB,CAAC,MAAM,4CAAE,kBAAkB;QAChE,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC,CAAA,OAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,MAAM,4CAAE,eAAe,KAAI,EAAE,CAAC;QACnF,eAAe,EAAE,IAAA,uDAAmC,EAAC,iBAAiB,EAAE,QAAQ,CAAC;QACjF,WAAW,EAAE,OAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,IAAI,4CAAE,UAAU,CAAC,WAAW;QAC9D,iBAAiB,EAAE,CAAA,OAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,IAAI,4CAAE,qBAAqB,CAAC,kBAAkB,KAAI,CAAC;KAC5F,CAAC;IACF;;;;;;;;;IASA;IACA,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAtEW,QAAA,YAAY,gBAsEvB"}
|
|
@@ -8,12 +8,12 @@ const use_translation_wrapper_1 = require("../../../common/hooks/use-translation
|
|
|
8
8
|
const EnvironmentErrors_1 = require("../InfraEnv/EnvironmentErrors");
|
|
9
9
|
const DownloadIpxeScript_1 = tslib_1.__importDefault(require("../../../common/components/clusterConfiguration/DownloadIpxeScript"));
|
|
10
10
|
const AddHostModal = ({ isOpen, onClose, infraEnv, agentClusterInstall, onSaveISOParams, docVersion, isIPXE, }) => {
|
|
11
|
-
var _a, _b, _c, _d, _e;
|
|
11
|
+
var _a, _b, _c, _d, _e, _f;
|
|
12
12
|
const hasDHCP = ((_b = (_a = infraEnv.metadata) === null || _a === void 0 ? void 0 : _a.labels) === null || _b === void 0 ? void 0 : _b.networkType) !== 'static';
|
|
13
13
|
const sshPublicKey = ((_c = infraEnv.spec) === null || _c === void 0 ? void 0 : _c.sshAuthorizedKey) || ((_d = agentClusterInstall === null || agentClusterInstall === void 0 ? void 0 : agentClusterInstall.spec) === null || _d === void 0 ? void 0 : _d.sshPublicKey);
|
|
14
14
|
const { httpProxy, httpsProxy, noProxy } = ((_e = infraEnv.spec) === null || _e === void 0 ? void 0 : _e.proxy) || {};
|
|
15
|
-
const
|
|
16
|
-
const [dialogType, setDialogType] = React.useState(
|
|
15
|
+
const imageType = ((_f = infraEnv.spec) === null || _f === void 0 ? void 0 : _f.imageType) || 'minimal-iso';
|
|
16
|
+
const [dialogType, setDialogType] = React.useState('config');
|
|
17
17
|
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
18
18
|
const handleIsoConfigSubmit = (values, formikActions) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
19
19
|
try {
|
|
@@ -31,8 +31,7 @@ const AddHostModal = ({ isOpen, onClose, infraEnv, agentClusterInstall, onSaveIS
|
|
|
31
31
|
});
|
|
32
32
|
return (React.createElement(react_core_1.Modal, { "aria-label": t('ai:Add host dialog'), title: t('ai:Add host'), isOpen: isOpen, onClose: onClose, variant: react_core_1.ModalVariant.small, hasNoBodyWrapper: true, id: "add-host-modal" },
|
|
33
33
|
React.createElement(EnvironmentErrors_1.EnvironmentErrors, { infraEnv: infraEnv, docVersion: docVersion, inModal: true },
|
|
34
|
-
dialogType === 'config' && (React.createElement(common_1.DiscoveryImageConfigForm, { onCancel: onClose, handleSubmit: handleIsoConfigSubmit, hideDiscoveryImageType:
|
|
35
|
-
, sshPublicKey: sshPublicKey, httpProxy: httpProxy, httpsProxy: httpsProxy, noProxy: noProxy, hasDHCP: hasDHCP, isIPXE: isIPXE, allowEmpty: true, docVersion: docVersion })),
|
|
34
|
+
dialogType === 'config' && (React.createElement(common_1.DiscoveryImageConfigForm, { onCancel: onClose, handleSubmit: handleIsoConfigSubmit, hideDiscoveryImageType: isIPXE, imageType: imageType, sshPublicKey: sshPublicKey, httpProxy: httpProxy, httpsProxy: httpsProxy, noProxy: noProxy, hasDHCP: hasDHCP, isIPXE: isIPXE, allowEmpty: true, docVersion: docVersion })),
|
|
36
35
|
dialogType === 'download' && (React.createElement(React.Fragment, null, isIPXE ? (React.createElement(GeneratingIPXEDownload, { onClose: onClose, infraEnv: infraEnv, onReset: agentClusterInstall ? () => setDialogType('config') : undefined })) : (React.createElement(GeneratingIsoDownload, { onClose: onClose, infraEnv: infraEnv, onReset: agentClusterInstall ? () => setDialogType('config') : undefined, hasDHCP: hasDHCP, docVersion: docVersion })))))));
|
|
37
36
|
};
|
|
38
37
|
const GeneratingIsoDownload = ({ infraEnv, onClose, onReset, hasDHCP, docVersion, }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddHostModal.js","sourceRoot":"","sources":["../../../../../lib/cim/components/modals/AddHostModal.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAE/B,uDAQgC;AAChC,4CAAkG;AAElG,2FAA+E;AAC/E,qEAAkE;AAElE,oIAAoG;AAIpG,MAAM,YAAY,GAAgC,CAAC,EACjD,MAAM,EACN,OAAO,EACP,QAAQ,EACR,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,MAAM,GACP,EAAE,EAAE;;IACH,MAAM,OAAO,GAAG,CAAA,MAAA,MAAA,QAAQ,CAAC,QAAQ,0CAAE,MAAM,0CAAE,WAAW,MAAK,QAAQ,CAAC;IACpE,MAAM,YAAY,GAAG,CAAA,MAAA,QAAQ,CAAC,IAAI,0CAAE,gBAAgB,MAAI,MAAA,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,IAAI,0CAAE,YAAY,CAAA,CAAC;IAChG,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,CAAA,MAAA,QAAQ,CAAC,IAAI,0CAAE,KAAK,KAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"AddHostModal.js","sourceRoot":"","sources":["../../../../../lib/cim/components/modals/AddHostModal.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAE/B,uDAQgC;AAChC,4CAAkG;AAElG,2FAA+E;AAC/E,qEAAkE;AAElE,oIAAo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|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const axiosClient_1 = require("../axiosClient");
|
|
4
|
+
const BundleAPI = {
|
|
5
|
+
makeBaseURI() {
|
|
6
|
+
return `/v2/operators/bundles`;
|
|
7
|
+
},
|
|
8
|
+
list() {
|
|
9
|
+
return axiosClient_1.client.get(`${BundleAPI.makeBaseURI()}`);
|
|
10
|
+
},
|
|
11
|
+
listOperatorsForBundle(bundleName) {
|
|
12
|
+
return axiosClient_1.client.get(`${BundleAPI.makeBaseURI()}?bundle_name=${bundleName}`);
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
exports.default = BundleAPI;
|
|
16
|
+
//# sourceMappingURL=BundleAPI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BundleAPI.js","sourceRoot":"","sources":["../../../../../lib/common/api/assisted-service/BundleAPI.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAGxC,MAAM,SAAS,GAAG;IAChB,WAAW;QACT,OAAO,uBAAuB,CAAC;IACjC,CAAC;IAED,IAAI;QACF,OAAO,oBAAM,CAAC,GAAG,CAAW,GAAG,SAAS,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;IAC5D,CAAC;IAED,sBAAsB,CAAC,UAAkB;QACvC,OAAO,oBAAM,CAAC,GAAG,CAAW,GAAG,SAAS,CAAC,WAAW,EAAE,gBAAgB,UAAU,EAAE,CAAC,CAAC;IACtF,CAAC;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const axiosClient_1 = require("../axiosClient");
|
|
4
|
+
const OperatorsAPI = {
|
|
5
|
+
makeBaseURI() {
|
|
6
|
+
return `/v2/supported-operators`;
|
|
7
|
+
},
|
|
8
|
+
list() {
|
|
9
|
+
return axiosClient_1.client.get(`${OperatorsAPI.makeBaseURI()}`);
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
exports.default = OperatorsAPI;
|
|
13
|
+
//# sourceMappingURL=OperatorsAPI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperatorsAPI.js","sourceRoot":"","sources":["../../../../../lib/common/api/assisted-service/OperatorsAPI.ts"],"names":[],"mappings":";;AAAA,gDAAwC;AAExC,MAAM,YAAY,GAAG;IACnB,WAAW;QACT,OAAO,yBAAyB,CAAC;IACnC,CAAC;IAED,IAAI;QACF,OAAO,oBAAM,CAAC,GAAG,CAAW,GAAG,YAAY,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;CACF,CAAC;AAEF,kBAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const deprecated_1 = require("@patternfly/react-core/deprecated");
|
|
6
|
+
const react_core_1 = require("@patternfly/react-core");
|
|
7
|
+
const use_translation_wrapper_1 = require("../../hooks/use-translation-wrapper");
|
|
8
|
+
const __1 = require("../..");
|
|
9
|
+
const formik_1 = require("formik");
|
|
10
|
+
const toNumber_1 = tslib_1.__importDefault(require("lodash-es/toNumber"));
|
|
11
|
+
const isDropdownItemEnabled = (controlPlaneNodeCount, isNutanix) => {
|
|
12
|
+
return (controlPlaneNodeCount === 1 && !isNutanix) || controlPlaneNodeCount !== 1;
|
|
13
|
+
};
|
|
14
|
+
const ControlPlaneNodesDropdown = ({ isDisabled = false, isNutanix, }) => {
|
|
15
|
+
const { t } = (0, use_translation_wrapper_1.useTranslation)();
|
|
16
|
+
const [{ name, value: selectedValue }, , { setValue }] = (0, formik_1.useField)('controlPlaneCount');
|
|
17
|
+
const options = [
|
|
18
|
+
{ value: 1, label: t('ai:1 (Single Node OpenShift - not highly available cluster)') },
|
|
19
|
+
{ value: 3, label: t('ai:3 (highly available cluster)') },
|
|
20
|
+
{ value: 4, label: t('ai:4 (highly available cluster+)') },
|
|
21
|
+
{ value: 5, label: t('ai:5 (highly available cluster++)') },
|
|
22
|
+
];
|
|
23
|
+
const dropdownItems = options.map(({ value, label }) => {
|
|
24
|
+
const isItemEnabled = isDropdownItemEnabled(value, isNutanix);
|
|
25
|
+
const disabledReason = t('ai:This option is not available for Nutanix platform');
|
|
26
|
+
return (React.createElement(deprecated_1.DropdownItem, { key: value, id: value.toString(), isAriaDisabled: !isItemEnabled, selected: selectedValue === value, value: value },
|
|
27
|
+
React.createElement(react_core_1.Tooltip, { hidden: isItemEnabled, content: disabledReason, position: "top" },
|
|
28
|
+
React.createElement("div", null, label))));
|
|
29
|
+
});
|
|
30
|
+
const [controlPlanelOpen, setControlPlanelOpen] = React.useState(false);
|
|
31
|
+
const fieldId = (0, __1.getFieldId)(name, 'input');
|
|
32
|
+
const onControlPlaneSelect = (e) => {
|
|
33
|
+
const val = e === null || e === void 0 ? void 0 : e.currentTarget.id;
|
|
34
|
+
setValue((0, toNumber_1.default)(val));
|
|
35
|
+
setControlPlanelOpen(false);
|
|
36
|
+
};
|
|
37
|
+
return !isDisabled ? (React.createElement(react_core_1.FormGroup, { isInline: true, fieldId: fieldId, label: t('ai:Number of control plane nodes'), isRequired: true },
|
|
38
|
+
React.createElement(deprecated_1.Dropdown, { toggle: React.createElement(deprecated_1.DropdownToggle, { onToggle: () => setControlPlanelOpen(!controlPlanelOpen), className: "pf-u-w-100" }, selectedValue ? selectedValue : '3'), name: "controlPlaneCount", isOpen: controlPlanelOpen, onSelect: onControlPlaneSelect, dropdownItems: dropdownItems, className: "pf-u-w-100" }))) : (React.createElement(__1.StaticField, { name: 'controlPlaneCount', label: t('ai:Number of control plane nodes'), isRequired: true }, selectedValue));
|
|
39
|
+
};
|
|
40
|
+
exports.default = ControlPlaneNodesDropdown;
|
|
41
|
+
//# sourceMappingURL=ControlPlaneNodesDropdown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ControlPlaneNodesDropdown.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx"],"names":[],"mappings":";;;AAAA,qDAA+B;AAC/B,kEAA2F;AAC3F,uDAA4D;AAC5D,iFAAqE;AACrE,6BAAgD;AAChD,mCAAkC;AAClC,0EAA0C;AAO1C,MAAM,qBAAqB,GAAG,CAAC,qBAA6B,EAAE,SAAmB,EAAW,EAAE;IAC5F,OAAO,CAAC,qBAAqB,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,qBAAqB,KAAK,CAAC,CAAC;AACpF,CAAC,CAAC;AAEF,MAAM,yBAAyB,GAAG,CAAC,EACjC,UAAU,GAAG,KAAK,EAClB,SAAS,GAIV,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,AAAD,EAAG,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAA,iBAAQ,EAC/D,mBAAmB,CACpB,CAAC;IAEF,MAAM,OAAO,GAA8B;QACzC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,6DAA6D,CAAC,EAAE;QACrF,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,iCAAiC,CAAC,EAAE;QACzD,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,kCAAkC,CAAC,EAAE;QAC1D,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,mCAAmC,CAAC,EAAE;KAC5D,CAAC;IAEF,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;QACrD,M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C,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CACrB,EAEnB,IAAI,EAAC,mBAAmB,EACxB,MAAM,EAAE,iBAAiB,EACzB,QAAQ,EAAE,oBAAoB,EAC9B,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAC,YAAY,GACtB,CACQ,CACb,CAAC,CAAC,CAAC,CACF,oBAAC,eAAW,IACV,IAAI,EAAE,mBAAmB,EACzB,KAAK,EAAE,CAAC,CAAC,kCAAkC,CAAC,EAC5C,UAAU,UAET,aAAa,CACF,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,yBAAyB,CAAC"}
|
|
@@ -39,16 +39,15 @@ const DiscoveryImageConfigForm = ({ handleSubmit, onCancel, sshPublicKey, httpPr
|
|
|
39
39
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
40
40
|
react_1.default.createElement(react_core_1.ModalBoxBody, null,
|
|
41
41
|
react_1.default.createElement(react_core_1.Stack, { hasGutter: true },
|
|
42
|
-
react_1.default.createElement(react_core_1.StackItem, null,
|
|
43
|
-
react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.info, isInline: true, title: isIPXE
|
|
44
|
-
? t('ai:To add hosts to the cluster, generate iPXE script.')
|
|
45
|
-
: t('ai:To add hosts to the cluster, generate a Discovery ISO.') })),
|
|
46
42
|
hasDHCP === false && (react_1.default.createElement(react_core_1.StackItem, null,
|
|
47
43
|
react_1.default.createElement(exports.StaticIPInfo, { docVersion: docVersion }))),
|
|
48
44
|
react_1.default.createElement(react_core_1.StackItem, null,
|
|
49
45
|
react_1.default.createElement(react_core_1.Form, null,
|
|
50
|
-
react_1.default.createElement(ui_1.AlertFormikError, { status: status }),
|
|
51
46
|
!hideDiscoveryImageType && react_1.default.createElement(DiscoveryImageTypeControlGroup_1.default, null),
|
|
47
|
+
react_1.default.createElement(ui_1.AlertFormikError, { status: status }),
|
|
48
|
+
react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.info, isInline: true, title: isIPXE
|
|
49
|
+
? t('ai:To add hosts to the cluster, generate iPXE script.')
|
|
50
|
+
: t('ai:To add hosts to the cluster, generate a Discovery ISO.') }),
|
|
52
51
|
react_1.default.createElement(UploadSSH_1.default, null),
|
|
53
52
|
react_1.default.createElement(ProxyFields_1.default, null))))),
|
|
54
53
|
react_1.default.createElement(react_core_1.ModalBoxFooter, null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscoveryImageConfigForm.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,iDAA2B;AAC3B,uDASgC;AAChC,yGAAmG;AACnG,mCAA+C;AAM/C,sDAKuC;AAEvC,wEAAwC;AACxC,oEAAoC;AACpC,8GAA8E;AAC9E,wDAAgE;AAChE,iFAAqE;AAE9D,MAAM,YAAY,GAAG,CAAC,EAAE,UAAU,EAA2B,EAAE,EAAE;IACtE,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,OAAO,CACL,8BAAC,kBAAK,IACJ,KAAK,EAAE,CAAC,CACN,uFAAuF,CACxF,EACD,QAAQ,QACR,OAAO,EAAC,MAAM;QAEd,8BAAC,mBAAM,IACL,OAAO,EAAC,MAAM,EACd,IAAI,EAAE,8BAAC,4CAAmB,OAAG,EAC7B,YAAY,EAAC,OAAO,EACpB,QAAQ,QACR,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAA,kCAAqB,EAAC,UAAU,CAAC,EAAE,QAAQ,EAAE,UAAU,CAAC,IAElF,CAAC,CAAC,uBAAuB,CAAC,CACpB,CACH,CACT,CAAC;AACJ,CAAC,CAAC;AArBW,QAAA,YAAY,gBAqBvB;AAIF,MAAM,mBAAmB,GAAG,CAAC,UAAmB,EAAE,EAAE,CAClD,GAAG,CAAC,IAAI,CAAC,CAAC,MAAgC,EAAE,EAAE,C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