Fix flannel for 1.6 and apply fixes to enable containerized kubelet

This commit is contained in:
Matthew Mosesohn
2017-04-05 13:47:03 +03:00
parent ccc11e5680
commit ff2fb9196f
8 changed files with 27 additions and 33 deletions

View File

@@ -1,2 +1,3 @@
[Service]
Environment="DOCKER_OPTS={% if docker_options is defined %}{{ docker_options }}{% endif %} --iptables={% if kube_network_plugin == 'flannel' %}true{% else %}false{% endif %}"
Environment="DOCKER_OPTS={{ docker_options | default('') }} \
--iptables={% if kube_network_plugin == 'flannel' %}true{% else %}false{% endif %}"