mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-25 01:50:53 +08:00
Previously, the Image and Volume create/edit forms would lose the user's StorageClass selection or silently pick an unavailable class.
Changes:
- Retain the existing StorageClass if it is still available
- Fall back in order: cluster default → longhorn → first selectable
- Block creation and show an informational message when no selectable StorageClass exists
Signed-off-by: pohanhuang <pohan.huang@suse.com>
(cherry picked from commit d80249773d)