Use redirected instead of enabled in the HTTP redirection example (#4510)

In [HTTPS redirection](https://knative.dev/docs/serving/services/http-option/)
doc, the example uses `enabled` but it is a default value and it does
not change anything.

The section is talking about `HTTPS redirection` so we should use
`redirected` for the example.
This commit is contained in:
Kenjiro Nakayama 2021-11-19 22:25:23 +09:00 committed by GitHub
parent 83b7d8049c
commit 7ec722d9fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ You can override the default behavior for each Service or global configuration.
name: example
namespace: default
annotations:
networking.knative.dev/httpOption: "enabled"
networking.knative.dev/httpOption: "redirected"
spec:
...
```
@ -36,7 +36,7 @@ You can override the default behavior for each Service or global configuration.
name: config-network
namespace: knative-serving
data:
http-protocol: "enabled"
http-protocol: "redirected"
```
=== "Global (Operator)"
@ -48,5 +48,5 @@ You can override the default behavior for each Service or global configuration.
spec:
config:
network:
httpProtocol: "enabled"
httpProtocol: "redirected"
```