paulbsd-salt/states/kubernetes/config.sls

7 lines
252 B
Plaintext

---
{%- from "kubernetes/map.jinja" import kubernetes with context %}
{% for name in ['iptables', 'ip6tables'] %}
kubernetes-alternatives-{{ name }}:
cmd.run:
- name: "update-alternatives --set {{ name }} /usr/sbin/{{ name }}-legacy"
{% endfor %}