Merge pull request #35503 from wojtek-t/fix_migration

Automatic merge from submit-queue

Fix migration script to make it sh-friendly

Ref #22448

There is no bash in etcd image, so the script needs to be "sh-friendly".

Also, few fixes to the script.
This commit is contained in:
Kubernetes Submit Queue
2016-10-27 02:59:37 -07:00
committed by GitHub
2 changed files with 24 additions and 12 deletions

View File

@@ -160,7 +160,7 @@ killApiServer
kube::etcd::stop
TARGET_STORAGE="etcd3" \
TARGET_VERSION="3.0.10" \
TARGET_VERSION="3.0.12" \
DATA_DIRECTORY="${ETCD_DIR}" \
ETCD=$(which etcd) \
ETCDCTL=$(which etcdctl) \