From 233dad36a977d162e4c766c33b336c340bb4cdee Mon Sep 17 00:00:00 2001 From: Knative Prow Robot Date: Fri, 19 Nov 2021 05:35:23 -0800 Subject: [PATCH] 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 --- docs/serving/services/http-option.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/serving/services/http-option.md b/docs/serving/services/http-option.md index 64a850245..119d2e165 100644 --- a/docs/serving/services/http-option.md +++ b/docs/serving/services/http-option.md @@ -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" ```