CONF_DIR='/etc/kubernetes'
PKI_DIR="$CONF_DIR/pki"

# IP adress the service should bind to.
LISTEN_ADDRESS='127.0.0.1'

# Endpoint information and credentials for connecting to the API server.
SERVICE_KUBECONFIG="$CONF_DIR/kubeconfig/controller-manager.conf"

DAEMON_ARGS="
--bind-address=$LISTEN_ADDRESS
--root-ca-file=$PKI_DIR/ca.crt
--leader-elect=true
--use-service-account-credentials=true
--controllers=*,bootstrapsigner,tokencleaner
--service-account-private-key-file=$PKI_DIR/sa.key
--cluster-signing-cert-file=$PKI_DIR/ca.crt
--cluster-signing-key-file=$PKI_DIR/ca.key
--allocate-node-cidrs=false
--kubeconfig=$SERVICE_KUBECONFIG
"
