PersistentVolumeClaimTemplatePatch constructor
const
PersistentVolumeClaimTemplatePatch({
- Input<
ObjectMetaPatch> ? metadata, - Input<
PersistentVolumeClaimSpecPatch> ? spec,
Creates a new PersistentVolumeClaimTemplatePatch.
metadata May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.
spec The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.
Implementation
const PersistentVolumeClaimTemplatePatch({
this.metadata,
this.spec,
});