Open rgordill opened 3 years ago
In general the helm chart lacks of the ability to customize the ingress/route for OpenShift, e.g. currently it is not possible to switch to a reencrypt route.
Also i would prefer to use a Ingress object, because this object has some advantages over to the route object (e.g. external tls secret).
OpenShift 4 automatically creates route objects when you try to create an ingress object. Currently the chart ignores the Ingress configuration when global.openshift
is true
.
This would allow us something like this:
global:
openshift: true
server:
ingress:
enabled: true
annotations:
route.openshift.io/termination: "reencrypt"
hosts:
- host: chart-example.local
paths: []
So maybe an override to enable the Ingress object would be a solution?
Describe the bug service-route.yaml has servicePort hardcoded (8200), and should be equivalent of service-ingress.yaml. Additionally, passthrough is selected for tls termination, but by default 8200 is not a secure port, so same as ingress should apply.
To Reproduce Steps to reproduce the behavior:
When route tls is deleted, the ui is accessed without any issues.
Expected behavior Route configuration consistent with ingress.
Environment
Chart values:
Additional context Add any other context about the problem here.