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
Copy file name to clipboardExpand all lines: admin_guide/managing_networking.adoc
+23-4
Original file line number
Diff line number
Diff line change
@@ -155,15 +155,26 @@ the same rules apply for claiming a domain for a namespace based on the creation
155
155
time of the object. For example, the oldest route winning against any other
156
156
claimants wanting to use the same namespace.
157
157
158
-
For example, ownership of routes is based on the claims made for that host name with the same namespace. The oldest route wins against any other claims.
158
+
For example, ownership of routes is based on the claims made for that host name
159
+
with the same namespace. The oldest route wins against any other claims.
160
+
161
+
[NOTE]
162
+
====
163
+
Routes and ingress objects have the same data structure internally on the
164
+
router, with ingress objects having the capability to turn into multiple route
165
+
objects. The claim rules above apply for each of these objects. However, because
166
+
an ingress object can have two hostnames, one hostname can be claimed by the
167
+
ingress object and be active, while the second cannot claim, and remains
168
+
inactive.
169
+
====
159
170
160
171
While this makes the router compatible with Kubernetes ingress
161
172
objects, some caveats exist:
162
173
163
174
* Ingress objects store the keys and certificates in secrets, so the router needs permission to read all secrets in the system.
164
175
* Ingress objects only support edge termination for *https* routes.
165
176
166
-
To configure an existing router to have Ingress support (assuming the default
177
+
To configure an existing router to have ingress support (assuming the default
167
178
name of `router` for the deployment configuration and the service-account):
168
179
169
180
. Set the `ROUTER_ENABLE_INGRESS` environment variable to `true`:
@@ -172,10 +183,18 @@ name of `router` for the deployment configuration and the service-account):
172
183
$ oc env dc router ROUTER_ENABLE_INGRESS=true`
173
184
----
174
185
175
-
. Add the cluster-admin role to the router:
186
+
. Add the `cluster-reader` role to the router, where `-z` is the service
0 commit comments