kubespray/roles/docker/templates/docker-options.conf.j2

3 lines
185 B
Django/Jinja

[Service]
Environment="DOCKER_OPTS={% if docker_options is defined %}{{ docker_options }}{% endif %} --iptables={% if kube_network_plugin == 'flannel' %}true{% else %}false{% endif %}"