Skip to content

Commit

Permalink
fix: Ensure EMQX only used if teambroker enabeld (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb authored Nov 7, 2024
1 parent 7a71b37 commit 43b6dde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/flowforge/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ data:
{{ if .Values.forge.broker.url -}}
url: {{ .Values.forge.broker.url }}
{{ else -}}
{{ if .Values.forge.broker.teamBroker }}
{{ if .Values.forge.broker.teamBroker.enabled }}
url: mqtt://emqx-listeners.{{ .Release.Namespace }}:1883
{{ else -}}
url: mqtt://flowforge-broker.{{ .Release.Namespace }}:1883
Expand Down Expand Up @@ -271,4 +271,4 @@ data:
token: <%= ENV['ASSISTANT_TOKEN'] %>
requestTimeout: {{ .Values.forge.assistant.requestTimeout | default 60000 }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 43b6dde

Please sign in to comment.