Skip to content

Commit

Permalink
add condition to erlangCookie
Browse files Browse the repository at this point in the history
  • Loading branch information
4rthem committed Nov 8, 2023
1 parent 760293c commit a060f9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infra/helm/zippy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
4 changes: 2 additions & 2 deletions infra/helm/zippy/templates/rabbitmq-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: ConfigMap
metadata:
name: {{ include "zippy.fullname" $ }}-rabbitmq-config
data:
RABBITMQ_NODENAME: "{{ .username }}@{{ .host | default (printf "%s-rabbitmq" (include "zippy.fullname" $)) }}"
{{- if .erlangCookie }}
RABBITMQ_NODENAME: "{{ .username }}@{{ .host | default (printf "%s-rabbitmq" (include "zippy.fullname" $)) }}"
RABBITMQ_ERLANG_COOKIE: {{ .erlangCookie | quote }}
{{- end }}
ERL_EPMD_PORT: {{ .epmdPort | quote }}
{{- end }}
{{- end }}

0 comments on commit a060f9a

Please sign in to comment.