1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/serverless-https-redirect-service.adoc
2023-10-30 10:13:25 -04:00

24 lines
635 B
Plaintext

// Module is included in the following assemblies:
//
// * serverless/knative-serving/external-ingress-routing/https-redirect-per-service.adoc
:_mod-docs-content-type: REFERENCE
[id="serverless-https-redirect-service_{context}"]
= Redirecting HTTPS for a service
// need better details from eng team about use case to update this topic
The following example shows how you can use this annotation in a Knative `Service` YAML object:
[source,yaml]
----
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: example
namespace: default
annotations:
networking.knative.dev/http-option: "redirected"
spec:
...
----