void-packages/srcpkgs/kubernetes/files/kube-controller-manager/run

9 lines
299 B
Bash

#!/bin/sh
[ -r /etc/kubernetes/config ] && . /etc/kubernetes/config
[ -r /etc/kubernetes/controller-manager ] && . /etc/kubernetes/controller-manager
exec chpst -u kube:kube kube-controller-manager \
$KUBE_LOGTOSTDERR \
$KUBE_LOG_LEVEL \
$KUBE_MASTER \
$KUBE_CONTROLLER_MANAGER_ARGS 2>/dev/null