From 576beaa6a6e46c0697b707c46d0866ccc8f1762f Mon Sep 17 00:00:00 2001
From: Oliver Moser <olmoser@users.noreply.github.com>
Date: Wed, 30 Aug 2017 15:50:33 +0200
Subject: [PATCH] Include /opt/bin in PATH for host deployed kubelet on CoreOS
 (#1591)

* Include /opt/bin in PATH for host deployed kubelet on CoreOS

* Removing conditional check for CoreOS
---
 roles/kubernetes/node/templates/kubelet.j2 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/roles/kubernetes/node/templates/kubelet.j2 b/roles/kubernetes/node/templates/kubelet.j2
index 14d7e0ddd..3240b5611 100644
--- a/roles/kubernetes/node/templates/kubelet.j2
+++ b/roles/kubernetes/node/templates/kubelet.j2
@@ -72,3 +72,5 @@ KUBELET_CLOUDPROVIDER="--cloud-provider={{ cloud_provider }}"
 {% else %}
 KUBELET_CLOUDPROVIDER=""
 {% endif %}
+
+PATH={{ bin_dir }}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
-- 
GitLab