Skip to content

Commit

Permalink
fix m2k e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-farache committed Nov 5, 2024
1 parent 411ded2 commit ab48bd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/move2kube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -e

# holds the pid of the port forward process for cleanups
export port_forward_pid=""
export M2K_INSTANCE_NS=move2kube

function cleanup() {
echo "cleanup $?"
Expand All @@ -26,7 +27,7 @@ sleep 3
echo "Proxy Janus-idp port ✅"

echo "Proxy move2kube instance port ⏳"
kubectl port-forward svc/move2kube-instance-svc 8080:8080 &
kubectl -n "${M2K_INSTANCE_NS}"port-forward svc/move2kube-instance-svc 8080:8080 &
move2kube_port_forward_pid="$!"
sleep 3
echo "Proxy move2kube instance port ✅"
Expand Down

0 comments on commit ab48bd2

Please sign in to comment.