mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
Expose etcd version.
This commit is contained in:
@@ -702,6 +702,15 @@ NUM_NODES: $(yaml-quote ${NUM_NODES})
|
||||
STORAGE_BACKEND: $(yaml-quote ${STORAGE_BACKEND:-})
|
||||
ENABLE_GARBAGE_COLLECTOR: $(yaml-quote ${ENABLE_GARBAGE_COLLECTOR:-})
|
||||
EOF
|
||||
# ETCD_IMAGE (if set) allows to use a custom etcd image.
|
||||
if [ -n "${ETCD_IMAGE:-}" ]; then
|
||||
cat >>$file <<EOF
|
||||
ETCD_IMAGE: $(yaml-quote ${ETCD_IMAGE})
|
||||
EOF
|
||||
fi
|
||||
# ETCD_VERSION (if set) allows you to use custom version of etcd.
|
||||
# The main purpose of using it may be rollback of etcd v3 API,
|
||||
# where we need 3.0.* image, but are rolling back to 2.3.7.
|
||||
if [ -n "${ETCD_VERSION:-}" ]; then
|
||||
cat >>$file <<EOF
|
||||
ETCD_VERSION: $(yaml-quote ${ETCD_VERSION})
|
||||
|
Reference in New Issue
Block a user