X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fconsul%2Fresources%2Fconfig%2Fconsul-agent-config%2Fscripts%2Fsdc-fe-script.sh;fp=kubernetes%2Fconfig%2Fdocker%2Finit%2Fsrc%2Fconfig%2Fconsul%2Fconsul-agent-config%2Fscripts%2Fsdc-fe-script.sh;h=27f3b224c6a930b9b61019a7d134e2aa704be707;hb=85d9d73270f01d0770c29e8516dd0154669e9cf5;hp=9799c312019b74fecbe53c0b21cb0a8fda4d2f1d;hpb=0947cdf7e780641e1604ef3752483fa4d29efb3e;p=oom.git diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/sdc-fe-script.sh b/kubernetes/consul/resources/config/consul-agent-config/scripts/sdc-fe-script.sh similarity index 87% rename from kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/sdc-fe-script.sh rename to kubernetes/consul/resources/config/consul-agent-config/scripts/sdc-fe-script.sh index 9799c31201..27f3b224c6 100755 --- a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/sdc-fe-script.sh +++ b/kubernetes/consul/resources/config/consul-agent-config/scripts/sdc-fe-script.sh @@ -1,5 +1,5 @@ ## Query the health check API. -HEALTH_CHECK_ENDPOINT="http://sdc-fe.namespace-placeholder:8181/sdc1/rest/healthCheck" +HEALTH_CHECK_ENDPOINT="http://sdc-fe.{{ .Values.nsPrefix }}:8181/sdc1/rest/healthCheck" HEALTH_CHECK_RESPONSE=$(curl -s $HEALTH_CHECK_ENDPOINT) ## Strip out the ON_BOARDING section from the response XML (otherwise we will