| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | Name of the volume. Name might be between 1 and 34 characters long and can only contain: lowercase and uppercase ASCII letters, digits, and hyphens. | |
secret | bool | Redacts file paths and contents when the machine configuration is redacted. Files are still rendered in full. Defaults to false. | |
files | map[string]InlineDataVolumeFileV1Alpha1 | Files of the volume, keyed by the path relative to the volume root. Paths may contain subdirectories, which are created automatically. Path components must not start with .., and must be at most 255 bytes long.Paths must be at most 1024 bytes long. There may be at most 256 files in at most 256 distinct directories, and their total size, each rounded up to 4 KiB, must not exceed 1 MiB. |
files.*
InlineDataVolumeFileV1Alpha1 describes a single file of an inline data volume.| Field | Type | Description | Value(s) |
|---|---|---|---|
mode | InlineDataVolumeFileMode | The file’s permissions in octal. Defaults to 0o644. | |
contents | string | The contents of the file. |