ui: add Upgrade Storage Class selector for v1.10+ upgrade flows (#1249) (#1266)

Add a StorageClass selector to online and air-gapped upgrade pages when
the repositoryStorageClass feature is enabled (v1.10+).

- Online: stores selection in harvesterhci.io/upgrade-storage-class annotation
- Air-gapped: stores selection in image spec.targetStorageClassName
- Selector locked while uploaded image exists; unlocked on switch to URL
- Hidden on pre-v1.10 clusters


(cherry picked from commit aa5a501c29)

Signed-off-by: pohanhuang <pohan.huang@suse.com>
Co-authored-by: Po Han Huang <pohan.huang@suse.com>
This commit is contained in:
mergify[bot]andPo Han Huang authored and GitHub committed 2026-11-20 20:01:31 +08:00
1 parent ff0a6c8431
commit 8ac059b2d6
10 files changed
+475 -12

No files matched your search

+4
View File
@@ -1273,6 +1273,10 @@ harvester:
currentVersion: CURRENT VERSION
versionLabel: AVAILABLE COMPATIBLE VERSIONS
enableLogging: Enable Logging
repositoryStorageClass: Upgrade Storage Class
repositoryStorageClassTooltip: Select the StorageClass for the temporary upgrade repository volume that stores the ISO during the upgrade.
repositoryStorageClassPlaceholder: Select a StorageClass
repositoryStorageClassNoOptions: No StorageClasses are available.
skipSingleReplicaDetachedVol: Skip checking single-replica detached volumes
upgradeNode: Upgrading Node
upgradeSysService: Upgrading System Service