How to modify the ingress labels or routers in the RHDM 7.11.1 Operator ?
Issue
After configuring Ingress Controller sharding with the below configuration at same cluster where each ingresscontroller has its own routeSelector, namespaceSelector and nodePlacement:
~~~
IngressController:
Name: Domain
ingresscontrollerdev dev.nopro.ocp.redhat.net
ingresscontrollerpre pre.nopro.ocp.redhat.net
ingresscontrollertst tst.nopro.ocp.redhat.net
~~~
There are multiple environments at the same cluster such as DEV, PRE, TST so, the RHDM Operator needs to be supplied per environment. So an instance was created in separated namespaces, rhdm-authoring-dev, rhdm-authoring-pre, rhdm-authoring-tst. The target for that is using an specific ingress controller per environment.
The point is, each RHDM instance created by default creates a route with default ingress, and is not able specify a host url or route and pods template labels. The desired result is getting a route per environment against it ingress controller desired e.g:
~~~
namespace route
rhdm-authoring-dev auth-kieserver-rhdm-authoring-dev.dev.nopro.ocp.redhat.net
rhdm-authoring-pre auth-kieserver-rhdm-authoring-pre.pre.nopro.ocp.redhat.net
rhdm-authoring-tst auth-kieserver-rhdm-authoring-tst.tst.nopro.ocp.redhat.net
~~~
However after the instance is created, the operator doesn't let modify the ingress labels or routers.
How to modify the ingress labels or routers in the RHDM 7.11.1 Operator ?
Environment
- Red Hat Decision Manager (RHDM)
- 7.11.1
- Red Hat OpenShift Container Platform (RHOCP)
- 4.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.