Skip to content
Snippets Groups Projects
Commit 430f3c11 authored by Madalyn Marabella's avatar Madalyn Marabella
Browse files

yaml reformat

parent 7cff1fc9
No related branches found
No related tags found
1 merge request!536M18 service and CICD updates
Pipeline #183779 failed
......@@ -14,18 +14,18 @@ aws-update-tf:
- localPort=$ELASTIC_PORT
- |
while netstat -an | grep $localPort | grep -i listen ; do
echo "$localPort Port in use"
((localPort++))
echo "$localPort Port in use"
((localPort++))
done
- echo "Using local port: $localPort"
- echo $localPort
- kubectl port-forward -n $TENANT_GROUP_NAME-tenant-$EKS_TENANT_NAME-elasticsearch svc/elasticsearch-es-http $localPort:$ELASTIC_PORT
- export ELASTIC_PORT=$localPort
- pid=$!
- |
trap '{
echo killing "Port forward process: "$pid
kill $pid
rm $KUBECONFIG
echo killing "Port forward process: "$pid
kill $pid
rm $KUBECONFIG
}' EXIT
- chmod 600 $KUBECONFIG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment