Skip to content

Commit

Permalink
Walkthrough text updates and quickstart.sh missing space fix (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
trepel committed Feb 5, 2024
1 parent 45b81bb commit 133645e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/user-guides/secure-protect-connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Here are the steps we will go through:

8) [Override the Gateway rate limits with an endpoint-specific policy](#-override-the-gateways-ratelimitpolicy)

To help with this walk through, you should set a `KUADRANT_ZONE_ROOT_DOMAIN` environment variable to a domain you want to use. If it you want to try DNSPolicy, this should also be a domain you have access to the DNS for in AWS Route53 or GCP. E.g.:
To help with this walk through, you should set a `KUADRANT_ZONE_ROOT_DOMAIN` environment variable to a domain you want to use. If you want to try DNSPolicy, this should also be a domain you have access to the DNS for in AWS Route53 or GCP. E.g.:

```sh
export KUADRANT_ZONE_ROOT_DOMAIN=my.domain.iown
Expand Down Expand Up @@ -189,7 +189,7 @@ The limit here is artificially low in order for us to show it working easily. Le
for i in {1..10}; do curl -k --resolve api.${KUADRANT_ZONE_ROOT_DOMAIN}:443:${INGRESS_HOST} "https://api.$KUADRANT_ZONE_ROOT_DOMAIN/cars" && sleep 1; done
```

We should see `409`s start returning after the 5th request.
We should see `409 Too Many Requests`s start returning after the 5th request.

### ❺ Define the Gateway AuthPolicy

Expand Down Expand Up @@ -226,7 +226,7 @@ spec:
EOF
```

Let's test it again. This time we expect a `403`.
Let's test it again. This time we expect a `403 Forbidden`.

```sh
curl -k --resolve api.${KUADRANT_ZONE_ROOT_DOMAIN}:443:${INGRESS_HOST} "https://api.$KUADRANT_ZONE_ROOT_DOMAIN/cars"
Expand Down

0 comments on commit 133645e

Please sign in to comment.