From 7c187e894d6b9566a3fb20704b701f40cadbae28 Mon Sep 17 00:00:00 2001 From: Volker Theile Date: Wed, 25 Feb 2026 09:47:15 +0100 Subject: [PATCH] fix(vmimport): Add missing list page for ovasource (#714) ... and several small improvements. Signed-off-by: Volker Theile --- package.json | 1 + .../migration.harvesterhci.io.ovasource.vue | 4 +- pkg/harvester/l10n/en-us.yaml | 3 +- .../harvesterhci.io.migration.ovasource.vue | 60 +++++++++++++++++++ 4 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 pkg/harvester/list/harvesterhci.io.migration.ovasource.vue diff --git a/package.json b/package.json index 5e7cb053..d127c14d 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "build": "./node_modules/.bin/vue-cli-service build", "clean": "./node_modules/@rancher/shell/scripts/clean", "lint": "./node_modules/.bin/eslint --max-warnings 0 --ext .js,.ts,.vue .", + "lint:fix": "./node_modules/.bin/eslint --fix --max-warnings 0 --ext .js,.ts,.vue .", "build-pkg": "./node_modules/@rancher/shell/scripts/build-pkg.sh", "serve-pkgs": "./node_modules/@rancher/shell/scripts/serve-pkgs", "publish-pkgs": "./node_modules/@rancher/shell/scripts/extension/publish", diff --git a/pkg/harvester/edit/migration.harvesterhci.io.ovasource.vue b/pkg/harvester/edit/migration.harvesterhci.io.ovasource.vue index 649edc1c..669c6b7a 100644 --- a/pkg/harvester/edit/migration.harvesterhci.io.ovasource.vue +++ b/pkg/harvester/edit/migration.harvesterhci.io.ovasource.vue @@ -306,11 +306,11 @@ export default { :weight="1" >
-
+
diff --git a/pkg/harvester/l10n/en-us.yaml b/pkg/harvester/l10n/en-us.yaml index b8b33cb4..e42ee850 100644 --- a/pkg/harvester/l10n/en-us.yaml +++ b/pkg/harvester/l10n/en-us.yaml @@ -1675,10 +1675,11 @@ harvester: datacenter: The exact name of the Datacenter object in vCenter ova: fields: - url: OVA URL + url: URL httpTimeout: HTTP Timeout placeholders: url: "e.g. https://download.example.com/images/my-vm.ova" + httpTimeout: "Default: 600" rancherVcluster: accessRancher: Access the Rancher Dashboard diff --git a/pkg/harvester/list/harvesterhci.io.migration.ovasource.vue b/pkg/harvester/list/harvesterhci.io.migration.ovasource.vue new file mode 100644 index 00000000..d20ad3ba --- /dev/null +++ b/pkg/harvester/list/harvesterhci.io.migration.ovasource.vue @@ -0,0 +1,60 @@ + + +