EphemeralVolumeSourcePatch constructor

const EphemeralVolumeSourcePatch({
  1. Input<bool>? readOnly,
  2. Input<PersistentVolumeClaimTemplatePatch>? volumeClaimTemplate,
})

Creates a new EphemeralVolumeSourcePatch. readOnly Specifies a read-only configuration for the volume. Defaults to false (read/write). volumeClaimTemplate Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be &lt;pod name&gt;-&lt;volume name&gt; where &lt;volume name&gt; is the name from the PodSpec.Volumes array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).

Implementation

const EphemeralVolumeSourcePatch({
  this.readOnly,
  this.volumeClaimTemplate,
});