Skip to content

Commit

Permalink
Walkthrough text updates and quickstart.sh missing space fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trepel committed Feb 1, 2024
1 parent e76cd28 commit fdd5a16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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
2 changes: 1 addition & 1 deletion hack/quickstart-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ -z $MGC_REF ]; then
MGC_REF=${MGC_REF:="main"}
fi

if [ -z $ISTIO_INSTALL_SAIL]; then
if [ -z $ISTIO_INSTALL_SAIL ]; then
ISTIO_INSTALL_SAIL=${ISTIO_INSTALL_SAIL:=false}
fi

Expand Down

0 comments on commit fdd5a16

Please sign in to comment.