@openshift-assisted/ui-lib 2.52.1 → 2.53.0
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/ClusterDeploymentWizard.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networking/NetworkTypeDropdown.d.ts +5 -0
- package/build/@types/cim/components/ClusterDeployment/networking/NetworkTypeDropdown.d.ts.map +1 -0
- package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/types.d.ts +0 -1
- package/build/@types/cim/components/ClusterDeployment/types.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +4 -4
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts +2 -2
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.test.d.ts +2 -0
- package/build/@types/cim/components/helpers/versions.test.d.ts.map +1 -0
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts +14 -17
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
- package/build/@types/cim/hooks/index.d.ts +1 -0
- package/build/@types/cim/hooks/index.d.ts.map +1 -1
- package/build/@types/cim/hooks/useAgents.d.ts +4 -0
- package/build/@types/cim/hooks/useAgents.d.ts.map +1 -0
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +1 -1
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ClusterCredentials.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ConsoleModal.d.ts +0 -5
- package/build/@types/common/components/clusterDetail/ConsoleModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/customManifests/CustomManifestsAlert.d.ts +6 -0
- package/build/@types/common/components/clusterWizard/customManifests/CustomManifestsAlert.d.ts.map +1 -0
- package/build/@types/common/components/clusterWizard/customManifests/index.d.ts +2 -0
- package/build/@types/common/components/clusterWizard/customManifests/index.d.ts.map +1 -0
- package/build/@types/common/components/clusterWizard/index.d.ts +2 -0
- package/build/@types/common/components/clusterWizard/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts +2 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts +2 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/ThirdPartyCNIBanner.d.ts +3 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/ThirdPartyCNIBanner.d.ts.map +1 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/index.d.ts +1 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/index.d.ts.map +1 -1
- package/build/@types/common/components/clusters/PullSecret.d.ts +0 -1
- package/build/@types/common/components/clusters/PullSecret.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostsTable.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardFooter.d.ts +1 -0
- package/build/@types/common/components/ui/WizardFooter.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/utils.d.ts +1 -0
- package/build/@types/common/components/ui/formik/utils.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +2 -2
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/types/networkType.d.ts +2 -1
- package/build/@types/common/types/networkType.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/networkingValidation.d.ts +10 -0
- package/build/@types/common/validationSchemas/networkingValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
- package/build/@types/ocm/components/{clusterDetail/ClusterProperties.d.ts → clusterConfiguration/review/utils.d.ts} +1 -8
- package/build/@types/ocm/components/clusterConfiguration/review/utils.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/review/utils.test.d.ts +2 -0
- package/build/@types/ocm/components/clusterConfiguration/review/utils.test.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.d.ts +1 -0
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/index.d.ts +0 -1
- package/build/@types/ocm/components/clusterDetail/index.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/HostDiscovery.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts +5 -1
- package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsTableEmptyState.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useClusterCustomManifests.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useLateBinding.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts +2 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js +9 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentWizard.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js +46 -7
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +22 -21
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +25 -9
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/NetworkTypeDropdown.js +35 -0
- package/build/cjs/cim/components/ClusterDeployment/networking/NetworkTypeDropdown.js.map +1 -0
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js +4 -4
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +13 -18
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js +5 -1
- package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js +1 -4
- package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +1 -1
- package/build/cjs/cim/components/helpers/clusterDeployment.js +14 -10
- package/build/cjs/cim/components/helpers/clusterDeployment.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +39 -28
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.test.js +423 -0
- package/build/cjs/cim/components/helpers/versions.test.js.map +1 -0
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +39 -16
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js +96 -136
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
- package/build/cjs/cim/hooks/index.js +1 -0
- package/build/cjs/cim/hooks/index.js.map +1 -1
- package/build/cjs/cim/hooks/useAgents.js +13 -0
- package/build/cjs/cim/hooks/useAgents.js.map +1 -0
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js +10 -9
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js +1 -10
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/customManifests/CustomManifestsAlert.js +32 -0
- package/build/cjs/common/components/clusterWizard/customManifests/CustomManifestsAlert.js.map +1 -0
- package/build/cjs/common/components/clusterWizard/customManifests/index.js +5 -0
- package/build/cjs/common/components/clusterWizard/customManifests/index.js.map +1 -0
- package/build/cjs/common/components/clusterWizard/index.js +2 -0
- package/build/cjs/common/components/clusterWizard/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +8 -2
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.js +2 -2
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js +29 -19
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/ThirdPartyCNIBanner.js +20 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/ThirdPartyCNIBanner.js.map +1 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/index.js +1 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/index.js.map +1 -1
- package/build/cjs/common/components/clusters/PullSecret.js +17 -19
- package/build/cjs/common/components/clusters/PullSecret.js.map +1 -1
- package/build/cjs/common/components/hosts/HostsTable.js +2 -1
- package/build/cjs/common/components/hosts/HostsTable.js.map +1 -1
- package/build/cjs/common/components/ui/WizardFooter.js +6 -1
- package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
- package/build/cjs/common/components/ui/formik/utils.js +5 -1
- package/build/cjs/common/components/ui/formik/utils.js.map +1 -1
- package/build/cjs/common/config/constants.js +13 -2
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/types/networkType.js +9 -8
- package/build/cjs/common/types/networkType.js.map +1 -1
- package/build/cjs/common/validationSchemas/networkingValidation.js +19 -1
- package/build/cjs/common/validationSchemas/networkingValidation.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +4 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +1 -20
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +7 -6
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js +6 -9
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +6 -5
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js +5 -2
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/utils.js +57 -0
- package/build/cjs/ocm/components/clusterConfiguration/review/utils.js.map +1 -0
- package/build/cjs/ocm/components/{clusterDetail/ClusterProperties.test.js → clusterConfiguration/review/utils.test.js} +13 -13
- package/build/cjs/ocm/components/clusterConfiguration/review/utils.test.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js +3 -7
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js +8 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/index.js +1 -3
- package/build/cjs/ocm/components/clusterDetail/index.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +10 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js +4 -1
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +2 -2
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersTable.js +3 -2
- package/build/cjs/ocm/components/clusters/ClustersTable.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +1 -1
- package/build/cjs/ocm/components/hosts/HostsTableEmptyState.js +2 -1
- package/build/cjs/ocm/components/hosts/HostsTableEmptyState.js.map +1 -1
- package/build/cjs/ocm/hooks/useClusterCustomManifests.js +3 -15
- package/build/cjs/ocm/hooks/useClusterCustomManifests.js.map +1 -1
- package/build/cjs/ocm/hooks/useLateBinding.js +41 -26
- package/build/cjs/ocm/hooks/useLateBinding.js.map +1 -1
- package/build/cjs/ocm/hooks/usePullSecret.js +2 -2
- package/build/cjs/ocm/hooks/useUISettings.js +1 -1
- package/build/cjs/ocm/hooks/useUISettings.js.map +1 -1
- package/build/cjs/ocm/services/ClusterDetailsService.js +4 -2
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentWizard.tsx +10 -2
- package/lib/cim/components/ClusterDeployment/NetworkConfiguration.tsx +55 -6
- package/lib/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.tsx +18 -2
- package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +22 -8
- package/lib/cim/components/ClusterDeployment/networking/NetworkTypeDropdown.tsx +81 -0
- package/lib/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.tsx +18 -14
- package/lib/cim/components/ClusterDeployment/types.ts +0 -1
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +14 -22
- package/lib/cim/components/ClusterDeployment/wizardTransition.ts +5 -1
- package/lib/cim/components/Hypershift/modals/NodePoolForm.tsx +2 -2
- package/lib/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.tsx +2 -5
- package/lib/cim/components/helpers/clusterDeployment.ts +9 -4
- package/lib/cim/components/helpers/versions.test.ts +465 -0
- package/lib/cim/components/helpers/versions.ts +37 -31
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +45 -18
- package/lib/cim/components/modals/CimConfiguration/persist.ts +97 -199
- package/lib/cim/hooks/index.tsx +1 -0
- package/lib/cim/hooks/useAgents.tsx +15 -0
- package/lib/cim/types/k8s/agent-cluster-install.ts +1 -1
- package/lib/common/components/clusterDetail/ClusterCredentials.tsx +49 -53
- package/lib/common/components/clusterDetail/ConsoleModal.tsx +0 -35
- package/lib/common/components/clusterWizard/customManifests/CustomManifestsAlert.tsx +39 -0
- package/lib/common/components/clusterWizard/customManifests/index.tsx +1 -0
- package/lib/common/components/clusterWizard/index.ts +2 -0
- package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +8 -1
- package/lib/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.tsx +2 -2
- package/lib/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.tsx +36 -26
- package/lib/common/components/clusterWizard/networkingSteps/ThirdPartyCNIBanner.tsx +28 -0
- package/lib/common/components/clusterWizard/networkingSteps/index.ts +1 -0
- package/lib/common/components/clusters/PullSecret.tsx +28 -38
- package/lib/common/components/hosts/HostsTable.tsx +2 -0
- package/lib/common/components/ui/WizardFooter.tsx +10 -0
- package/lib/common/components/ui/formik/utils.ts +6 -0
- package/lib/common/config/constants.ts +14 -1
- package/lib/common/types/networkType.ts +9 -8
- package/lib/common/validationSchemas/networkingValidation.tsx +39 -1
- package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +7 -6
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +10 -45
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +11 -9
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.tsx +7 -24
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +6 -5
- package/lib/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +10 -4
- package/lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx +9 -2
- package/lib/ocm/components/{clusterDetail/ClusterProperties.test.ts → clusterConfiguration/review/utils.test.ts} +1 -1
- package/lib/ocm/components/clusterConfiguration/review/utils.tsx +61 -0
- package/lib/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.ts +2 -0
- package/lib/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.ts +1 -0
- package/lib/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.ts +2 -0
- package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.tsx +27 -2
- package/lib/ocm/components/clusterDetail/index.ts +0 -1
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +10 -1
- package/lib/ocm/components/clusterWizard/HostDiscovery.tsx +4 -0
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +6 -2
- package/lib/ocm/components/clusters/ClusterPage.tsx +1 -1
- package/lib/ocm/components/clusters/ClustersTable.tsx +59 -49
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +1 -1
- package/lib/ocm/components/hosts/HostsTableEmptyState.tsx +2 -0
- package/lib/ocm/hooks/useClusterCustomManifests.ts +3 -0
- package/lib/ocm/hooks/useLateBinding.ts +45 -24
- package/lib/ocm/hooks/usePullSecret.ts +2 -2
- package/lib/ocm/hooks/useUISettings.ts +3 -1
- package/lib/ocm/services/ClusterDetailsService.ts +6 -0
- package/package.json +9 -9
- package/build/@types/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.d.ts +0 -7
- package/build/@types/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts +0 -8
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.test.d.ts +0 -2
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.test.d.ts.map +0 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js +0 -33
- package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js.map +0 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +0 -40
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +0 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js +0 -77
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js.map +0 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.test.js.map +0 -1
- package/lib/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.tsx +0 -74
- package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +0 -69
- package/lib/ocm/components/clusterDetail/ClusterProperties.tsx +0 -169
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterProperties.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/ClusterProperties.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,uDAA2D;AAC3D,4CAYyB;AACzB,2FAA+E;AAC/E,kEAAgF;AAChF,8FAA8D;AAC9D,gGAA+F;AAQxF,MAAM,cAAc,GAAG,CAAC,kBAA0C,EAAU,EAAE;IACnF,OAAO,4BAAmB,CAAC,kBAAkB,IAAI,EAAE,CAAC,CAAC;AACvD,CAAC,CAAC;AAFW,QAAA,cAAc,kBAEzB;AAEK,MAAM,iBAAiB,GAAG,CAAC,EAAE,qBAAqB,EAAW,EAAU,EAAE;IAC9E,IAAI,cAAsB,CAAC;IAC3B,qBAAqB;QACnB,CAAC,CAAC,CAAC,cAAc,GAAG,yBAAyB,CAAC;QAC9C,CAAC,CAAC,CAAC,cAAc,GAAG,4BAA4B,CAAC,CAAC;IACpD,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC;AANW,QAAA,iBAAiB,qBAM5B;AAEK,MAAM,iBAAiB,GAAG,CAAC,OAA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CAAC;AACF,kBAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterProperties.test.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterDetail/ClusterProperties.test.ts"],"names":[],"mappings":";;AAAA,mCAAgD;AAChD,2DAAwD;AAGxD,MAAM,aAAa,GAAG,CAAC,YAA8B,EAAE,EAAW,EAAE,CAClE,CAAC,gBACC,EAAE,EAAE,cAAc,EAClB,IAAI,EAAE,cAAc,EACpB,IAAI,EAAE,SAAS,EACf,IAAI,EAAE,gDAAgD,EACtD,gBAAgB,EAAE,MAAM,EACxB,MAAM,EAAE,OAAO,EACf,UAAU,EAAE,kBAAkB,EAC9B,eAAe,EAAE,EAAE,EACnB,eAAe,EAAE,EAAE,EACnB,eAAe,EAAE,EAAE,IAChB,SAAS,CACD,CAAA,CAAC;AAEhB,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC;AAC7E,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,UAAkB,EAAE,EAAE,CAAC,CAAC;IAClE,IAAI;IACJ,UAAU;IACV,SAAS,EAAE,MAAM;CAClB,CAAC,CAAC;AACH,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC;AAE7E,IAAA,iBAAQ,EAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,IAAA,iBAAQ,EAAC,8BAA8B,EAAE,GAAG,EAAE;QAC5C,IAAA,aAAI,EAAC,6DAA6D,EAAE,GAAG,EAAE;YACvE,MAAM,OAAO,GAAG,aAAa,CAAC;gBAC5B,gBAAgB,EAAE,MAAM;gBACxB,eAAe,EAAE;oBACf,oBAAoB,CAAC,gBAAgB,CAAC;oBACtC,oBAAoB,CAAC,eAAe,CAAC;iB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,EAAE;aACpB,CAAC,CAAC;YAEH,IAAA,eAAM,EAAC,IAAA,qCAAiB,EAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;QAEH,IAAA,aAAI,EAAC,4BAA4B,EAAE,GAAG,EAAE;YACtC,MAAM,OAAO,GAAG,aAAa,CAAC;gBAC5B,gBAAgB,EAAE,MAAM;gBACxB,eAAe,EAAE,SAAS;gBAC1B,eAAe,EAAE,SAAS;gBAC1B,eAAe,EAAE,SAAS;aAC3B,CAAC,CAAC;YAEH,IAAA,eAAM,EAAC,IAAA,qCAAiB,EAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Split, SplitItem, Tooltip, FormGroup } from '@patternfly/react-core';
|
|
3
|
-
import { RadioField } from '../../ui/formik';
|
|
4
|
-
import { PopoverIcon } from '../../../components/ui';
|
|
5
|
-
import { NETWORK_TYPE_OVN, NETWORK_TYPE_SDN } from '../../../types/networkType';
|
|
6
|
-
import { useTranslation } from '../../../hooks/use-translation-wrapper';
|
|
7
|
-
|
|
8
|
-
const GROUP_NAME = 'networkType';
|
|
9
|
-
|
|
10
|
-
export interface NetworkTypeControlGroupProps {
|
|
11
|
-
isDisabled?: boolean;
|
|
12
|
-
isSDNSelectable: boolean;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export const NetworkTypeControlGroup = ({
|
|
16
|
-
isDisabled = false,
|
|
17
|
-
isSDNSelectable,
|
|
18
|
-
}: NetworkTypeControlGroupProps) => {
|
|
19
|
-
const { t } = useTranslation();
|
|
20
|
-
return (
|
|
21
|
-
<FormGroup isInline fieldId={GROUP_NAME} label={t('ai:Network type')}>
|
|
22
|
-
<Split>
|
|
23
|
-
<SplitItem>
|
|
24
|
-
<Tooltip
|
|
25
|
-
hidden={isSDNSelectable}
|
|
26
|
-
content={t(
|
|
27
|
-
'ai:Network type selection is not supported for SNO clusters or when IPv6 is detected.',
|
|
28
|
-
)}
|
|
29
|
-
>
|
|
30
|
-
<RadioField
|
|
31
|
-
id={GROUP_NAME}
|
|
32
|
-
name={GROUP_NAME}
|
|
33
|
-
isDisabled={isDisabled || !isSDNSelectable}
|
|
34
|
-
value={NETWORK_TYPE_OVN}
|
|
35
|
-
label={<>{t('ai:Open Virtual Networking (OVN)')} </>}
|
|
36
|
-
/>
|
|
37
|
-
</Tooltip>
|
|
38
|
-
</SplitItem>
|
|
39
|
-
<SplitItem>
|
|
40
|
-
<PopoverIcon
|
|
41
|
-
bodyContent={t(
|
|
42
|
-
"ai:OVN separates the physical network topology from the logical one and is recommended if you're using new or telco features.",
|
|
43
|
-
)}
|
|
44
|
-
buttonStyle={{ top: '-4px' }}
|
|
45
|
-
/>
|
|
46
|
-
</SplitItem>
|
|
47
|
-
</Split>
|
|
48
|
-
<Split>
|
|
49
|
-
<SplitItem>
|
|
50
|
-
<Tooltip
|
|
51
|
-
hidden={isSDNSelectable}
|
|
52
|
-
content={t(
|
|
53
|
-
'ai:Network type selection is not supported for SNO clusters or when IPv6 is detected.',
|
|
54
|
-
)}
|
|
55
|
-
>
|
|
56
|
-
<RadioField
|
|
57
|
-
id={GROUP_NAME}
|
|
58
|
-
name={GROUP_NAME}
|
|
59
|
-
isDisabled={isDisabled || !isSDNSelectable}
|
|
60
|
-
value={NETWORK_TYPE_SDN}
|
|
61
|
-
label={<>{t('ai:Software-Defined Networking (SDN)')} </>}
|
|
62
|
-
/>
|
|
63
|
-
</Tooltip>
|
|
64
|
-
</SplitItem>
|
|
65
|
-
<SplitItem>
|
|
66
|
-
<PopoverIcon
|
|
67
|
-
bodyContent={t('ai:The classic bullet-proof networking type')}
|
|
68
|
-
buttonStyle={{ top: '-4px' }}
|
|
69
|
-
/>
|
|
70
|
-
</SplitItem>
|
|
71
|
-
</Split>
|
|
72
|
-
</FormGroup>
|
|
73
|
-
);
|
|
74
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Provider } from 'react-redux';
|
|
3
|
-
import { storeDay1 } from '../../store';
|
|
4
|
-
import { useSelector } from 'react-redux';
|
|
5
|
-
|
|
6
|
-
import { AlertsContextProvider, CpuArchitecture, FeatureListType } from '../../../common';
|
|
7
|
-
import ClusterProperties from './ClusterProperties';
|
|
8
|
-
import { Grid } from '@patternfly/react-core';
|
|
9
|
-
import { NewFeatureSupportLevelProvider } from '../featureSupportLevels';
|
|
10
|
-
import useInfraEnv from '../../hooks/useInfraEnv';
|
|
11
|
-
import { usePullSecret } from '../../hooks';
|
|
12
|
-
import { selectCurrentClusterState } from '../../store/slices/current-cluster/selectors';
|
|
13
|
-
import { useFeatureDetection } from '../../hooks/use-feature-detection';
|
|
14
|
-
import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
|
|
15
|
-
|
|
16
|
-
type AssistedInstallerExtraDetailCardProps = {
|
|
17
|
-
allEnabledFeatures: FeatureListType;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const AssistedInstallerExtraDetailCard: React.FC<AssistedInstallerExtraDetailCardProps> = ({
|
|
21
|
-
allEnabledFeatures,
|
|
22
|
-
}) => {
|
|
23
|
-
useFeatureDetection(allEnabledFeatures);
|
|
24
|
-
const { data: cluster } = useSelector(selectCurrentClusterState);
|
|
25
|
-
const pullSecret = usePullSecret();
|
|
26
|
-
const { infraEnv } = useInfraEnv(
|
|
27
|
-
cluster?.id ? cluster?.id : '',
|
|
28
|
-
cluster?.cpuArchitecture
|
|
29
|
-
? (cluster.cpuArchitecture as CpuArchitecture)
|
|
30
|
-
: CpuArchitecture.USE_DAY1_ARCHITECTURE,
|
|
31
|
-
cluster?.name,
|
|
32
|
-
pullSecret,
|
|
33
|
-
cluster?.openshiftVersion,
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
if (!cluster || cluster.status === 'adding-hosts') {
|
|
37
|
-
return null;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
return (
|
|
41
|
-
<AlertsContextProvider>
|
|
42
|
-
<NewFeatureSupportLevelProvider
|
|
43
|
-
loadingUi={<div />}
|
|
44
|
-
cluster={cluster}
|
|
45
|
-
cpuArchitecture={infraEnv?.cpuArchitecture as CpuArchitecture}
|
|
46
|
-
openshiftVersion={cluster.openshiftVersion}
|
|
47
|
-
platformType={cluster.platform?.type}
|
|
48
|
-
>
|
|
49
|
-
<Grid className="pf-v6-u-mt-md">
|
|
50
|
-
<ClusterProperties cluster={cluster} externalMode />
|
|
51
|
-
</Grid>
|
|
52
|
-
</NewFeatureSupportLevelProvider>
|
|
53
|
-
</AlertsContextProvider>
|
|
54
|
-
);
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
const Wrapper: React.FC<AssistedInstallerExtraDetailCardProps> = (props) => {
|
|
58
|
-
return (
|
|
59
|
-
<Provider store={storeDay1}>
|
|
60
|
-
<AlertsContextProvider>
|
|
61
|
-
<OpenShiftVersionsContextProvider>
|
|
62
|
-
<AssistedInstallerExtraDetailCard {...props} />
|
|
63
|
-
</OpenShiftVersionsContextProvider>
|
|
64
|
-
</AlertsContextProvider>
|
|
65
|
-
</Provider>
|
|
66
|
-
);
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export default Wrapper;
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridItem, Content } from '@patternfly/react-core';
|
|
3
|
-
import {
|
|
4
|
-
DetailItem,
|
|
5
|
-
DetailList,
|
|
6
|
-
getDefaultCpuArchitecture,
|
|
7
|
-
isDualStack,
|
|
8
|
-
NETWORK_TYPE_LABELS,
|
|
9
|
-
selectApiVip,
|
|
10
|
-
selectIngressVip,
|
|
11
|
-
selectIpv4Cidr,
|
|
12
|
-
selectIpv4HostPrefix,
|
|
13
|
-
selectIpv6Cidr,
|
|
14
|
-
selectIpv6HostPrefix,
|
|
15
|
-
} from '../../../common';
|
|
16
|
-
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
17
|
-
import { ClusterFeatureSupportLevelsDetailItem } from '../featureSupportLevels';
|
|
18
|
-
import OpenShiftVersionDetail from './OpenShiftVersionDetail';
|
|
19
|
-
import { useNewFeatureSupportLevel } from '../../../common/components/newFeatureSupportLevels';
|
|
20
|
-
import { Cluster, DiskEncryption } from '@openshift-assisted/types/assisted-installer-service';
|
|
21
|
-
|
|
22
|
-
type ClusterPropertiesProps = {
|
|
23
|
-
cluster: Cluster;
|
|
24
|
-
externalMode?: boolean;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export const getNetworkType = (clusterNetworkType: Cluster['networkType']): string => {
|
|
28
|
-
return NETWORK_TYPE_LABELS[clusterNetworkType || ''];
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export const getManagementType = ({ userManagedNetworking }: Cluster): string => {
|
|
32
|
-
let managementType: string;
|
|
33
|
-
userManagedNetworking
|
|
34
|
-
? (managementType = 'User-Managed Networking')
|
|
35
|
-
: (managementType = 'Cluster-managed networking');
|
|
36
|
-
return managementType;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export const getStackTypeLabel = (cluster: Cluster): string =>
|
|
40
|
-
isDualStack(cluster) ? 'Dual-stack' : 'IPv4';
|
|
41
|
-
|
|
42
|
-
export const getDiskEncryptionEnabledOnStatus = (diskEncryption: DiskEncryption['enableOn']) => {
|
|
43
|
-
let diskEncryptionType = null;
|
|
44
|
-
switch (diskEncryption) {
|
|
45
|
-
case 'all':
|
|
46
|
-
diskEncryptionType = (
|
|
47
|
-
<>
|
|
48
|
-
Enabled on control plane nodes
|
|
49
|
-
<br />
|
|
50
|
-
Enabled on workers
|
|
51
|
-
</>
|
|
52
|
-
);
|
|
53
|
-
break;
|
|
54
|
-
case 'masters':
|
|
55
|
-
diskEncryptionType = <>Enabled on control plane nodes</>;
|
|
56
|
-
break;
|
|
57
|
-
case 'workers':
|
|
58
|
-
diskEncryptionType = <>Enabled on workers</>;
|
|
59
|
-
break;
|
|
60
|
-
}
|
|
61
|
-
return diskEncryptionType;
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
const ClusterProperties = ({ cluster, externalMode = false }: ClusterPropertiesProps) => {
|
|
65
|
-
const { t } = useTranslation();
|
|
66
|
-
const isDualStackType = isDualStack(cluster);
|
|
67
|
-
const featureSupportLevelContext = useNewFeatureSupportLevel();
|
|
68
|
-
|
|
69
|
-
const activeFeatureConfiguration = featureSupportLevelContext.activeFeatureConfiguration;
|
|
70
|
-
const underlyingCpuArchitecture =
|
|
71
|
-
activeFeatureConfiguration?.underlyingCpuArchitecture || getDefaultCpuArchitecture();
|
|
72
|
-
|
|
73
|
-
return (
|
|
74
|
-
<>
|
|
75
|
-
{!externalMode && (
|
|
76
|
-
<GridItem>
|
|
77
|
-
<Content component="h2">{t('ai:Cluster Details')}</Content>
|
|
78
|
-
</GridItem>
|
|
79
|
-
)}
|
|
80
|
-
<GridItem md={6} data-testid="cluster-details">
|
|
81
|
-
<DetailList>
|
|
82
|
-
{externalMode ? undefined : (
|
|
83
|
-
<DetailItem
|
|
84
|
-
title={t('ai:OpenShift version')}
|
|
85
|
-
value={<OpenShiftVersionDetail cluster={cluster} />}
|
|
86
|
-
testId="openshift-version"
|
|
87
|
-
/>
|
|
88
|
-
)}
|
|
89
|
-
<DetailItem title="Base domain" value={cluster.baseDnsDomain} testId="base-dns-domain" />
|
|
90
|
-
<DetailItem
|
|
91
|
-
title={'CPU architecture '}
|
|
92
|
-
value={underlyingCpuArchitecture}
|
|
93
|
-
testId="cpu-architecture"
|
|
94
|
-
/>
|
|
95
|
-
<DetailItem
|
|
96
|
-
title="API IP"
|
|
97
|
-
value={selectApiVip(cluster)}
|
|
98
|
-
isHidden={selectApiVip(cluster) === ''}
|
|
99
|
-
testId="api-vip"
|
|
100
|
-
/>
|
|
101
|
-
<DetailItem
|
|
102
|
-
title="Ingress IP"
|
|
103
|
-
value={selectIngressVip(cluster)}
|
|
104
|
-
isHidden={selectIngressVip(cluster) === ''}
|
|
105
|
-
testId="ingress-vip"
|
|
106
|
-
/>
|
|
107
|
-
<DetailItem
|
|
108
|
-
title="Network management type"
|
|
109
|
-
value={getManagementType(cluster)}
|
|
110
|
-
testId="network-management-type"
|
|
111
|
-
/>
|
|
112
|
-
<DetailItem
|
|
113
|
-
title="Networking Type"
|
|
114
|
-
value={getNetworkType(cluster.networkType)}
|
|
115
|
-
testId="networking-type"
|
|
116
|
-
/>
|
|
117
|
-
</DetailList>
|
|
118
|
-
</GridItem>
|
|
119
|
-
<GridItem md={6}>
|
|
120
|
-
<DetailList>
|
|
121
|
-
<DetailItem
|
|
122
|
-
title="Cluster network CIDR (IPv4)"
|
|
123
|
-
value={selectIpv4Cidr(cluster, 'clusterNetworks')}
|
|
124
|
-
testId="cluster-network-cidr-ipv4"
|
|
125
|
-
/>
|
|
126
|
-
<DetailItem
|
|
127
|
-
title="Cluster network host prefix (IPv4)"
|
|
128
|
-
value={selectIpv4HostPrefix(cluster)}
|
|
129
|
-
testId="host-prefix-ipv4"
|
|
130
|
-
/>
|
|
131
|
-
{isDualStackType ? (
|
|
132
|
-
<>
|
|
133
|
-
<DetailItem
|
|
134
|
-
title="Cluster network CIDR (IPv6)"
|
|
135
|
-
value={selectIpv6Cidr(cluster, 'clusterNetworks')}
|
|
136
|
-
testId="cluster-network-cidr-ipv6"
|
|
137
|
-
/>
|
|
138
|
-
<DetailItem
|
|
139
|
-
title="Cluster network host prefix (IPv6)"
|
|
140
|
-
value={selectIpv6HostPrefix(cluster)}
|
|
141
|
-
testId="host-prefix-ipv6"
|
|
142
|
-
/>
|
|
143
|
-
</>
|
|
144
|
-
) : undefined}
|
|
145
|
-
<DetailItem
|
|
146
|
-
title="Service network CIDR (IPv4)"
|
|
147
|
-
value={selectIpv4Cidr(cluster, 'serviceNetworks')}
|
|
148
|
-
testId="service-network-cidr-ipv4"
|
|
149
|
-
/>
|
|
150
|
-
{isDualStackType ? (
|
|
151
|
-
<DetailItem
|
|
152
|
-
title="Service network CIDR (IPv6)"
|
|
153
|
-
value={selectIpv6Cidr(cluster, 'serviceNetworks')}
|
|
154
|
-
testId="service-network-cidr-ipv6"
|
|
155
|
-
/>
|
|
156
|
-
) : undefined}
|
|
157
|
-
<DetailItem
|
|
158
|
-
title="Disk encryption"
|
|
159
|
-
value={getDiskEncryptionEnabledOnStatus(cluster.diskEncryption?.enableOn)}
|
|
160
|
-
isHidden={cluster.diskEncryption?.enableOn === 'none'}
|
|
161
|
-
testId="disk-encryption"
|
|
162
|
-
/>
|
|
163
|
-
<ClusterFeatureSupportLevelsDetailItem cluster={cluster} />
|
|
164
|
-
</DetailList>
|
|
165
|
-
</GridItem>
|
|
166
|
-
</>
|
|
167
|
-
);
|
|
168
|
-
};
|
|
169
|
-
export default ClusterProperties;
|