You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some ecosystem components have an integration with Ingress resources but not with
10
-
route resources. To cover this case, {product-title} automatically creates
11
-
managed route objects when an Ingress object is created. These route objects are deleted
12
-
when the corresponding Ingress objects are deleted.
9
+
Some ecosystem components have an integration with `Ingress` resources but not with `Route` resources. To cover this case, {product-title} automatically creates managed route objects when an Ingress object is created. These route objects are deleted when the corresponding `Ingress` objects are deleted.
13
10
14
11
.Procedure
15
12
@@ -26,7 +23,7 @@ metadata:
26
23
route.openshift.io/termination: "reencrypt" <1>
27
24
spec:
28
25
rules:
29
-
- host: www.example.com
26
+
- host: www.example.com <2>
30
27
http:
31
28
paths:
32
29
- backend:
@@ -42,9 +39,9 @@ spec:
42
39
secretName: example-com-tls-certificate
43
40
----
44
41
+
45
-
<1> The `route.openshift.io/termination` annotation can be used to configure the `spec.tls.termination` field of the `Route`
46
-
as `Ingress`has no field for this. The accepted values are `edge`, `passthrough` and `reencrypt`. All
47
-
other values are silently ignored. When the annotation value is unset, `edge` is the default route. The TLS certificate details must be defined in the template file to implement the default edge route.
42
+
<1> The `route.openshift.io/termination` annotation can be used to configure the `spec.tls.termination` field of the `Route` as `Ingress` has no field for this. The accepted values are `edge`, `passthrough` and `reencrypt`. All other values are silently ignored. When the annotation value is unset, `edge` is the default route. The TLS certificate details must be defined in the template file to implement the default edge route and to prevent producing an insecure route.
43
+
<2> When working with an `Ingress`object, you must specify an explicit host name, unlike when working with routes. You can use the `<host_name>.<cluster_ingress_domain>` syntax, for example `apps.openshiftdemos.com`, to take advantage of the `*.<cluster_ingress_domain>` wildcard DNS record and serving certificate for the cluster. Otherwise, you must ensure that there is a DNS record for the chosen hostname.
44
+
48
45
49
46
.. If you specify the `passthrough` value in the `route.openshift.io/termination` annotation, set `path` to `''` and `pathType` to `ImplementationSpecific` in the spec:
0 commit comments