WithPersistentVolumeName
Method
func (KubernetesPersistentVolumeResource) WithPersistentVolumeName(persistentVolumeName string) KubernetesPersistentVolumeResourceSignature
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 The same builder for chaining.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: