Skip to content

Commit

Permalink
docs: urls with interpolated json paths within authconfig resources w…
Browse files Browse the repository at this point in the history
…rapped within quotes to avoid auto-escaping when pasting in a few terminals
  • Loading branch information
guicassolato committed Sep 13, 2023
1 parent 4343ef8 commit 90ce6fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/user-guides/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ spec:
metadata:
"cached-metadata":
http:
url: http://talker-api.default.svc.cluster.local:3000/metadata/{context.request.http.path}
url: "http://talker-api.default.svc.cluster.local:3000/metadata/{context.request.http.path}"
cache:
key:
selector: context.request.http.path
Expand Down
4 changes: 2 additions & 2 deletions docs/user-guides/deny-with-redirect-to-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ spec:
code: 302
headers:
"Location":
selector: http://matrix-quotes-authorino.127.0.0.1.nip.io:8000/login.html?redirect_to={context.request.http.path}
selector: "http://matrix-quotes-authorino.127.0.0.1.nip.io:8000/login.html?redirect_to={context.request.http.path}"
EOF
```

Expand Down Expand Up @@ -216,7 +216,7 @@ spec:
code: 302
headers:
"Location":
selector: http://keycloak:8080/auth/realms/kuadrant/protocol/openid-connect/auth?client_id=matrix-quotes&redirect_uri=http://matrix-quotes-authorino.127.0.0.1.nip.io:8000/auth?redirect_to={context.request.http.path}&scope=openid&response_type=code
selector: "http://keycloak:8080/auth/realms/kuadrant/protocol/openid-connect/auth?client_id=matrix-quotes&redirect_uri=http://matrix-quotes-authorino.127.0.0.1.nip.io:8000/auth?redirect_to={context.request.http.path}&scope=openid&response_type=code"
EOF
```

Expand Down
2 changes: 1 addition & 1 deletion docs/user-guides/envoy-jwt-authn-and-authorino.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ spec:
metadata:
"geoinfo":
http:
url: http://ip-location.default.svc.cluster.local:3000/{context.request.http.headers.x-forwarded-for.@extract:{"sep":","}}
url: 'http://ip-location.default.svc.cluster.local:3000/{context.request.http.headers.x-forwarded-for.@extract:{"sep":","}}'
headers:
"Accept":
value: application/json
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guides/external-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ spec:
metadata:
"geo":
http:
url: http://ip-api.com/json/{context.request.http.headers.x-forwarded-for.@extract:{"sep":","}}?fields=countryCode
url: 'http://ip-api.com/json/{context.request.http.headers.x-forwarded-for.@extract:{"sep":","}}?fields=countryCode'
headers:
"Accept":
value: application/json
Expand Down

0 comments on commit 90ce6fe

Please sign in to comment.