diff --git a/charts/postfix/v0.1.0/templates/deployment.yaml b/charts/postfix/v0.1.0/templates/deployment.yaml index 5bbaac4..7c791bd 100644 --- a/charts/postfix/v0.1.0/templates/deployment.yaml +++ b/charts/postfix/v0.1.0/templates/deployment.yaml @@ -35,6 +35,10 @@ spec: env: - name: DOMAIN value: {{ .Values.postfix.domain | quote }} + - name: HOSTNAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName - name: MESSAGE_SIZE_LIMIT value: {{ .Values.postfix.messageSizeLimit | quote }} - name: RELAYHOST