diff --git a/roles/kubernetes/master/templates/systemd-init/kube-proxy.service.j2 b/roles/kubernetes/master/templates/systemd-init/kube-proxy.service.j2 index cc3fdc77c..b1170c5d8 100644 --- a/roles/kubernetes/master/templates/systemd-init/kube-proxy.service.j2 +++ b/roles/kubernetes/master/templates/systemd-init/kube-proxy.service.j2 @@ -8,6 +8,7 @@ After=docker.service {% endif %} [Service] +EnvironmentFile=/etc/kubernetes/config EnvironmentFile=/etc/network-environment ExecStart={{ bin_dir }}/kube-proxy \ $KUBE_LOGTOSTDERR \ diff --git a/roles/kubernetes/node/templates/systemd-init/kube-proxy.service.j2 b/roles/kubernetes/node/templates/systemd-init/kube-proxy.service.j2 index cc3fdc77c..b1170c5d8 100644 --- a/roles/kubernetes/node/templates/systemd-init/kube-proxy.service.j2 +++ b/roles/kubernetes/node/templates/systemd-init/kube-proxy.service.j2 @@ -8,6 +8,7 @@ After=docker.service {% endif %} [Service] +EnvironmentFile=/etc/kubernetes/config EnvironmentFile=/etc/network-environment ExecStart={{ bin_dir }}/kube-proxy \ $KUBE_LOGTOSTDERR \