add posibility to override cri settings uses by virtlet
Change-Id: I7ab1fa8455f19eced519a10fce5b97c366a821b5
diff --git a/kubernetes/files/kubelet/default.pool b/kubernetes/files/kubelet/default.pool
index 15e5b72..987c7e4 100644
--- a/kubernetes/files/kubelet/default.pool
+++ b/kubernetes/files/kubelet/default.pool
@@ -18,11 +18,11 @@
{%- endif %}
--file-check-frequency={{ pool.kubelet.frequency }} \
{%- if common.addons.get('virtlet', {}).get('enabled') %}
---container-runtime=remote \
---container-runtime-endpoint=/var/run/criproxy.sock \
---image-service-endpoint=/var/run/criproxy.sock \
+--container-runtime={{ pool.get('container-runtime', 'remote') }} \
+--container-runtime-endpoint={{ pool.get('container-runtime-endpoint', '/var/run/criproxy.sock') }} \
+--image-service-endpoint={{ pool.get('image-service-endpoint', '/var/run/criproxy.sock') }} \
+--enable-controller-attach-detach={{ pool.get('enable-controller-attach-detach', 'false') }} \
{%- endif %}
---enable-controller-attach-detach=false \
{%- for key, value in pool.get('kubelet', {}).get('daemon_opts', {}).iteritems() %}
--{{ key }}="{{ value }}" \
{%- endfor %}