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

3 lines
156 B
Django/Jinja

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