- Technical Preview
+
+ Experimental
@@ -216,9 +216,9 @@ export default {
font-size: 12px;
}
-.technical-preview {
+.experimental {
margin-left: 10px;
- border: 1px solid var(--warning);
+ border: 1px solid var(--error);
border-radius: 5px;
padding: 2px 10px;
font-size: 12px;
diff --git a/pkg/harvester/components/novnc/NovncConsoleCustomKeys.vue b/pkg/harvester/components/novnc/NovncConsoleCustomKeys.vue
index b1029835..55eabae3 100644
--- a/pkg/harvester/components/novnc/NovncConsoleCustomKeys.vue
+++ b/pkg/harvester/components/novnc/NovncConsoleCustomKeys.vue
@@ -7,6 +7,8 @@ import ModalWithCard from '@shell/components/ModalWithCard';
const PREFERED_SHORTCUT_KEYS = 'prefered-shortcut-keys';
export default {
+ name: 'NovncConsoleCustomKeys',
+
emits: ['close'],
components: {
@@ -102,10 +104,6 @@ export default {
},
methods: {
- show() {
- this.$refs.recordShortcutKeys.open();
- },
-
closeRecordingModal() {
window.removeEventListener('keydown', this.handleShortcut);
this.$emit('close');
@@ -172,7 +170,10 @@ export default {
-
+
diff --git a/pkg/harvester/components/novnc/NovncConsoleWrapper.vue b/pkg/harvester/components/novnc/NovncConsoleWrapper.vue
index a728beb2..4c4f257a 100644
--- a/pkg/harvester/components/novnc/NovncConsoleWrapper.vue
+++ b/pkg/harvester/components/novnc/NovncConsoleWrapper.vue
@@ -104,6 +104,7 @@ const F_KEYS = {
};
export default {
+ name: 'NovncConsoleWrapper',
components: {
NovncConsole, NovncConsoleItem, NovncConsoleCustomKeys
},
@@ -262,9 +263,6 @@ export default {
showKeysModal() {
this.renderKeysModal = true;
- this.$nextTick(() => {
- this.$refs.keysModal.show();
- });
},
hideKeysModal() {
@@ -326,7 +324,11 @@ export default {
-
+
diff --git a/pkg/harvester/components/settings/csi-driver-config.vue b/pkg/harvester/components/settings/csi-driver-config.vue
index 9c4c5198..c9117356 100644
--- a/pkg/harvester/components/settings/csi-driver-config.vue
+++ b/pkg/harvester/components/settings/csi-driver-config.vue
@@ -5,7 +5,7 @@ import InfoBox from '@shell/components/InfoBox';
import { allHash } from '@shell/utils/promise';
import { CSI_DRIVER, VOLUME_SNAPSHOT_CLASS } from '../../types';
-const LONGHORN_DRIVER = 'driver.longhorn.io';
+import { LONGHORN_DRIVER } from '@shell/config/types';
export default {
name: 'HarvesterCsiDriver',
diff --git a/pkg/harvester/config/doc-links.js b/pkg/harvester/config/doc-links.js
index d5768932..560428f9 100644
--- a/pkg/harvester/config/doc-links.js
+++ b/pkg/harvester/config/doc-links.js
@@ -4,7 +4,7 @@ import semver from 'semver';
const docVersion = `v${ semver.major(pkgJson.version) }.${ semver.minor(pkgJson.version) }`;
export const DOC_LINKS = {
- CONSOLE_URL: `https://docs.harvesterhci.io/${ docVersion }/host/`,
+ CONSOLE_URL: `https://docs.harvesterhci.io/${ docVersion }/host/#remote-console`,
RANCHER_INTEGRATION_URL: `https://docs.harvesterhci.io/${ docVersion }/rancher/rancher-integration`,
STORAGE_NETWORK_EXAMPLE: `https://docs.harvesterhci.io/${ docVersion }/advanced/storagenetwork#configuration-example`,
KSMTUNED_MODE: `https://docs.harvesterhci.io/${ docVersion }/host/#ksmtuned-mode`,
diff --git a/pkg/harvester/config/harvester-cluster.js b/pkg/harvester/config/harvester-cluster.js
index d057157f..dc700c98 100644
--- a/pkg/harvester/config/harvester-cluster.js
+++ b/pkg/harvester/config/harvester-cluster.js
@@ -834,7 +834,7 @@ export function init($plugin, store) {
});
virtualType({
- label: 'Addons',
+ label: 'Add-ons',
group: 'advanced',
name: HCI.ADD_ONS,
ifHaveType: HCI.ADD_ONS,
diff --git a/pkg/harvester/config/harvester-map.js b/pkg/harvester/config/harvester-map.js
index 39e01ad4..796ad222 100644
--- a/pkg/harvester/config/harvester-map.js
+++ b/pkg/harvester/config/harvester-map.js
@@ -68,6 +68,7 @@ export const ADD_ONS = {
RANCHER_LOGGING: 'rancher-logging',
RANCHER_MONITORING: 'rancher-monitoring',
VM_IMPORT_CONTROLLER: 'vm-import-controller',
+ LVM_DRIVER: 'lvm.driver.harvesterhci.io',
};
export const CSI_SECRETS = {
diff --git a/pkg/harvester/config/labels-annotations.js b/pkg/harvester/config/labels-annotations.js
index 5e8d561c..7d31002a 100644
--- a/pkg/harvester/config/labels-annotations.js
+++ b/pkg/harvester/config/labels-annotations.js
@@ -62,4 +62,5 @@ export const HCI = {
CPU_MANAGER: 'cpumanager',
VM_DEVICE_ALLOCATION_DETAILS: 'harvesterhci.io/deviceAllocationDetails',
SVM_BACKUP_ID: 'harvesterhci.io/svmbackupId',
+ DISABLE_LONGHORN_V2_ENGINE: 'node.longhorn.io/disable-v2-data-engine',
};
diff --git a/pkg/harvester/config/settings.js b/pkg/harvester/config/settings.js
index aabdd872..1bec2d45 100644
--- a/pkg/harvester/config/settings.js
+++ b/pkg/harvester/config/settings.js
@@ -85,7 +85,7 @@ export const HCI_ALLOWED_SETTINGS = {
kind: 'json', from: 'import', canReset: true
},
[HCI_SETTING.KUBECONFIG_DEFAULT_TOKEN_TTL_MINUTES]: {},
- [HCI_SETTING.LONGHORN_V2_DATA_ENGINE_ENABLED]: { kind: 'boolean', technicalPreview: true },
+ [HCI_SETTING.LONGHORN_V2_DATA_ENGINE_ENABLED]: { kind: 'boolean', experimental: true },
[HCI_SETTING.ADDITIONAL_GUEST_MEMORY_OVERHEAD_RATIO]: { kind: 'string', from: 'import' },
};
diff --git a/pkg/harvester/detail/harvesterhci.io.host/HarvesterHostDisk.vue b/pkg/harvester/detail/harvesterhci.io.host/HarvesterHostDisk.vue
index f106f953..29c11644 100644
--- a/pkg/harvester/detail/harvesterhci.io.host/HarvesterHostDisk.vue
+++ b/pkg/harvester/detail/harvesterhci.io.host/HarvesterHostDisk.vue
@@ -6,6 +6,8 @@ import { Banner } from '@components/Banner';
import HarvesterDisk from '../../mixins/harvester-disk';
import { RadioGroup } from '@components/Form/Radio';
+import { LONGHORN_VERSION_V1 } from '@shell/config/types';
+
export default {
emits: ['update:value'],
@@ -86,6 +88,20 @@ export default {
return '';
}
},
+
+ provisioner() {
+ let labelKey = `harvester.host.disk.storage.longhorn.${ LONGHORN_VERSION_V1 }.label`;
+
+ if (this.value?.blockDevice?.spec?.provisioner.longhorn) {
+ labelKey = `harvester.host.disk.storage.longhorn.${ this.value.blockDevice.spec.provisioner.longhorn.engineVersion }.label`;
+ }
+
+ if (this.value?.blockDevice?.spec?.provisioner.lvm) {
+ labelKey = 'harvester.host.disk.storage.lvm.label';
+ }
+
+ return this.t(labelKey);
+ },
},
methods: {
update() {
@@ -198,12 +214,18 @@ export default {
:value="value.displayName"
/>
-
diff --git a/pkg/harvester/detail/harvesterhci.io.host/index.vue b/pkg/harvester/detail/harvesterhci.io.host/index.vue
index dbcf299d..ed239772 100644
--- a/pkg/harvester/detail/harvesterhci.io.host/index.vue
+++ b/pkg/harvester/detail/harvesterhci.io.host/index.vue
@@ -103,11 +103,10 @@ export default {
const blockDevices = this.$store.getters[`${ inStore }/all`](HCI.BLOCK_DEVICE);
const provisionedBlockDevices = blockDevices.filter((d) => {
- const provisioned = d?.spec?.fileSystem?.provisioned;
const isCurrentNode = d?.spec?.nodeName === this.value.id;
const isLonghornMounted = findBy(this.longhornDisks, 'name', d.metadata.name);
- return provisioned && isCurrentNode && !isLonghornMounted;
+ return d?.isProvisioned && isCurrentNode && !isLonghornMounted;
})
.map((d) => {
return {
diff --git a/pkg/harvester/dialog/HarvesterMaintenanceDialog.vue b/pkg/harvester/dialog/HarvesterMaintenanceDialog.vue
index 2b35cc1f..81991bd6 100644
--- a/pkg/harvester/dialog/HarvesterMaintenanceDialog.vue
+++ b/pkg/harvester/dialog/HarvesterMaintenanceDialog.vue
@@ -125,7 +125,7 @@ export default {
diff --git a/pkg/harvester/dialog/HarvesterSupportBundle.vue b/pkg/harvester/dialog/HarvesterSupportBundle.vue
index e187679c..385f0745 100644
--- a/pkg/harvester/dialog/HarvesterSupportBundle.vue
+++ b/pkg/harvester/dialog/HarvesterSupportBundle.vue
@@ -63,6 +63,7 @@ export default {
stringify,
close() {
+ this.isOpen = false;
this.$store.commit('harvester-common/toggleBundleModal', false);
this.backUpName = '';
},
@@ -109,10 +110,12 @@ export default {
diff --git a/pkg/harvester/edit/harvesterhci.io.host/HarvesterDisk.vue b/pkg/harvester/edit/harvesterhci.io.host/HarvesterDisk.vue
index 25ec529f..05e0c574 100644
--- a/pkg/harvester/edit/harvesterhci.io.host/HarvesterDisk.vue
+++ b/pkg/harvester/edit/harvesterhci.io.host/HarvesterDisk.vue
@@ -1,22 +1,35 @@
+
+
+
+
+
+
+
+
+ {{ t('harvester.storage.parameters.nodeSelector.no-options', null, true) }}
+
+
+
+
+
+
+
+
+ {{ t('harvester.storage.parameters.diskSelector.no-options', null, true) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/harvester/edit/harvesterhci.io.storage/provisioners/lvm.driver.harvesterhci.io.vue b/pkg/harvester/edit/harvesterhci.io.storage/provisioners/lvm.driver.harvesterhci.io.vue
new file mode 100644
index 00000000..2fac3c5c
--- /dev/null
+++ b/pkg/harvester/edit/harvesterhci.io.storage/provisioners/lvm.driver.harvesterhci.io.vue
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+
+
+ {{ t('harvester.storage.parameters.diskSelector.no-options', null, true) }}
+
+
+
+
+
+
+
+
+
+
+ {{ t('harvester.storage.parameters.lvmVolumeGroup.no-options', null, true) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pkg/harvester/edit/harvesterhci.io.virtualmachineimage.vue b/pkg/harvester/edit/harvesterhci.io.virtualmachineimage.vue
index 46804723..fa243017 100644
--- a/pkg/harvester/edit/harvesterhci.io.virtualmachineimage.vue
+++ b/pkg/harvester/edit/harvesterhci.io.virtualmachineimage.vue
@@ -16,6 +16,7 @@ import { STORAGE_CLASS } from '@shell/config/types';
import { VM_IMAGE_FILE_FORMAT } from '../validators/vm-image';
import { OS } from '../mixins/harvester-vm';
import { HCI } from '../types';
+import { LVM_DRIVER } from '../models/harvester/storage.k8s.io.storageclass';
const ENCRYPT = 'encrypt';
const DECRYPT = 'decrypt';
@@ -138,16 +139,16 @@ export default {
const inStore = this.$store.getters['currentProduct'].inStore;
const storages = this.$store.getters[`${ inStore }/all`](STORAGE_CLASS);
- const out = storages.filter(s => !s.parameters?.backingImage).map((s) => {
- const label = s.isDefault ? `${ s.name } (${ this.t('generic.default') })` : s.name;
+ return storages
+ .filter(s => !s.parameters?.backingImage && s.provisioner !== LVM_DRIVER) // Lvm storage is not supported.
+ .map((s) => {
+ const label = s.isDefault ? `${ s.name } (${ this.t('generic.default') })` : s.name;
- return {
- label,
- value: s.name,
- };
- }) || [];
-
- return out;
+ return {
+ label,
+ value: s.name,
+ };
+ }) || [];
},
storageClassName: {
diff --git a/pkg/harvester/edit/harvesterhci.io.virtualmachinetemplateversion.vue b/pkg/harvester/edit/harvesterhci.io.virtualmachinetemplateversion.vue
index fe1b8645..55126635 100644
--- a/pkg/harvester/edit/harvesterhci.io.virtualmachinetemplateversion.vue
+++ b/pkg/harvester/edit/harvesterhci.io.virtualmachinetemplateversion.vue
@@ -267,7 +267,7 @@ export default {
:label="t('workload.container.titles.nodeScheduling')"
:weight="-3"
>
-
+
-
+
!s.parameters?.backingImage).map((s) => {
+ return this.$store.getters[`${ inStore }/all`](STORAGE_CLASS);
+ },
+
+ storageClassOptions() {
+ return this.storageClasses.filter(s => !s.parameters?.backingImage).map((s) => {
const label = s.isDefault ? `${ s.name } (${ this.t('generic.default') })` : s.name;
return {
@@ -172,8 +182,6 @@ export default {
value: s.name,
};
}) || [];
-
- return out;
},
frontend() {
@@ -220,6 +228,10 @@ export default {
rebuildStatus() {
return this.value.longhornEngine?.status?.rebuildStatus;
+ },
+
+ isLonghornV2() {
+ return this.value.storageClass?.isLonghornV2;
}
},
@@ -231,6 +243,10 @@ export default {
let imageAnnotations = '';
let storageClassName = this.value.spec.storageClassName;
+ const storageClass = this.storageClasses.find(sc => sc.name === storageClassName);
+ const storageClassProvisioner = storageClass?.provisioner;
+ const storageClassDataEngine = storageClass?.parameters?.dataEngine;
+
if (this.isVMImage && this.imageId) {
const images = this.$store.getters['harvester/all'](HCI.IMAGE);
@@ -245,8 +261,9 @@ export default {
const spec = {
...this.value.spec,
- resources: { requests: { storage: this.storage } },
- storageClassName
+ resources: { requests: { storage: this.storage } },
+ storageClassName,
+ accessModes: storageClassProvisioner === LVM_DRIVER || storageClassDataEngine === DATA_ENGINE_V2 ? ['ReadWriteOnce'] : ['ReadWriteMany'],
};
this.value.setAnnotations(imageAnnotations);
@@ -335,10 +352,15 @@ export default {
:output-modifier="true"
:increment="1024"
:mode="mode"
+ :disabled="isLonghornV2 && isEdit"
required
class="mb-20"
@update:value="update"
/>
+
+
+ {{ t('harvester.volume.longhorn.disableResize') }}
+
diff --git a/pkg/harvester/edit/kubevirt.io.virtualmachine/CompatibilityMatrix.vue b/pkg/harvester/edit/kubevirt.io.virtualmachine/CompatibilityMatrix.vue
index fa98f8cb..a6cd341b 100644
--- a/pkg/harvester/edit/kubevirt.io.virtualmachine/CompatibilityMatrix.vue
+++ b/pkg/harvester/edit/kubevirt.io.virtualmachine/CompatibilityMatrix.vue
@@ -91,7 +91,7 @@ export default {
{{ deviceCRD.metadata.name }}
diff --git a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/index.vue b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/index.vue
index d7d0cafa..5d5deea0 100644
--- a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/index.vue
+++ b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/index.vue
@@ -8,10 +8,10 @@ import { LabeledInput } from '@components/Form/LabeledInput';
import LabeledSelect from '@shell/components/form/LabeledSelect';
import ModalWithCard from '@shell/components/ModalWithCard';
-import { PVC, STORAGE_CLASS } from '@shell/config/types';
+import { PVC } from '@shell/config/types';
import { clone } from '@shell/utils/object';
+import { ucFirst, randomStr } from '@shell/utils/string';
import { removeObject } from '@shell/utils/array';
-import { randomStr } from '@shell/utils/string';
import { _VIEW, _EDIT, _CREATE } from '@shell/config/query-params';
import { PLUGIN_DEVELOPER, DEV } from '@shell/store/prefs';
import { SOURCE_TYPE } from '../../../config/harvester-map';
@@ -82,11 +82,12 @@ export default {
data() {
return {
+ ucFirst,
SOURCE_TYPE,
rows: clone(this.value),
nameIdx: 1,
vol: null,
- isOpen: false,
+ isOpen: false
};
},
@@ -175,10 +176,7 @@ export default {
};
if (type === SOURCE_TYPE.NEW) {
- const inStore = this.$store.getters['currentProduct'].inStore;
- const defaultStorage = this.$store.getters[`${ inStore }/all`](STORAGE_CLASS).find( O => O.isDefault);
-
- neu.storageClassName = defaultStorage?.metadata?.name || 'longhorn';
+ neu.storageClassName = this.defaultStorageClass?.metadata?.name || 'longhorn';
}
this.rows.push(neu);
@@ -258,6 +256,10 @@ export default {
getImageDisplayName(id) {
return this.$store.getters['harvester/all'](HCI.IMAGE).find(image => image.id === id)?.spec?.displayName;
+ },
+
+ isLonghornV2(volume) {
+ return volume?.pvc?.storageClass?.isLonghornV2;
}
},
};
@@ -371,12 +373,24 @@ export default {
-
+
+
+
+
+
@@ -497,4 +511,8 @@ export default {
justify-content: center;
align-items: center;
}
+
+ .banner {
+ margin: 10px 0;
+ }
diff --git a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/type/vmImage.vue b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/type/vmImage.vue
index 4b625f60..b7d3425b 100644
--- a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/type/vmImage.vue
+++ b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/type/vmImage.vue
@@ -114,6 +114,10 @@ export default {
return allPVCs.find((P) => {
return this.namespace ? P.id === `${ this.namespace }/${ this.value.volumeName }` : true;
});
+ },
+
+ isLonghornV2() {
+ return this.value.pvc?.storageClass?.isLonghornV2;
}
},
@@ -279,6 +283,7 @@ export default {
:label="t('harvester.fields.size')"
:mode="mode"
:required="validateRequired"
+ :disable="isLonghornV2"
suffix="GiB"
@update:value="update"
/>
diff --git a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/type/volume.vue b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/type/volume.vue
index 84261f5f..97d57178 100644
--- a/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/type/volume.vue
+++ b/pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineVolume/type/volume.vue
@@ -4,13 +4,14 @@ import UnitInput from '@shell/components/form/UnitInput';
import InputOrDisplay from '@shell/components/InputOrDisplay';
import { LabeledInput } from '@components/Form/LabeledInput';
import LabeledSelect from '@shell/components/form/LabeledSelect';
-import { Banner } from '@components/Banner';
import { PVC, STORAGE_CLASS } from '@shell/config/types';
import { formatSi, parseSi } from '@shell/utils/units';
import { VOLUME_TYPE, InterfaceOption } from '../../../../config/harvester-map';
import { _VIEW } from '@shell/config/query-params';
import LabelValue from '@shell/components/LabelValue';
import { ucFirst } from '@shell/utils/string';
+import { LVM_DRIVER } from '../../../../models/harvester/storage.k8s.io.storageclass';
+import { DATA_ENGINE_V2 } from '../../../../edit/harvesterhci.io.storage/index.vue';
export default {
name: 'HarvesterEditVolume',
@@ -18,7 +19,7 @@ export default {
emits: ['update'],
components: {
- InputOrDisplay, Loading, LabeledInput, LabeledSelect, UnitInput, LabelValue, Banner
+ InputOrDisplay, Loading, LabeledInput, LabeledSelect, UnitInput, LabelValue
},
props: {
@@ -88,10 +89,12 @@ export default {
return !this.value.newCreateId && this.isEdit && this.isVirtualType;
},
- storageClassOptions() {
- const storages = this.$store.getters[`harvester/all`](STORAGE_CLASS) || [];
+ storageClasses() {
+ return this.$store.getters[`harvester/all`](STORAGE_CLASS) || [];
+ },
- const out = storages.filter(s => !s.parameters?.backingImage).map((s) => {
+ storageClassOptions() {
+ return this.storageClasses.filter(s => !s.parameters?.backingImage).map((s) => {
const label = s.isDefault ? `${ s.name } (${ this.t('generic.default') })` : s.name;
return {
@@ -99,12 +102,25 @@ export default {
value: s.name,
};
}) || [];
-
- return out;
},
+
+ isLonghornV2() {
+ return this.value.pvc?.storageClass?.isLonghornV2;
+ }
},
watch: {
+ 'value.storageClassName': {
+ immediate: true,
+ handler(neu) {
+ const storageClass = this.storageClasses.find(sc => sc.name === neu);
+ const provisioner = storageClass?.provisioner;
+ const engine = storageClass?.parameters?.dataEngine;
+
+ this.value.accessMode = provisioner === LVM_DRIVER || engine === DATA_ENGINE_V2 ? 'ReadWriteOnce' : 'ReadWriteMany';
+ }
+ },
+
'value.type'(neu) {
if (neu === 'cd-rom') {
this.value['bus'] = 'sata';
@@ -222,6 +238,7 @@ export default {
:mode="mode"
:required="validateRequired"
:label="t('harvester.fields.size')"
+ :disabled="isLonghornV2"
@update:value="update"
/>
@@ -261,11 +278,5 @@ export default {
/>
-
diff --git a/pkg/harvester/edit/kubevirt.io.virtualmachine/index.vue b/pkg/harvester/edit/kubevirt.io.virtualmachine/index.vue
index e6388b1f..512a2502 100644
--- a/pkg/harvester/edit/kubevirt.io.virtualmachine/index.vue
+++ b/pkg/harvester/edit/kubevirt.io.virtualmachine/index.vue
@@ -614,7 +614,7 @@ export default {
:label="t('workload.container.titles.nodeScheduling')"
:weight="-3"
>
-
+
-
+
Storage` page
migratable:
label: Migratable
+ lvmVolumeGroupType:
+ label: Volume Group Type
+ lvmVolumeGroup:
+ label: Volume Group Name
+ no-options: No available Volume Groups, please add in the `Host > Storage` page
+ node:
+ label: Node
allowedTopologies:
title: Allowed Topologies
tooltip: Allowed Topologies helps scheduling virtual machines on hosts which match all of below expressions.
@@ -1229,7 +1259,7 @@ harvester:
label: Mode
miimon:
label: Miimon
- tooltip: -1 means to keep the original value
+ tooltip: Miimon specifies the MII link monitoring frequency in milliseconds. -1 means to keep the original value.
nodeSelector:
matchingNodes:
matchesSome: |-
@@ -1435,9 +1465,9 @@ harvester:
usb:
label: USB Devices
- noPermission: Please contact system admin to add Harvester addons first
+ noPermission: Please contact system admin to add Harvester add-ons first
goSetting:
- prefix: The pcidevices-controller addon is not enabled, click
+ prefix: The pcidevices-controller add-on is not enabled, click
middle: here
suffix: to enable it to manage your USB devices.
enableGroup: Enable Group
@@ -1499,7 +1529,7 @@ harvester:
placeholder: 'topology.kubernetes.io/zone'
advancedSettings:
- technicalPreview: 'Technical Previews allow users to test and evaluate early-access functionality prior to official supported releases'
+ experimental: 'Experimental features allow users to test and evaluate early-access functionality prior to official supported releases'
descriptions:
'harv-vlan': Default Network Interface name of the VLAN network.
'harv-backup-target': Custom backup target to store virtual machine backups.
@@ -1557,8 +1587,8 @@ typeLabel:
}
harvesterhci.io.networkattachmentdefinition: |-
{count, plural,
- one { Virtual Machines Network }
- other { Virtual Machines Networks }
+ one { Virtual Machine Network }
+ other { Virtual Machine Networks }
}
harvesterhci.io.volume: |-
{count, plural,
@@ -1587,8 +1617,8 @@ typeLabel:
}
harvesterhci.io.virtualmachinebackup: |-
{count, plural,
- one { Virtual Machines Backup }
- other { Virtual Machines Backups }
+ one { Virtual Machine Backup }
+ other { Virtual Machine Backups }
}
harvesterhci.io.cloudtemplate: |-
{count, plural,
@@ -1602,8 +1632,8 @@ typeLabel:
}
harvesterhci.io.vmsnapshot: |-
{count, plural,
- one { Virtual Machines Snapshot }
- other { Virtual Machines Snapshots }
+ one { Virtual Machine Snapshot }
+ other { Virtual Machine Snapshots }
}
network.harvesterhci.io.vlanconfig: |-
{count, plural,
@@ -1655,6 +1685,11 @@ typeLabel:
one { Cluster Network }
other { Cluster Networks }
}
+ harvesterhci.io.addon: |-
+ {count, plural,
+ one { Add-on }
+ other { Add-ons }
+ }
devices.harvesterhci.io.sriovnetworkdevice: |-
{count, plural,
one { SR-IOV Network Device }
diff --git a/pkg/harvester/list/harvesterhci.io.setting.vue b/pkg/harvester/list/harvesterhci.io.setting.vue
index 4daa0d7c..0022c0c5 100644
--- a/pkg/harvester/list/harvesterhci.io.setting.vue
+++ b/pkg/harvester/list/harvesterhci.io.setting.vue
@@ -138,7 +138,7 @@ export default {
- {{ t('advancedSettings.subtext') }}
+ {{ t('harvester.setting.modifiedMessage') }}
diff --git a/pkg/harvester/list/harvesterhci.io.virtualmachinebackup.vue b/pkg/harvester/list/harvesterhci.io.virtualmachinebackup.vue
index cfd54f25..004c45e9 100644
--- a/pkg/harvester/list/harvesterhci.io.virtualmachinebackup.vue
+++ b/pkg/harvester/list/harvesterhci.io.virtualmachinebackup.vue
@@ -97,8 +97,8 @@ export default {
},
changeRows(filteredRows, searchSchedule) {
- this[searchSchedule] = searchSchedule;
- this[backups] = filteredRows;
+ this['searchSchedule'] = searchSchedule;
+ this['backups'] = filteredRows;
},
sortGenerationFn() {
@@ -119,7 +119,7 @@ export default {
NAMESPACE,
{
name: 'targetVM',
- labelKey: 'tableHeaders.targetVm',
+ labelKey: 'harvester.tableHeaders.targetVm',
value: 'attachVM',
align: 'left',
formatter: 'AttachVMWithName'
diff --git a/pkg/harvester/list/harvesterhci.io.vmsnapshot.vue b/pkg/harvester/list/harvesterhci.io.vmsnapshot.vue
index ae48e330..c857202e 100644
--- a/pkg/harvester/list/harvesterhci.io.vmsnapshot.vue
+++ b/pkg/harvester/list/harvesterhci.io.vmsnapshot.vue
@@ -64,7 +64,7 @@ export default {
NAMESPACE,
{
name: 'targetVM',
- labelKey: 'tableHeaders.targetVm',
+ labelKey: 'harvester.tableHeaders.targetVm',
value: 'attachVM',
align: 'left',
sort: 'attachVM',
diff --git a/pkg/harvester/list/harvesterhci.io.volume.vue b/pkg/harvester/list/harvesterhci.io.volume.vue
index 3afc41a3..b7c43921 100644
--- a/pkg/harvester/list/harvesterhci.io.volume.vue
+++ b/pkg/harvester/list/harvesterhci.io.volume.vue
@@ -1,7 +1,9 @@