Fix etcd hostnames

This commit is contained in:
Wojciech Tyczynski
2017-10-20 16:39:16 +02:00
parent 1e67feac75
commit 2fbe39fc8f
4 changed files with 8 additions and 3 deletions

View File

@@ -842,6 +842,11 @@ EOF
if [ -n "${ETCD_VERSION:-}" ]; then
cat >>$file <<EOF
ETCD_VERSION: $(yaml-quote ${ETCD_VERSION})
EOF
fi
if [ -n "${ETCD_HOSTNAME:-}" ]; then
cat >>$file <<EOF
ETCD_HOSTNAME: $(yaml-quote ${ETCD_HOSTNAME})
EOF
fi
if [ -n "${APISERVER_TEST_ARGS:-}" ]; then