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

4 lines
156 B
Django/Jinja

[Service]
Environment="DOCKER_OPTS={{ docker_options | default('') }} \
--iptables={% if kube_network_plugin == 'flannel' %}true{% else %}false{% endif %}"