> ## Documentation Index
> Fetch the complete documentation index at: https://docs.siderolabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# InlineDataVolumeConfig

> InlineDataVolumeConfig is an inline data volume configuration document.
Inline data volume is a set of files defined inline, similar to a Kubernetes ConfigMap.
The files are kept in memory (`tmpfs`), which only Talos can write to.
Containers mount it read-only with a `volume` mount in `ContainerConfig`.
The name must not be taken by a user, existing or external volume.

Changes to the files are applied in place, without restarting containers:
the files are replaced atomically as a whole, by swapping the `..data` symbolic link
to a directory holding the new set of files.
Each top-level entry of the volume is a symbolic link into `..data`.


```yaml theme={null}
apiVersion: v1alpha1
kind: InlineDataVolumeConfig
name: app-config # Name of the volume.
# Files of the volume, keyed by the path relative to the volume root.
files:
    app.yaml:
        contents: | # The contents of the file.
            listen: :8080
    conf.d/extra.ini:
        mode: 0o600 # The file's permissions in octal.
        contents: | # The contents of the file.
            [section]
            key=value
```

<table>
  <thead>
    <tr>
      <th>Field</th>
      <th>Type</th>
      <th>Description</th>
      <th>Value(s)</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>`name`</td>
      <td>string</td>
      <td>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.</td>

      <td />
    </tr>

    <tr>
      <td>`secret`</td>
      <td>bool</td>
      <td>Redacts file paths and contents when the machine configuration is redacted.\
      Files are still rendered in full.\
      \
      Defaults to `false`.</td>

      <td />
    </tr>

    <tr>
      <td>`files`</td>
      <td>[map\[string\]InlineDataVolumeFileV1Alpha1](#-)</td>
      <td>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.</td>

      <td />
    </tr>
  </tbody>
</table>

## files.\*

InlineDataVolumeFileV1Alpha1 describes a single file of an inline data volume.

<table>
  <thead>
    <tr>
      <th>Field</th>
      <th>Type</th>
      <th>Description</th>
      <th>Value(s)</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>`mode`</td>
      <td>InlineDataVolumeFileMode</td>
      <td>The file's permissions in octal.\
      \
      Defaults to `0o644`.</td>

      <td />
    </tr>

    <tr>
      <td>`contents`</td>
      <td>string</td>
      <td>The contents of the file.</td>

      <td />
    </tr>
  </tbody>
</table>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.