Merge "Fix: Avoid etcd bootstrap race"

This commit is contained in:
Zuul 2018-09-10 21:36:17 +00:00 committed by Gerrit Code Review
commit 28c112c077
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ while true; do
ETCD_INITIAL_CLUSTER=${ETCD_NAME}=https://\$\(POD_IP\):{{ .Values.network.service_peer.target_port }}
ETCD_INITIAL_CLUSTER_STATE=new
create_manifest "$ETCD_INITIAL_CLUSTER" "$ETCD_INITIAL_CLUSTER_STATE" "$MANIFEST_PATH"
sleep {{ .Values.anchor.period }}
continue
fi
{{- end }}