volume
Persistent storage claims. Each attribute is a named claim; the volume provider creates a PVC per claim.
Example
Section titled “Example”apps.myapp.main.needs.volume.data = { size = "10Gi"; class = "fast-essential"; path = "/data";};You set
Section titled “You set”<name>.accessModeslist of stringAccess modes for the PVC.
- Default
[ "ReadWriteOnce" ]
<name>.classnull or stringStorage class alias, resolved by the volume provider.
- Default
null
<name>.pathstringMount path this claim is bound to in the consumer's pod.
<name>.sizenull or stringRequested size, such as 10Gi. Defaults to the size the volume provider assigns.
- Default
null
providernull or (podule provider reference (apps.<type>.<instance> or impl.<contract>.<name>))Overrides providers.volume for this need.
- Default
null