KubernetesPersistentVolumeResource.withoutStorageClass
Method
interface KubernetesPersistentVolumeResource { // ... omitted for brevity withoutStorageClass(): KubernetesPersistentVolumeResource;}Signature
method
withoutStorageClass builderOmits `spec.storageClassName` from the generated PVC so Kubernetes can assign the cluster's default StorageClass. To request a classless volume, call `WithStorageClass` with an empty string.
withoutStorageClass(): KubernetesPersistentVolumeResourceReturns
KubernetesPersistentVolumeResource Defined on
This method is defined on the following type: