mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-30 12:18:49 +08:00
Latest changes from Harvester master - e6796a6fc0cffe03f47f6081c09469d59b97faf9
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
10 files changed
+93
-63
No files matched your search
@@ -13,7 +13,6 @@ import { parseVolumeClaimTemplates } from '@pkg/utils/vm';
|
||||
import { BACKUP_TYPE } from '../config/types';
|
||||
import { HCI } from '../types';
|
||||
import HarvesterResource from './harvester';
|
||||
import { LVM_DRIVER } from './harvester/storage.k8s.io.storageclass';
|
||||
import { featureEnabled } from '../utils/feature-flags';
|
||||
|
||||
export const OFF = 'Off';
|
||||
@@ -613,11 +612,11 @@ export default class VirtVm extends HarvesterResource {
|
||||
}
|
||||
|
||||
get lvmVolumes() {
|
||||
return this.volumes.filter((volume) => volume.storageClass.provisioner === LVM_DRIVER);
|
||||
return this.volumes.filter((volume) => volume?.isLvm);
|
||||
}
|
||||
|
||||
get longhornV2Volumes() {
|
||||
return this.volumes.filter((volume) => volume.storageClass.isLonghornV2);
|
||||
return this.volumes.filter((volume) => volume?.isLonghornV2);
|
||||
}
|
||||
|
||||
get encryptedVolumeType() {
|
||||
|
||||
Reference in new issue
Block a user