camunda / camunda-platform-helm

Camunda Platform 8 Self-Managed Helm charts
https://docs.camunda.io/docs/self-managed/overview/
Apache License 2.0
74 stars 138 forks source link

[ISSUE] webModeler url not applied correctly in console configmap when ingress is disabled #2565

Open drodriguez-305 opened 2 weeks ago

drodriguez-305 commented 2 weeks ago

Describe the issue:

The webModeler URL does not default to http://localhost:8084 as expected when no ingress configuration is provided. Despite setting fallback logic for the URL in the Helm _helpers.tpl, the generated configuration output leaves the webModeler URL blank.

Actual behavior:

When webModeler is enabled, but neither webModeler.ingress.enabled nor global.ingress.enabled is set to true, the Helm configuration should default to http://localhost:8084. However, in this configuration, the URL for webModeler remains empty in the output, causing issues in accessing the service.

Expected behavior:

If no ingress is enabled, the Helm configuration should default the webModeler URL to http://localhost:8084. This URL should appear in the generated configuration for environments where no ingress is needed.

How to reproduce: you can use the helm template -f values.yaml camunda/camunda-platform --version 11.0.2 --show-only templates/console/configmap.yaml with web modeler and console enabled. Even if you set redirectUrl console configmap will not read the redirect but if you check on the webmodeler configmap it is working as expected.

Logs:

Environment:

Please note: Without the following info, it's hard to resolve the issue and probably it will be closed.