Skip to content

Commit

Permalink
work around kubectl multiforward relative config path usage
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 1, 2023
1 parent 28a1852 commit 7cd96a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smoketest/k8s/smoketest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ while [ "$#" -ne 0 ]; do
;;
forward)
sh -c '(sleep 1 ; xdg-open http://localhost:9001 ; xdg-open http://localhost:8181 ; xdg-open http://localhost:8989)&'
if ! kubectl multiforward smoketest; then
if ! ( pushd "${DIR}" ; sc=$(kubectl multiforward smoketest) ; popd ; exit "${sc}" ); then
echo "Run the following to expose the applications:"
echo "kubectl port-forward svc/cryostat 8181"
echo "kubectl port-forward svc/s3 9001"
Expand Down

0 comments on commit 7cd96a6

Please sign in to comment.