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

10 lines
309 B
Bash

#!/bin/sh
exec 2>&1
[ -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