mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-09 23:12:10 -03:30
default docker template condition
This commit is contained in:
parent
8eef0db3ec
commit
d6a790ec46
@ -4,9 +4,9 @@
|
||||
#DOCKER="/usr/local/bin/docker"
|
||||
|
||||
# Use DOCKER_OPTS to modify the daemon startup options.
|
||||
{% if kube_network_plugin is defined and kube_network_plugin == "calico" %}
|
||||
DOCKER_OPTS="--bridge=cbr0 --iptables=false --ip-masq=false"
|
||||
{% endif %}
|
||||
#{% if kube_network_plugin is defined and kube_network_plugin == "calico" %}
|
||||
#DOCKER_OPTS="--bridge=cbr0 --iptables=false --ip-masq=false"
|
||||
#{% endif %}
|
||||
|
||||
# If you need Docker to use an HTTP proxy, it can also be specified here.
|
||||
#export http_proxy="http://127.0.0.1:3128/"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user