---
{%- 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 %}