The project owner chooses the storage class for an image or a disk. You can limit that choice and set a default class. The .spec.settings.virtualImages block covers images, and the .spec.settings.virtualDisks block covers disks.
Example:
spec:
settings:
virtualImages:
allowedStorageClassSelector:
matchNames:
- sc-1
- sc-2
defaultStorageClassName: sc-1
virtualDisks:
allowedStorageClassSelector:
matchNames:
- sc-3
defaultStorageClassName: sc-3
Both blocks work the same way and both are optional. The allowedStorageClassSelector.matchNames parameter lists the classes allowed in the VirtualImage and VirtualDisk specification, and defaultStorageClassName sets the class for resources where the .spec.persistentVolumeClaim.storageClassName parameter isn’t set.