mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
Add volumeMode dropdown for third-party storage (#197)
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user