Fixing references to federated-context and federation-e2e

This commit is contained in:
nikhiljindal
2016-06-13 11:20:55 -07:00
parent 18425172e5
commit 9b2b763ab0
7 changed files with 16 additions and 9 deletions

View File

@@ -22,8 +22,11 @@ KUBE_ROOT=$(readlink -m $(dirname "${BASH_SOURCE}")/../../)
. ${KUBE_ROOT}/federation/cluster/common.sh
if [[ -f "${KUBE_ROOT}/federation/manifests/federated-image.tag" ]]; then
export FEDERATION_IMAGE_TAG="$(cat "${KUBE_ROOT}/federation/manifests/federated-image.tag")"
tagfile="${KUBE_ROOT}/federation/manifests/federated-image.tag"
if [[ ! -f "$tagfile" ]]; then
echo "FATAL: tagfile ${tagfile} does not exist. Make sure that you have run build/push-federation-images.sh"
exit 1
fi
export FEDERATION_IMAGE_TAG="$(cat "${KUBE_ROOT}/federation/manifests/federated-image.tag")"
create-federation-api-objects