no default storage class - cniackz/public GitHub Wiki

Kubevirt Tests

no default storage class

When running kubevirt tests needed for DirectPV Certification, A StorageClass has to be set by default:

kind: StorageClass
metadata:
  annotations:
    meta.helm.sh/release-name: directpv
    meta.helm.sh/release-namespace: default
    storageclass.kubernetes.io/is-default-class: "true" <<<<<<<< This is needed for the RedHat CSI Certification

Antes:

no default storage class there are StorageProfiles with empty ClaimPropertySets (unknown provisioners) there are golden images whose DataImportCron is not up to date or DataSource is not ready

Despues:

pvc failed to bound there are StorageProfiles with empty ClaimPropertySets (unknown provisioners) there are golden images whose DataImportCron is not up to date or DataSource is not ready

Notice how no default storage class goes away, one problem less. Make sure to use kubevirt-checkups as namespace to execute these tests.