Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add default webModler url when ingress is disabled #2566

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

drodriguez-305
Copy link
Contributor

Which problem does the PR fix?

Console configmap will not read the url if not set in the helpers when there is no ingress. This quickfix will resolve the default static localhost for webModeler.

What's in this PR?

Checklist

Please make sure to follow our Contributing Guide.

Before opening the PR:

  • In the repo's root dir, run make go.update-golden-only.
  • There is no other open pull request for the same update/change.
  • Tests for charts are added (if needed).
  • In-repo documentation are updated (if needed).

After opening the PR:

  • Did you sign our CLA (Contributor License Agreement)? It will show once you open the PR.
  • Did all checks/tests pass in the PR?

Copy link
Contributor

@jessesimpson36 jessesimpson36 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments

charts/camunda-platform-8.6/templates/camunda/_helpers.tpl Outdated Show resolved Hide resolved
@@ -441,6 +441,8 @@ Web Modeler templates.
{{- else -}}
{{- printf "%s://%s%s" $proto .context.Values.global.ingress.host (index .context.Values.webModeler "contextPath") -}}
{{- end -}}
{{- else -}}
{{- printf "http://localhost:8084" -}}
{{- end -}}
{{- end -}}
{{- end -}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also this should be ported to 8.7-alpha if it's relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/fix version/8.6 Camunda applications/cycle version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ISSUE] webModeler url not applied correctly in console configmap when ingress is disabled
2 participants