Skip to content

Commit

Permalink
Replace KUBE_REPO_ROOT with KUBE_ROOT to be consistent with usage els…
Browse files Browse the repository at this point in the history
…ewhere in the repository.
  • Loading branch information
roberthbailey committed Feb 18, 2015
1 parent 6af6de3 commit 9d83973
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/update-demo/1-run-web-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ echo " http://localhost:8001/static/"
echo

export KUBE_ROOT=$(dirname $0)/../..
export KUBECTL=${KUBE_REPO_ROOT}/cluster/kubectl.sh
export KUBECTL=${KUBE_ROOT}/cluster/kubectl.sh

set -x

Expand Down
6 changes: 3 additions & 3 deletions examples/update-demo/2-create-replication-controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ if [[ "${DOCKER_HUB_USER+set}" != "set" ]] ; then
exit 1
fi

export KUBE_REPO_ROOT=${KUBE_REPO_ROOT-$(dirname $0)/../..}
export KUBECTL=${KUBE_REPO_ROOT}/cluster/kubectl.sh
export KUBE_ROOT=${KUBE_ROOT-$(dirname $0)/../..}
export KUBECTL=${KUBE_ROOT}/cluster/kubectl.sh

set -x

SCHEMA=${KUBE_REPO_ROOT}/examples/update-demo/nautilus-rc.yaml
SCHEMA=${KUBE_ROOT}/examples/update-demo/nautilus-rc.yaml

cat ${SCHEMA} | sed "s/DOCKER_HUB_USER/${DOCKER_HUB_USER}/" | ${KUBECTL} create -f -
4 changes: 2 additions & 2 deletions examples/update-demo/3-scale.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ set -o pipefail

NEW_SIZE=${1:-4}

export KUBE_REPO_ROOT=${KUBE_REPO_ROOT-$(dirname $0)/../..}
export KUBECTL=${KUBECTL-$KUBE_REPO_ROOT/cluster/kubectl.sh}
export KUBE_ROOT=${KUBE_ROOT-$(dirname $0)/../..}
export KUBECTL=${KUBECTL-$KUBE_ROOT/cluster/kubectl.sh}

set -x

Expand Down

0 comments on commit 9d83973

Please sign in to comment.