Fix setting of env variables in VPA e2e scripts

This commit is contained in:
Slawomir Chylek 2018-02-19 11:48:20 +01:00
parent 6924b8f8a2
commit c39a1f707f
1 changed files with 3 additions and 3 deletions

View File

@ -55,6 +55,9 @@ case ${SUITE} in
;;
esac
export REGISTRY=gcr.io/`gcloud config get-value core/project`
export TAG=latest
for i in ${COMPONENTS}; do
make --directory ${SCRIPT_ROOT}/${i} release
done
@ -62,9 +65,6 @@ done
kubectl create -f ${SCRIPT_ROOT}/api/vpa-crd.yaml
kubectl create -f ${SCRIPT_ROOT}/deploy/vpa-rbac.yaml
export REGISTRY=gcr.io/`gcloud config get-value core/project`
export TAG=latest
for i in ${COMPONENTS}; do
${SCRIPT_ROOT}/hack/vpa-process-yaml.sh ${SCRIPT_ROOT}/deploy/${i}-deployment.yaml | kubectl create -f -
done