void-packages/srcpkgs/kubernetes/files/kube-proxy/run

10 lines
238 B
Bash

#!/bin/sh
exec 2>&1
[ -r /etc/kubernetes/config ] && . /etc/kubernetes/config
[ -r /etc/kubernetes/proxy ] && . /etc/kubernetes/proxy
exec kube-proxy \
$KUBE_LOGTOSTDERR \
$KUBE_LOG_LEVEL \
$KUBE_MASTER \
$KUBE_PROXY_ARGS 2>/dev/null