withPersistentVolumeName
Method
interface KubernetesPersistentVolumeResource { // ... omitted for brevity withPersistentVolumeName(persistentVolumeName: string): KubernetesPersistentVolumeResource;}Signature
method
withPersistentVolumeName builderSets the name of the existing PersistentVolume to bind to in the generated PVC's `spec.volumeName`.
withPersistentVolumeName(persistentVolumeName: string): KubernetesPersistentVolumeResourceParameters
persistentVolumeName stringThe name of the existing PersistentVolume.Returns
KubernetesPersistentVolumeResource Applies to
This method applies to the following types: