From c0346b301f59d0b6e17570444892c46769524644 Mon Sep 17 00:00:00 2001 From: Andrew Kenworthy Date: Wed, 29 Oct 2025 12:55:50 +0100 Subject: [PATCH] fix port-forward --- docs/modules/opa/examples/getting_started/getting_started.sh | 2 +- docs/modules/opa/examples/getting_started/getting_started.sh.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/opa/examples/getting_started/getting_started.sh b/docs/modules/opa/examples/getting_started/getting_started.sh index 92f32afa..62cdf1b6 100755 --- a/docs/modules/opa/examples/getting_started/getting_started.sh +++ b/docs/modules/opa/examples/getting_started/getting_started.sh @@ -58,7 +58,7 @@ sleep 21 echo "Starting port-forwarding of port 8081" # tag::port-forwarding[] -kubectl port-forward svc/simple-opa 8081 > /dev/null 2>&1 & +kubectl port-forward svc/simple-opa-server 8081 > /dev/null 2>&1 & # end::port-forwarding[] PORT_FORWARD_PID=$! # shellcheck disable=SC2064 diff --git a/docs/modules/opa/examples/getting_started/getting_started.sh.j2 b/docs/modules/opa/examples/getting_started/getting_started.sh.j2 index 8aff49c3..9045bfc7 100755 --- a/docs/modules/opa/examples/getting_started/getting_started.sh.j2 +++ b/docs/modules/opa/examples/getting_started/getting_started.sh.j2 @@ -58,7 +58,7 @@ sleep 21 echo "Starting port-forwarding of port 8081" # tag::port-forwarding[] -kubectl port-forward svc/simple-opa 8081 > /dev/null 2>&1 & +kubectl port-forward svc/simple-opa-server 8081 > /dev/null 2>&1 & # end::port-forwarding[] PORT_FORWARD_PID=$! # shellcheck disable=SC2064