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