diff --git a/locales/en/plugin__kubevirt-plugin.json b/locales/en/plugin__kubevirt-plugin.json
index a00e2f8c0..76fdf9b68 100644
--- a/locales/en/plugin__kubevirt-plugin.json
+++ b/locales/en/plugin__kubevirt-plugin.json
@@ -707,7 +707,7 @@
"Map of string keys and values that can be used to organize and categorize (scope and select) objects": "Map of string keys and values that can be used to organize and categorize (scope and select) objects",
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services.",
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. ": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. ",
- "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: <2>http://kubernetes.io/docs/user-guide/labels2>": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: <2>http://kubernetes.io/docs/user-guide/labels2>",
+ "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info:": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info:",
"masquerade": "masquerade",
"Masquerade": "Masquerade",
"Match label": "Match label",
diff --git a/src/utils/components/AddBootableVolumeModal/components/SchedulingSettings.tsx b/src/utils/components/AddBootableVolumeModal/components/SchedulingSettings.tsx
index 211b61644..8ae4b932c 100644
--- a/src/utils/components/AddBootableVolumeModal/components/SchedulingSettings.tsx
+++ b/src/utils/components/AddBootableVolumeModal/components/SchedulingSettings.tsx
@@ -2,6 +2,7 @@ import React, { FC } from 'react';
import ExternalLink from '@kubevirt-utils/components/ExternalLink/ExternalLink';
import FormGroupHelperText from '@kubevirt-utils/components/FormGroupHelperText/FormGroupHelperText';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import { FormGroup, NumberInput, Text, TextInput, Title } from '@patternfly/react-core';
@@ -51,10 +52,7 @@ const SchedulingSettings: FC = ({
{t('Use cron formatting to set when and how often to look for new imports.')}{' '}
-
+ {
@@ -9,10 +9,7 @@ const PreferencePopoverContent: FC = () => {
return (
<>
{t('The preferred VirtualMachine attribute values required to run a given workload.')}{' '}
-
+
>
);
};
diff --git a/src/utils/components/CloneVMModal/utils/constants.ts b/src/utils/components/CloneVMModal/utils/constants.ts
index ca350680f..6a29dd959 100644
--- a/src/utils/components/CloneVMModal/utils/constants.ts
+++ b/src/utils/components/CloneVMModal/utils/constants.ts
@@ -1,8 +1,6 @@
import { ProgressStepVariant } from '@patternfly/react-core';
export const TEMPLATE_VM_NAME_LABEL = 'vm.kubevirt.io/name';
-export const DOC_URL_ENABLING_USER_CLONE_PERMISSIONS =
- 'https://docs.openshift.com/container-platform/latest/virt/virtual_machines/cloning_vms/virt-enabling-user-permissions-to-clone-datavolumes.html';
export enum CLONING_STATUSES {
CREATING_TARGET_VM = 'CreatingTargetVM',
diff --git a/src/utils/components/CloudinitDescription/CloudinitInfoHelper.tsx b/src/utils/components/CloudinitDescription/CloudinitInfoHelper.tsx
index e1221880d..5d23ab5db 100644
--- a/src/utils/components/CloudinitDescription/CloudinitInfoHelper.tsx
+++ b/src/utils/components/CloudinitDescription/CloudinitInfoHelper.tsx
@@ -1,11 +1,10 @@
import React from 'react';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import { Button, Stack, StackItem } from '@patternfly/react-core';
import { ExternalLinkSquareAltIcon } from '@patternfly/react-icons';
-const CLOUD_INIT_DOC_LINK = 'https://cloudinit.readthedocs.io/en/latest/index.html';
-
const CloudInitInfoHelper = () => {
const { t } = useKubevirtTranslation();
return (
@@ -25,7 +24,7 @@ const CloudInitInfoHelper = () => {
size="sm"
variant="link"
>
-
+
{t('Learn more')}
diff --git a/src/utils/components/Consoles/components/DesktopViewer/Components/MoreInformationDefault.tsx b/src/utils/components/Consoles/components/DesktopViewer/Components/MoreInformationDefault.tsx
index 37336550a..757f9f57e 100644
--- a/src/utils/components/Consoles/components/DesktopViewer/Components/MoreInformationDefault.tsx
+++ b/src/utils/components/Consoles/components/DesktopViewer/Components/MoreInformationDefault.tsx
@@ -34,7 +34,7 @@ const MoreInformationDefault: React.FC = ({ textMor
-
+
>
}
headerContent={t('Network binding types')}
diff --git a/src/utils/components/SSHAccess/components/ConsoleOverVirtctl.tsx b/src/utils/components/SSHAccess/components/ConsoleOverVirtctl.tsx
index 3146cbdcc..5b2d5a614 100644
--- a/src/utils/components/SSHAccess/components/ConsoleOverVirtctl.tsx
+++ b/src/utils/components/SSHAccess/components/ConsoleOverVirtctl.tsx
@@ -4,6 +4,7 @@ import { Link } from 'react-router-dom-v5-compat';
import { V1VirtualMachine } from '@kubevirt-ui/kubevirt-api/kubevirt';
import { getConsoleVirtctlCommand } from '@kubevirt-utils/components/SSHAccess/utils';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import {
DescriptionListDescription,
@@ -41,14 +42,8 @@ const ConsoleOverVirtctl: FC = ({ vm }) => {
For more details, see{' '}
-
- Installing virtctl
- {' '}
- in Getting started with OpenShift Virtualization.
+ Installing virtctl in Getting started
+ with OpenShift Virtualization.
diff --git a/src/utils/components/SSHAccess/constants.ts b/src/utils/components/SSHAccess/constants.ts
index 2700a1b60..75ed5c268 100644
--- a/src/utils/components/SSHAccess/constants.ts
+++ b/src/utils/components/SSHAccess/constants.ts
@@ -5,9 +5,6 @@ export const SSH_PORT = 22;
export const VMI_LABEL_AS_SSH_SERVICE_SELECTOR = 'kubevirt.io/domain';
-export const NODE_PORTS_LINK =
- 'https://access.redhat.com/documentation/en-us/openshift_container_platform/4.14/html/networking/configuring-ingress-cluster-traffic#nw-using-nodeport_configuring-ingress-cluster-traffic-nodeport';
-
export enum SERVICE_TYPES {
LOAD_BALANCER = 'LoadBalancer',
NODE_PORT = 'NodePort',
diff --git a/src/utils/components/SnapshotModal/SnapshotSupportLink/SnapshotSupportLink.tsx b/src/utils/components/SnapshotModal/SnapshotSupportLink/SnapshotSupportLink.tsx
index a5367e24a..9a1b79e56 100644
--- a/src/utils/components/SnapshotModal/SnapshotSupportLink/SnapshotSupportLink.tsx
+++ b/src/utils/components/SnapshotModal/SnapshotSupportLink/SnapshotSupportLink.tsx
@@ -1,17 +1,12 @@
import * as React from 'react';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
const SnapshotSupportLink: React.FC = () => {
const { t } = useKubevirtTranslation();
return (
-
+
{t('Learn more about snapshots')}
);
diff --git a/src/utils/components/SysprepModal/SysprepInfo.tsx b/src/utils/components/SysprepModal/SysprepInfo.tsx
index 447113634..2f6c561ed 100644
--- a/src/utils/components/SysprepModal/SysprepInfo.tsx
+++ b/src/utils/components/SysprepModal/SysprepInfo.tsx
@@ -1,11 +1,10 @@
import React, { FC } from 'react';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import { Button, Stack, StackItem, Text, TextVariants } from '@patternfly/react-core';
import { ExternalLinkSquareAltIcon } from '@patternfly/react-icons';
-import { SYSPREP_DOC_URL } from './consts';
-
const SysprepInfo: FC = () => {
const { t } = useKubevirtTranslation();
@@ -30,7 +29,7 @@ const SysprepInfo: FC = () => {
size="sm"
variant="link"
>
-
+
{t('Learn more')}
diff --git a/src/utils/components/SysprepModal/consts.ts b/src/utils/components/SysprepModal/consts.ts
index beea47fd2..cf73bd759 100644
--- a/src/utils/components/SysprepModal/consts.ts
+++ b/src/utils/components/SysprepModal/consts.ts
@@ -1,3 +1 @@
export const SYSPREP = 'sysprep';
-export const SYSPREP_DOC_URL =
- 'https://docs.openshift.com/container-platform/4.10/virt/virtual_machines/virt-automating-windows-sysprep.html';
diff --git a/src/utils/components/SysprepModal/sysprep-autounattend/SysprepAutounattendHelperPopup.tsx b/src/utils/components/SysprepModal/sysprep-autounattend/SysprepAutounattendHelperPopup.tsx
index 568ba415b..23998932a 100644
--- a/src/utils/components/SysprepModal/sysprep-autounattend/SysprepAutounattendHelperPopup.tsx
+++ b/src/utils/components/SysprepModal/sysprep-autounattend/SysprepAutounattendHelperPopup.tsx
@@ -1,12 +1,11 @@
import React, { FC } from 'react';
import { Trans } from 'react-i18next';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import { Button, Popover, Text, TextVariants } from '@patternfly/react-core';
import { ExternalLinkSquareAltIcon, OutlinedQuestionCircleIcon } from '@patternfly/react-icons';
-import { SYSPREP_DOC_URL } from '../consts';
-
const SysprepUnattendHelperPopup: FC = () => {
const { t } = useKubevirtTranslation();
return (
@@ -27,7 +26,7 @@ const SysprepUnattendHelperPopup: FC = () => {
size="sm"
variant="link"
>
-
+
{t('Learn more')}
diff --git a/src/utils/components/SysprepModal/sysprep-unattend/SysprepUnattendHelperPopup.tsx b/src/utils/components/SysprepModal/sysprep-unattend/SysprepUnattendHelperPopup.tsx
index f8736c83f..93bcd4ccb 100644
--- a/src/utils/components/SysprepModal/sysprep-unattend/SysprepUnattendHelperPopup.tsx
+++ b/src/utils/components/SysprepModal/sysprep-unattend/SysprepUnattendHelperPopup.tsx
@@ -1,12 +1,11 @@
import React, { FC } from 'react';
import { Trans } from 'react-i18next';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import { Button, Popover, Text, TextVariants } from '@patternfly/react-core';
import { ExternalLinkSquareAltIcon, OutlinedQuestionCircleIcon } from '@patternfly/react-icons';
-import { SYSPREP_DOC_URL } from '../consts';
-
const SysprepUnattendHelperPopup: FC = () => {
const { t } = useKubevirtTranslation();
return (
@@ -26,7 +25,7 @@ const SysprepUnattendHelperPopup: FC = () => {
size="sm"
variant="link"
>
-
+
{t('Learn more')}
diff --git a/src/utils/components/TolerationsModal/TolerationModalDescriptionText.tsx b/src/utils/components/TolerationsModal/TolerationModalDescriptionText.tsx
index 5aaf79ed6..fb2f99048 100644
--- a/src/utils/components/TolerationsModal/TolerationModalDescriptionText.tsx
+++ b/src/utils/components/TolerationsModal/TolerationModalDescriptionText.tsx
@@ -1,5 +1,6 @@
import * as React from 'react';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import { Text, TextVariants } from '@patternfly/react-core';
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
@@ -18,11 +19,7 @@ const TolerationModalDescriptionText: React.FC = () => {
'Add tolerations to allow a VirtualMachine to schedule onto Nodes with matching taints.',
)}
-
+
{t('Taints and Tolerations documentation')}
>
diff --git a/src/utils/constants/documentation.ts b/src/utils/constants/documentation.ts
new file mode 100644
index 000000000..1963e96f5
--- /dev/null
+++ b/src/utils/constants/documentation.ts
@@ -0,0 +1,47 @@
+export const REDHAT_BASE_URL = 'https://www.redhat.com';
+export const REDHAT_DOC_URL = 'https://access.redhat.com/documentation/en-us';
+export const OPENSHIFT_DOC_URL = 'https://docs.openshift.com/container-platform';
+
+export const documentationURL = {
+ ANNOTATIONS: 'https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/',
+ AUTOCOMPUTE_CPU_LIMITS:
+ 'https://kubevirt.io/user-guide/virtual_machines/resources_requests_and_limits/',
+ CDI_UPLOAD_SUPPORTED_TYPES: `${REDHAT_DOC_URL}/openshift_container_platform/4.9/html/virtualization/virtual-machines#virt-cdi-supported-operations-matrix_virt-importing-virtual-machine-images-datavolumes`,
+ CHECKUPS: `${OPENSHIFT_DOC_URL}/4.16/virt/monitoring/virt-running-cluster-checkups.html`,
+ CHECKUPS_LATENCY: `${OPENSHIFT_DOC_URL}/4.15/virt/monitoring/virt-running-cluster-checkups.html#virt-measuring-latency-vm-secondary-network_virt-running-cluster-checkups`,
+ CLOUDINIT_INFO: 'https://cloudinit.readthedocs.io/en/latest/index.html',
+ CREATING_VMS_FROM_TEMPLATES: `${OPENSHIFT_DOC_URL}/4.15/virt/virtual_machines/creating_vms_rh/virt-creating-vms-from-templates.html`,
+ CRON_INFO: `${REDHAT_BASE_URL}/sysadmin/automate-linux-tasks-cron`,
+ DATAVOLUME_PREALLOCATIONS: `${OPENSHIFT_DOC_URL}/4.15/virt/storage/virt-using-preallocation-for-datavolumes.html`,
+ DESCHEDULER:
+ 'https://kubevirt.io/user-guide/operations/node_assignment/#node-balancing-with-descheduler',
+ DEV_PREVIEW: 'https://access.redhat.com/support/offerings/devpreview',
+ DYNAMIC_SSH_KEY_INJECTION: `${OPENSHIFT_DOC_URL}/4.15/virt/virtual_machines/virt-accessing-vm-ssh.html`,
+ FREE_PAGE_REPORTING:
+ 'https://developers.redhat.com/articles/2024/03/13/save-memory-openshift-virtualization-using-free-page-reporting',
+ HIGHLIGHTS_417:
+ 'https://docs.openshift.com/container-platform/4.17/virt/release_notes/virt-4-17-release-notes.html#virt-4-17-new',
+ INSTANCE_TYPES_USER_GUIDE:
+ 'https://kubevirt.io/user-guide/virtual_machines/instancetypes#virtualmachinepreference',
+ LABELS: 'https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/',
+ METADATA:
+ 'https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata',
+ MIGRATION_CONFIGURATION:
+ 'http://kubevirt.io/api-reference/main/definitions.html#_v1_migrationconfiguration',
+ MIGRATION_POLICIES:
+ 'https://access.redhat.com/documentation/en-us/openshift_container_platform/4.15/html/virtualization/live-migration#live-migration-policies',
+ NAME: 'https://kubernetes.io/docs/concepts/overview/working-with-objects/name',
+ NAMESPACE_DOC: 'https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/',
+ NODEPORTS: `${REDHAT_DOC_URL}/openshift_container_platform/4.14/html/networking/configuring-ingress-cluster-traffic#nw-using-nodeport_configuring-ingress-cluster-traffic-nodeport`,
+ PROJECTS: 'https://docs.okd.io/latest/applications/projects/working-with-projects.html',
+ REDHAT_BLOG: `${REDHAT_BASE_URL}/en/blog/channel/red-hat-openshift`,
+ SNAPSHOT: `${REDHAT_DOC_URL}/openshift_container_platform/4.10/html/storage/using-container-storage-interface-csi#persistent-storage-csi-snapshots`,
+ SYSPREP: `${OPENSHIFT_DOC_URL}/4.10/virt/virtual_machines/virt-automating-windows-sysprep.html`,
+ TAINTS_TOLERATION: `${OPENSHIFT_DOC_URL}/4.10/virt/virtual_machines/advanced_vm_management/virt-specifying-nodes-for-vms.html#virt-about-node-placement-vms_virt-specifying-nodes-for-vms`,
+ TECH_PREVIEW: 'https://access.redhat.com/support/offerings/techpreview',
+ VIRT_CTL: `${OPENSHIFT_DOC_URL}/4.15/virt/getting_started/virt-using-the-cli-tools.html`,
+ VIRT_SECONDARY_NETWORK: `${OPENSHIFT_DOC_URL}/4.15/virt/vm_networking/virt-networking-overview.html#secondary-network-config`,
+ VIRTUALIZATION_BLOG: `https://cloud.redhat.com/learn/topics/virtualization/`,
+ VIRTUALIZATION_WHAT_YOU_CAN_DO:
+ 'https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html/virtualization/about#virt-what-you-can-do-with-virt_about-virt',
+};
diff --git a/src/utils/constants/url-constants.ts b/src/utils/constants/url-constants.ts
deleted file mode 100644
index 6801538e9..000000000
--- a/src/utils/constants/url-constants.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-export const INSTANCE_TYPES_USER_GUIDE_LINK =
- 'https://kubevirt.io/user-guide/virtual_machines/instancetypes/';
-export const AUTOCOMPUTE_CPU_LIMITS_LINK =
- 'https://kubevirt.io/user-guide/virtual_machines/resources_requests_and_limits/';
-
-export const TECH_PREVIEW_LINK = 'https://access.redhat.com/support/offerings/techpreview';
-export const DEV_PREVIEW_LINK = 'https://access.redhat.com/support/offerings/devpreview';
-
-export const CREATING_VMS_FROM_TEMPLATES_LINK =
- 'https://docs.openshift.com/container-platform/4.15/virt/virtual_machines/creating_vms_rh/virt-creating-vms-from-templates.html';
diff --git a/src/views/bootablevolumes/actions/components/EditBootableVolumesModal.tsx b/src/views/bootablevolumes/actions/components/EditBootableVolumesModal.tsx
index f4e23e816..d5ab88abc 100644
--- a/src/views/bootablevolumes/actions/components/EditBootableVolumesModal.tsx
+++ b/src/views/bootablevolumes/actions/components/EditBootableVolumesModal.tsx
@@ -12,7 +12,7 @@ import InlineFilterSelect from '@kubevirt-utils/components/FilterSelect/InlineFi
import FormPFSelect from '@kubevirt-utils/components/FormPFSelect/FormPFSelect';
import HelpTextIcon from '@kubevirt-utils/components/HelpTextIcon/HelpTextIcon';
import TabModal from '@kubevirt-utils/components/TabModal/TabModal';
-import { INSTANCE_TYPES_USER_GUIDE_LINK } from '@kubevirt-utils/constants/url-constants';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import {
DEFAULT_INSTANCETYPE_LABEL,
@@ -139,7 +139,7 @@ const EditBootableVolumesModal: FC = ({
'The preferred VirtualMachine attribute values required to run a given workload.',
)}{' '}
>
diff --git a/src/views/catalog/CustomizeInstanceType/tabs/configuration/utils/tabs/CustomizeInstanceTypeMetadataTab.tsx b/src/views/catalog/CustomizeInstanceType/tabs/configuration/utils/tabs/CustomizeInstanceTypeMetadataTab.tsx
index 714ef04f7..ffbd434ec 100644
--- a/src/views/catalog/CustomizeInstanceType/tabs/configuration/utils/tabs/CustomizeInstanceTypeMetadataTab.tsx
+++ b/src/views/catalog/CustomizeInstanceType/tabs/configuration/utils/tabs/CustomizeInstanceTypeMetadataTab.tsx
@@ -6,6 +6,7 @@ import Loading from '@kubevirt-utils/components/Loading/Loading';
import { useModal } from '@kubevirt-utils/components/ModalProvider/ModalProvider';
import SearchItem from '@kubevirt-utils/components/SearchItem/SearchItem';
import VirtualMachineDescriptionItem from '@kubevirt-utils/components/VirtualMachineDescriptionItem/VirtualMachineDescriptionItem';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import { getName } from '@kubevirt-utils/resources/shared';
import { updateCustomizeInstanceType, vmSignal } from '@kubevirt-utils/store/customizeInstanceType';
@@ -66,7 +67,7 @@ const CustomizeInstanceTypeMetadataTab = () => {
editOnTitleJustify
isEdit
isPopover
- moreInfoURL="http://kubernetes.io/docs/user-guide/labels"
+ moreInfoURL={documentationURL.LABELS}
showEditOnTitle
/>
{
descriptionHeader={{t('Annotations')}}
isEdit
isPopover
- moreInfoURL="http://kubernetes.io/docs/user-guide/annotations"
+ moreInfoURL={documentationURL.ANNOTATIONS}
/>
diff --git a/src/views/catalog/templatescatalog/components/TemplatesCatalogHeader.tsx b/src/views/catalog/templatescatalog/components/TemplatesCatalogHeader.tsx
index b6998a094..64c2784cd 100644
--- a/src/views/catalog/templatescatalog/components/TemplatesCatalogHeader.tsx
+++ b/src/views/catalog/templatescatalog/components/TemplatesCatalogHeader.tsx
@@ -2,7 +2,7 @@ import React, { FC, memo, useEffect, useState } from 'react';
import ExternalLink from '@kubevirt-utils/components/ExternalLink/ExternalLink';
import HelpTextIcon from '@kubevirt-utils/components/HelpTextIcon/HelpTextIcon';
-import { CREATING_VMS_FROM_TEMPLATES_LINK } from '@kubevirt-utils/constants/url-constants';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import {
pluralize,
@@ -51,7 +51,10 @@ export const TemplatesCatalogHeader: FC<{
bodyContent={
<>
{t('Red Hat recommended configuration for each OS.')}{' '}
-
+
>
}
/>
diff --git a/src/views/cdi-upload-provider/upload-pvc-form/UploadPVC.tsx b/src/views/cdi-upload-provider/upload-pvc-form/UploadPVC.tsx
index e5a124125..2f6baa0b4 100644
--- a/src/views/cdi-upload-provider/upload-pvc-form/UploadPVC.tsx
+++ b/src/views/cdi-upload-provider/upload-pvc-form/UploadPVC.tsx
@@ -15,6 +15,7 @@ import DataVolumeModel from '@kubevirt-ui/kubevirt-api/console/models/DataVolume
import { V1beta1DataVolume } from '@kubevirt-ui/kubevirt-api/containerized-data-importer/models';
import { IoK8sApiStorageV1StorageClass } from '@kubevirt-ui/kubevirt-api/kubernetes';
import ExternalLink from '@kubevirt-utils/components/ExternalLink/ExternalLink';
+import { documentationURL } from '@kubevirt-utils/constants/documentation';
import { createUploadPVC } from '@kubevirt-utils/hooks/useCDIUpload/utils';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import {
@@ -33,12 +34,7 @@ import { ActionGroup, Alert, Button, ButtonVariant } from '@patternfly/react-cor
import useBaseImages from '../hooks/useBaseImages';
import useMultipleAccessReviews from '../hooks/useMultipleAccessReviews';
-import {
- CDI_UPLOAD_OS_URL_PARAM,
- CDI_UPLOAD_SUPPORTED_TYPES_URL,
- CDI_UPLOAD_URL_BUILDER,
- uploadErrorType,
-} from '../utils/consts';
+import { CDI_UPLOAD_OS_URL_PARAM, CDI_UPLOAD_URL_BUILDER, uploadErrorType } from '../utils/consts';
import { CDIUploadContext } from '../utils/context';
import { getName, getNamespace, getPVCNamespace } from '../utils/selectors';
import { resourcePath } from '../utils/utils';
@@ -230,7 +226,7 @@ const UploadPVCPage: FC = () => {