Use results of kube-controller-manager leader election in addon manager

This commit is contained in:
Daniel Kłobuszewski
2017-11-10 09:10:53 +01:00
parent 0d088609b3
commit 5e4692f784
3 changed files with 36 additions and 3 deletions

View File

@@ -877,6 +877,11 @@ EOF
if [ -n "${CLUSTER_SIGNING_DURATION:-}" ]; then
cat >>$file <<EOF
CLUSTER_SIGNING_DURATION: $(yaml-quote ${CLUSTER_SIGNING_DURATION})
EOF
fi
if [ -n "${ADDON_MANAGER_LEADER_ELECTION:-}" ]; then
cat >>$file <<EOF
ADDON_MANAGER_LEADER_ELECTION: $(yaml-quote ${ADDON_MANAGER_LEADER_ELECTION})
EOF
fi