From: Cristina Pauna Date: Wed, 27 Mar 2019 08:55:10 +0000 (+0000) Subject: Merge "[scripts] Cleanup intermediate files" X-Git-Tag: 1.0.0~32 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=83f75f426b1aeffb9d835845921b1b8740cdc80c;hp=6eb4ba7dc9504aea08754e279a5cf1ec897db88a;p=iec.git Merge "[scripts] Cleanup intermediate files" --- diff --git a/src/foundation/scripts/helm.sh b/src/foundation/scripts/helm.sh index 3f575d2..ccd32ae 100755 --- a/src/foundation/scripts/helm.sh +++ b/src/foundation/scripts/helm.sh @@ -42,3 +42,4 @@ EOF kubectl create -f "${TILLER_SA_RBAC}" helm init --service-account tiller --tiller-image="jessestuart/tiller:${VERSION}" fi +rm -f "${TILLER_SA_RBAC}" diff --git a/src/foundation/scripts/nginx.sh b/src/foundation/scripts/nginx.sh index 40a9377..307371b 100755 --- a/src/foundation/scripts/nginx.sh +++ b/src/foundation/scripts/nginx.sh @@ -57,8 +57,9 @@ done svcip=$(kubectl get services nginx -o json | grep clusterIP | cut -f4 -d'"') sleep 10 -wget "http://$svcip" +wget -O /dev/null "http://$svcip" kubectl delete -f "${NGINX_APP}" +rm -f "${NGINX_APP}" kubectl get rc kubectl get pods kubectl get services