withKubernetesPersistentVolumeMount
Method
interface ContainerResource { // ... omitted for brevity withKubernetesPersistentVolumeMount( volume: KubernetesPersistentVolumeResource, mountPath: string, isReadOnly?: boolean, env?: string): IComputeResource;}Signature
method
withKubernetesPersistentVolumeMount builderBinds a workload to a Kubernetes persistent volume and mounts it at a path
withKubernetesPersistentVolumeMount( volume: KubernetesPersistentVolumeResource, mountPath: string, isReadOnly?: boolean, env?: string): IComputeResourceParameters
volumeKubernetesPersistentVolumeResource mountPath stringisReadOnly booleanoptional= FalseenvstringoptionalReturns
IComputeResource Applies to
This method applies to the following types: