How to modify the ingress labels or routers in the RHDM 7.11.1 Operator?
Issue
After configuring Ingress Controller in RHDM through the Operator 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.com
ingresscontrollerpre pre.nopro.ocp.redhat.com
ingresscontrollertst tst.nopro.ocp.redhat.com
There are multiple environments at the same cluster such as DEV, PRE, TST so, the RHDM Operator has to be supplied per environment. So an instance has been 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. 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.com
rhdm-authoring-pre auth-kieserver-rhdm-authoring-pre.pre.nopro.ocp.redhat.com
rhdm-authoring-tst auth-kieserver-rhdm-authoring-tst.tst.nopro.ocp.redhat.com
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.