Add missing parameters for kubelet/default.master
Change-Id: I99db8f3b707af1eaa6c559b33c3ad5aca1b76f5c
Related-PROD: PROD-23569
diff --git a/kubernetes/files/kubelet/default.master b/kubernetes/files/kubelet/default.master
index 75eaa72..3cdb8bf 100644
--- a/kubernetes/files/kubelet/default.master
+++ b/kubernetes/files/kubelet/default.master
@@ -19,21 +19,22 @@
# test_args has to be kept at the end, so they'll overwrite any prior configuration
DAEMON_ARGS="\
+--kubeconfig=/etc/kubernetes/kubelet.kubeconfig \
--pod-manifest-path=/etc/kubernetes/manifests \
--address={{ master.kubelet.address }} \
--allow-privileged={{ master.kubelet.allow_privileged }} \
--cluster_dns={{ common.addons.dns.server }} \
--cluster_domain={{ common.addons.dns.domain|replace('_', '-') }} \
-{%- if add_networking_plugin_conf %}
---network-plugin=cni \
---cni-bin-dir={{ master.apiserver.get('cni_bin_dir', '/opt/cni/bin') }} \
-{%- endif %}
--hostname-override={{ master.host.name }} \
--v={{ master.get('verbosity', 2) }} \
--node-labels=node-role.kubernetes.io/master=true \
{%- if common.hyperkube.pause_image is defined %}
--pod-infra-container-image={{ common.hyperkube.pause_image }} \
{%- endif %}
+{%- if add_networking_plugin_conf %}
+--network-plugin=cni \
+--cni-bin-dir={{ master.apiserver.get('cni_bin_dir', '/opt/cni/bin') }} \
+{%- endif %}
{%- if salt['pkg.version_cmp'](version,'1.8') >= 0 %}
--fail-swap-on={{ master.kubelet.fail_on_swap }} \
{%- if common.addons.get('virtlet', {}).get('enabled') %}