From 59e1f977ef536b90bba20c1c6678b6a080119d9a Mon Sep 17 00:00:00 2001 From: David Martin Date: Mon, 20 Jan 2025 13:13:37 +0000 Subject: [PATCH] Fixup guides Signed-off-by: David Martin --- .../auth/auth-for-app-devs-and-platform-engineers.md | 4 ++-- .../ratelimiting/authenticated-rl-for-app-developers.md | 2 +- .../ratelimiting/authenticated-rl-with-jwt-and-k8s-authnz.md | 2 +- doc/user-guides/ratelimiting/multi-auth-rlp-same-section.md | 2 +- doc/user-guides/ratelimiting/simple-rl-for-app-developers.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/user-guides/auth/auth-for-app-devs-and-platform-engineers.md b/doc/user-guides/auth/auth-for-app-devs-and-platform-engineers.md index 49f31bc14..0b902f491 100644 --- a/doc/user-guides/auth/auth-for-app-devs-and-platform-engineers.md +++ b/doc/user-guides/auth/auth-for-app-devs-and-platform-engineers.md @@ -61,7 +61,7 @@ kubectl create ns ${KUADRANT_GATEWAY_NS} Create a gateway using toystore as the listener hostname: -```sh +```bash kubectl apply -f - < **Note**: If the command above fails to hit the Toy Store API on your environment, try forwarding requests to the service and accessing over localhost: > > ```sh -> kubectl port-forward -n ${KUADRANT_GATEWAY_NS} service/-${KUADRANT_GATEWAY_NAME}-istio 9080:80 >/dev/null 2>&1 & +> kubectl port-forward -n ${KUADRANT_GATEWAY_NS} service/${KUADRANT_GATEWAY_NAME}-istio 9080:80 >/dev/null 2>&1 & > export KUADRANT_GATEWAY_URL=localhost:9080 > ``` > diff --git a/doc/user-guides/ratelimiting/simple-rl-for-app-developers.md b/doc/user-guides/ratelimiting/simple-rl-for-app-developers.md index 3a60b67e5..ccf730cbc 100644 --- a/doc/user-guides/ratelimiting/simple-rl-for-app-developers.md +++ b/doc/user-guides/ratelimiting/simple-rl-for-app-developers.md @@ -122,7 +122,7 @@ curl -H 'Host: api.toystore.com' http://$KUADRANT_GATEWAY_URL/toys -i > **Note**: If the command above fails to hit the Toy Store API on your environment, try forwarding requests to the service and accessing over localhost: > > ```sh -> kubectl port-forward -n ${KUADRANT_GATEWAY_NS} service/-${KUADRANT_GATEWAY_NAME}-istio 9080:80 >/dev/null 2>&1 & +> kubectl port-forward -n ${KUADRANT_GATEWAY_NS} service/${KUADRANT_GATEWAY_NAME}-istio 9080:80 >/dev/null 2>&1 & > export KUADRANT_GATEWAY_URL=localhost:9080 > ``` >