Skip to content

Commit

Permalink
fix: add default webModler url when ingress is disabled (#2566)
Browse files Browse the repository at this point in the history
  • Loading branch information
drodriguez-305 authored Dec 3, 2024
1 parent 92a6493 commit 678da17
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/camunda-platform-8.6/templates/camunda/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,12 @@ Web Modeler templates.
{{- else -}}
{{- printf "%s://%s%s" $proto .context.Values.global.ingress.host (index .context.Values.webModeler "contextPath") -}}
{{- end -}}
{{- else -}}
{{- if eq .component "websockets" -}}
{{- printf "http://localhost:8085" -}}
{{- else -}}
{{- printf "http://localhost:8084" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
Expand Down
6 changes: 6 additions & 0 deletions charts/camunda-platform-alpha/templates/camunda/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,12 @@ Web Modeler templates.
{{- else -}}
{{- printf "%s://%s%s" $proto .context.Values.global.ingress.host (index .context.Values.webModeler "contextPath") -}}
{{- end -}}
{{- else -}}
{{- if eq .component "websockets" -}}
{{- printf "http://localhost:8085" -}}
{{- else -}}
{{- printf "http://localhost:8084" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
Expand Down

0 comments on commit 678da17

Please sign in to comment.