Skip to content

Commit a0153bc

Browse files
authored
Cast port to string for tpl function
1 parent fd8e071 commit a0153bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: charts/invenio/templates/_helpers.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
146146
{{- if .Values.rabbitmq.enabled }}
147147
{{- required "Missing .Values.rabbitmq.service.ports.amqp" .Values.rabbitmq.service.ports.amqp | quote -}}
148148
{{- else }}
149-
{{- required "Missing .Values.rabbitmqExternal.amqpPort" (tpl .Values.rabbitmqExternal.amqpPort .) | quote -}}
149+
{{- required "Missing .Values.rabbitmqExternal.amqpPort" (tpl (toString .Values.rabbitmqExternal.amqpPort) .) | quote -}}
150150
{{- end }}
151151
{{- end -}}
152152

0 commit comments

Comments
 (0)