Skip to content

Commit 3231239

Browse files
authored
fix port-forward (#773)
1 parent d5deb8a commit 3231239

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/modules/opa/examples/getting_started/getting_started.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ sleep 21
5858

5959
echo "Starting port-forwarding of port 8081"
6060
# tag::port-forwarding[]
61-
kubectl port-forward svc/simple-opa 8081 > /dev/null 2>&1 &
61+
kubectl port-forward svc/simple-opa-server 8081 > /dev/null 2>&1 &
6262
# end::port-forwarding[]
6363
PORT_FORWARD_PID=$!
6464
# shellcheck disable=SC2064

docs/modules/opa/examples/getting_started/getting_started.sh.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ sleep 21
5858

5959
echo "Starting port-forwarding of port 8081"
6060
# tag::port-forwarding[]
61-
kubectl port-forward svc/simple-opa 8081 > /dev/null 2>&1 &
61+
kubectl port-forward svc/simple-opa-server 8081 > /dev/null 2>&1 &
6262
# end::port-forwarding[]
6363
PORT_FORWARD_PID=$!
6464
# shellcheck disable=SC2064

0 commit comments

Comments
 (0)