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

9 lines
228 B
Bash

#!/bin/sh
[ -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