From 34f65d52effdf97819ee3201920d0b6b53d87c2f Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Wed, 25 Apr 2018 09:57:34 -0700 Subject: Add default integration-override.yaml Add a default integration-override.yaml for generic labs not yet in source control. Change-Id: I24aaf1bc5924ce39e6477124e2ee36b64a9e66c5 Issue-ID: INT-381 Signed-off-by: Gary Wu --- deployment/heat/onap-oom/k8s_vm_entrypoint.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'deployment/heat/onap-oom/k8s_vm_entrypoint.sh') diff --git a/deployment/heat/onap-oom/k8s_vm_entrypoint.sh b/deployment/heat/onap-oom/k8s_vm_entrypoint.sh index f4c6eb6a5..7e8ca46fe 100644 --- a/deployment/heat/onap-oom/k8s_vm_entrypoint.sh +++ b/deployment/heat/onap-oom/k8s_vm_entrypoint.sh @@ -145,6 +145,7 @@ git log -1 cd ~ ln -s ~/integration/deployment/heat/onap-oom/env/__lab_name__/integration-override.yaml +sed -i 's/nexus3.onap.org:10001/__docker_proxy__/g' integration-override.yaml # version control the persistence volume to see what's happening @@ -168,7 +169,12 @@ helm repo add local http://127.0.0.1:8879 helm repo list make all helm search -l | grep local -helm install local/onap -n dev --namespace onap -f ~/integration/deployment/heat/onap-oom/env/__lab_name__/integration-override.yaml +if [ -e ~/integration-override.yaml ]; then + helm install local/onap -n dev --namespace onap -f ~/integration-override.yaml +else + helm install local/onap -n dev --namespace onap +fi + # Check ONAP status: sleep 3 -- cgit 1.2.3-korg