Skip to content

Commit

Permalink
Cleaned up optional cert check
Browse files Browse the repository at this point in the history
  • Loading branch information
cab105 committed Nov 7, 2015
1 parent f156156 commit 06efaec
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kubelet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@

run_start() {
echo "Starting kubelet..."
if [ -f $KUBE_CERT ] && [ -f $KUBE_KEY ]; then
/usr/local/bin/kubelet --api-servers=http://127.0.0.1:8080 --allow-privileged=true --config=/etc/kubernetes/manifests --kubeconfig=/etc/kubernetes/kubelet.kubeconfig --v=2 > /var/log/kubelet.log 2>&1 &
else
/usr/local/bin/kubelet --api-servers=http://127.0.0.1:8080 --allow-privileged=true --config=/etc/kubernetes/manifests --v=2 > /var/log/kubelet.log 2>&1 &
fi

}

run_stop() {
Expand Down

0 comments on commit 06efaec

Please sign in to comment.