paulbsd-salt/states/kubernetes/containerd.sls

14 lines
392 B
Plaintext

---
{%- from "kubernetes/map.jinja" import kubernetes with context %}
kubernetes-containerd-conf:
file.managed:
- name: /etc/containerd/config.toml
- source: salt://kubernetes/templates/config.toml.j2
- template: jinja
- watch_in:
- service: kubernetes-containerd-service
kubernetes-containerd-reset-cni:
file.absent:
- name: /etc/cni/net.d/10-flannel.conflist