AddPersistentVolume
Method
func (KubernetesEnvironmentResource) AddPersistentVolume(name string) KubernetesPersistentVolumeResourceSignature
method
AddPersistentVolume builderAdds a Kubernetes PersistentVolumeClaim resource
AddPersistentVolume(name string) KubernetesPersistentVolumeResourceParameters
namestringThe name of the persistent volume resource. Used as the generated PVC's metadata.name after lower-casing. To bind a workload using the name-match overload of WithPersistentVolume , add a WithVolume("name", "/path") on the workload using the same name.Returns
KubernetesPersistentVolumeResource A builder for the new Kubernetes.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: