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

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.

Co-authored-by: Kenjiro Nakayama <nakayamakenjiro@gmail.com>
This commit is contained in:
Knative Prow Robot 2021-11-19 05:35:23 -08:00 committed by GitHub
parent 4be588b052
commit 233dad36a9
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"
```