Version v1.11 of the documentation is for the Talos version being developed. For the latest stable version of Talos, see the latest version.

ExistingVolumeConfig

ExistingVolumeConfig is an existing volume configuration document. Existing volumes allow to mount partitions (or whole disks) that were created outside of Talos. Volume will be mounted under /var/mnt/<name>. The existing volume config name should not conflict with user volume names.
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.
Show example(s)
match: volume.partition_label == "MY-DATA"
match: volume.name == "xfs" && disk.serial == "SERIAL123"

mount

MountSpec describes how the volume is mounted.

FieldTypeDescriptionValue(s)
readOnlyboolMount the volume read-only.