diff --git a/templates/configmap-env.yaml b/templates/configmap-env.yaml index 71e7eea..ad0a0a9 100644 --- a/templates/configmap-env.yaml +++ b/templates/configmap-env.yaml @@ -14,7 +14,7 @@ data: REPLICA_DB_HOST: {{ .Values.postgresql.readReplica.hostname }} {{- end }} {{- if .Values.postgresql.readReplica.port }} - REPLICA_DB_PORT: {{ .Values.postgresql.readReplica.port }} + REPLICA_DB_PORT: {{ .Values.postgresql.readReplica.port | quote }} {{- end }} {{- if .Values.postgresql.readReplica.auth.database }} REPLICA_DB_NAME: {{ .Values.postgresql.readReplica.auth.database }}