talos/hack/containerd.toml
Spencer Smith e0181c85eb feat: allow ability to customize containerd
This PR will allow for any toml files added into `/var/cri/conf.d` to be
picked up and parsed as a containerd config. This should allow users a
nice way to add additional configs by passing extra files in machine
config like:

```
machine:
  ...
  files:
    - content: |
        [metrics]
          address = "0.0.0.0:11234"
      path: /var/cri/conf.d/metrics.toml
      op: create
```

Will close #1718.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2020-01-22 17:08:10 -05:00

5 lines
120 B
TOML

imports = ["/var/cri/conf.d/*.toml"]
[plugins.cri.containerd.runtimes.runc]
runtime_type = "io.containerd.runc.v2"