Skip to content

Commit

Permalink
(chore) Add namespace to port-forward command (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzwei authored Oct 10, 2023
1 parent bcceb14 commit 632e100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/eda_kube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ port-forward() {
local _local_port=${2}
local _svc_port=${3}

log-info "kubectl port-forward svc/${_svc_name} ${_local_port}:${_svc_port}"
kubectl port-forward "svc/${_svc_name}" "${_local_port}":"${_svc_port}"
log-info "kubectl port-forward svc/${_svc_name} ${_local_port}:${_svc_port} -n ${NAMESPACE}"
kubectl port-forward "svc/${_svc_name}" "${_local_port}":"${_svc_port}" -n "${NAMESPACE}"
}

port-forward-ui() {
Expand Down

0 comments on commit 632e100

Please sign in to comment.