From 0006e5ab451702ac382544889762aa0c8e21c517 Mon Sep 17 00:00:00 2001 From: Ivan Shvedunov Date: Tue, 21 Feb 2017 22:22:40 +0300 Subject: [PATCH] Fix shell special vars --- roles/kubernetes/node/templates/kubelet-container.j2 | 2 +- roles/network_plugin/calico/templates/calicoctl-container.j2 | 2 +- roles/network_plugin/canal/templates/calicoctl-container.j2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/kubernetes/node/templates/kubelet-container.j2 b/roles/kubernetes/node/templates/kubelet-container.j2 index bf0dffea0..ffea01cec 100644 --- a/roles/kubernetes/node/templates/kubelet-container.j2 +++ b/roles/kubernetes/node/templates/kubelet-container.j2 @@ -25,4 +25,4 @@ -v {{kube_config_dir}}:{{kube_config_dir}}:ro \ {{ hyperkube_image_repo }}:{{ hyperkube_image_tag}} \ ./hyperkube kubelet \ - $@ + "$@" diff --git a/roles/network_plugin/calico/templates/calicoctl-container.j2 b/roles/network_plugin/calico/templates/calicoctl-container.j2 index ec8642c01..b752fe340 100644 --- a/roles/network_plugin/calico/templates/calicoctl-container.j2 +++ b/roles/network_plugin/calico/templates/calicoctl-container.j2 @@ -11,4 +11,4 @@ -v {{ calico_cert_dir }}:{{ calico_cert_dir }}:ro \ --memory={{ calicoctl_memory_limit|regex_replace('Mi', 'M') }} --cpu-shares={{ calicoctl_cpu_limit|regex_replace('m', '') }} \ {{ calicoctl_image_repo }}:{{ calicoctl_image_tag}} \ -$@ +"$@" diff --git a/roles/network_plugin/canal/templates/calicoctl-container.j2 b/roles/network_plugin/canal/templates/calicoctl-container.j2 index d65d88d46..28f09b4c5 100644 --- a/roles/network_plugin/canal/templates/calicoctl-container.j2 +++ b/roles/network_plugin/canal/templates/calicoctl-container.j2 @@ -12,4 +12,4 @@ -v {{ canal_policy_dir }}:{{ canal_policy_dir }}:ro \ --memory={{ calicoctl_memory_limit|regex_replace('Mi', 'M') }} --cpu-shares={{ calicoctl_cpu_limit|regex_replace('m', '') }} \ {{ calicoctl_image_repo }}:{{ calicoctl_image_tag}} \ -$@ +"$@"