paulbsd-salt/states/kubernetes/containerd.sls

14 lines
392 B
Plaintext
Raw Normal View History

2022-10-01 20:08:12 +02:00
---
{%- 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