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

15 lines
393 B
Plaintext
Raw Normal View History

2016-02-29 17:52:57 +01:00
#!/bin/sh
[ -r /etc/kubernetes/config ] && . /etc/kubernetes/config
[ -r /etc/kubernetes/apiserver ] && . /etc/kubernetes/apiserver
exec chpst -u kube:kube kube-apiserver \
$KUBE_LOGTOSTDERR \
$KUBE_LOG_LEVEL \
$KUBE_ETCD_SERVERS \
$KUBE_API_ADDRESS \
$KUBE_API_PORT \
$KUBELET_PORT \
$KUBE_ALLOW_PRIV \
$KUBE_SERVICE_ADDRESSES \
$KUBE_ADMISSION_CONTROL \
$KUBE_API_ARGS 2>/dev/null