Make kubelet_load_modules always present but false.

Update code and docs for that assumption.
This commit is contained in:
Greg Althaus
2017-02-09 10:25:44 -06:00
parent fcd78eb1f7
commit 3f0c13af8a
3 changed files with 5 additions and 3 deletions

View File

@@ -33,3 +33,5 @@ etcd_config_dir: /etc/ssl/etcd
# A port range to reserve for services with NodePort visibility.
# Inclusive at both ends of the range.
kube_apiserver_node_port_range: "30000-32767"
kubelet_load_modules: false

View File

@@ -14,7 +14,7 @@
{% for dir in ssl_ca_dirs -%}
-v {{ dir }}:{{ dir }}:ro \
{% endfor -%}
{% if kubelet_load_modules is defined and kubelet_load_modules == true -%}
{% if kubelet_load_modules -%}
-v /lib/modules:/lib/modules:ro \
{% endif -%}
-v /sys:/sys:ro \