diff --git a/pkg/harvester/models/harvester/persistentvolumeclaim.js b/pkg/harvester/models/harvester/persistentvolumeclaim.js index 501032bb876..a609252c9ce 100644 --- a/pkg/harvester/models/harvester/persistentvolumeclaim.js +++ b/pkg/harvester/models/harvester/persistentvolumeclaim.js @@ -229,7 +229,7 @@ export default class HciPv extends HarvesterResource { } get isEncrypted() { - return this.relatedPV?.spec.csi.volumeAttributes.encrypted === 'true'; + return this.relatedPV?.spec?.csi?.volumeAttributes?.encrypted === 'true'; } get longhornVolume() {