1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

Merge pull request #33831 from openshift-cherrypick-robot/cherry-pick-33711-to-enterprise-4.8

[enterprise-4.8] BZ1878685: Updates to Creating a route via Ingress for passthrough routes
This commit is contained in:
Vikram Goyal
2021-06-24 01:34:01 +10:00
committed by GitHub

View File

@@ -41,6 +41,22 @@ spec:
as `Ingress` has no field for this. The accepted values are `edge`, `passthrough` and `reencrypt`. All
other values are silently ignored. When unset, `edge` is used.
.. If you specify the `passthrough` value in the `route.openshift.io/termination` annotation, set `path` to `''` and `pathType` to `ImplementationSpecific` in the spec:
+
[source,yaml]
----
spec:
rules:
- host: www.example.com
http:
paths:
- path: ''
pathType: ImplementationSpecific
- backend:
serviceName: frontend
servicePort: 443
----
+
[source,terminal]
----