diff --git a/cluster/common.sh b/cluster/common.sh index bdffe50..3f3f5d0 100755 --- a/cluster/common.sh +++ b/cluster/common.sh @@ -28,9 +28,9 @@ function k8s_grant_permissions { # workaround to https://github.com/kubevirt/kubevirt/issues/7078 function k8s_patch_storage_profile { - kubectl patch --type merge -p '{"spec": {"claimPropertySets": [{"accessModes": ["ReadWriteOnce"]}]}}' StorageProfile standard + kubectl patch --type merge -p '{"spec": {"claimPropertySets": [{ "volumeMode": "Filesystem", "accessModes": ["ReadWriteOnce"]}]}}' StorageProfile standard } function k8s_apply_volume_populator { kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/volume-data-source-validator/v1.0.1/client/config/crd/populator.storage.k8s.io_volumepopulators.yaml -} \ No newline at end of file +}