Skip to main content
apiVersion: v1alpha1
kind: ExistingVolumeConfig
name: my-existing-volume # Name of the volume.
# The discovery describes how to find a volume.
discovery:
    # The volume selector expression.
    volumeSelector:
        match: volume.partition_label == "MY-DATA" # The Common Expression Language (CEL) expression to match the volume.
FieldTypeDescriptionValue(s)
namestringName of the volume.

Name can only contain:
lowercase and uppercase ASCII letters, digits, and hyphens.
discoveryVolumeDiscoverySpecThe discovery describes how to find a volume.
mountMountSpecThe mount describes additional mount options.

discovery

VolumeDiscoverySpec describes how the volume is discovered.
FieldTypeDescriptionValue(s)
volumeSelectorVolumeSelectorThe volume selector expression.

volumeSelector

VolumeSelector selects an existing volume.
FieldTypeDescriptionValue(s)
matchExpressionThe Common Expression Language (CEL) expression to match the volume.

mount

MountSpec describes how the volume is mounted.
FieldTypeDescriptionValue(s)
readOnlyboolMount the volume read-only.
⌘I