Skip to content

Commit

Permalink
Merge branch 'leader-election' of https://github.com/alexwo/gateway i…
Browse files Browse the repository at this point in the history
…nto leader-election

Signed-off-by: Alexander Volchok <alex.volchok@sap.com>
  • Loading branch information
alexwo committed Apr 4, 2024
2 parents ddf4548 + 5a85f43 commit 7c1816c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/content/en/latest/user/traffic/http-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Get another JWT used for testing request authentication:
TOKEN=$(curl https://raw.githubusercontent.com/envoyproxy/gateway/main/examples/kubernetes/jwt/with-different-claim.jwt -s) && echo "$TOKEN" | cut -d '.' -f2 - | base64 --decode -
```

Test HTTP routing to the `bar-svc` backenbackend by specifying a JWT Token with a claim `name: Tom`.
Test HTTP routing to the `bar-svc` backend by specifying a JWT Token with a claim `name: Tom`.

```shell
curl -sS -H "Authorization: Bearer $TOKEN" "http://${GATEWAY_HOST}/" | jq .pod
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/v1.0.0/user/traffic/http-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Get another JWT used for testing request authentication:
TOKEN=$(curl https://raw.githubusercontent.com/envoyproxy/gateway/main/examples/kubernetes/jwt/with-different-claim.jwt -s) && echo "$TOKEN" | cut -d '.' -f2 - | base64 --decode -
```

Test HTTP routing to the `bar-svc` backenbackend by specifying a JWT Token with a claim `name: Tom`.
Test HTTP routing to the `bar-svc` backend by specifying a JWT Token with a claim `name: Tom`.

```shell
curl -sS -H "Authorization: Bearer $TOKEN" "http://${GATEWAY_HOST}/" | jq .pod
Expand Down

0 comments on commit 7c1816c

Please sign in to comment.