Add volumeMode dropdown for third-party storage (#197) (#200)

Signed-off-by: Andy Lee <andy.lee@suse.com>
(cherry picked from commit 90c923b480)

Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
mergify[bot]
2025-03-12 14:29:40 +08:00
committed by GitHub
co-authored by Andy Lee
parent 7c1596c965
commit 44f003309c
7 changed files with 92 additions and 6 deletions
@@ -62,6 +62,10 @@ export default class HciStorageClass extends StorageClass {
return this.parameters?.encrypted === 'true';
}
get isLonghorn() {
return this.provisioner === LONGHORN_DRIVER;
}
get isLonghornV1() {
return this.provisioner === LONGHORN_DRIVER && this.longhornVersion === DATA_ENGINE_V1;
}