add third party storage UI change

Signed-off-by: andy.lee <andy.lee@suse.com>
(cherry picked from commit 40794d89a0)
This commit is contained in:
andy.lee
2025-02-19 09:05:28 +00:00
committed by Mergify
parent df1566f394
commit b2c1a3b068
11 changed files with 95 additions and 17 deletions
@@ -62,6 +62,10 @@ export default class HciStorageClass extends StorageClass {
return this.parameters?.encrypted === 'true';
}
get isLonghornV1() {
return this.provisioner === LONGHORN_DRIVER && this.longhornVersion === DATA_ENGINE_V1;
}
get isLonghornV2() {
return this.provisioner === LONGHORN_DRIVER && this.longhornVersion === DATA_ENGINE_V2;
}