From 9035144e971468a3d2d9ad222157bdb9709f2f8e Mon Sep 17 00:00:00 2001 From: rink1969 Date: Tue, 4 Jun 2024 17:24:24 +0800 Subject: [PATCH] use env NAMESPACE in port_forward.sh --- port_forward.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port_forward.sh b/port_forward.sh index cf7605e..21a7ccb 100644 --- a/port_forward.sh +++ b/port_forward.sh @@ -18,6 +18,6 @@ while : do -kubectl port-forward -n cita pod/$CHAIN_NAME-node0-0 50004 50002 +kubectl port-forward -n $NAMESPACE pod/$CHAIN_NAME-node0-0 50004 50002 done