diff --git a/charts/postfix/v0.1.0/templates/app.yaml b/charts/postfix/v0.1.0/templates/app.yaml index 2cace16..41c1c35 100644 --- a/charts/postfix/v0.1.0/templates/app.yaml +++ b/charts/postfix/v0.1.0/templates/app.yaml @@ -54,6 +54,9 @@ spec: - name: smtp containerPort: 25 protocol: TCP + {{- if .Values.postfix.hostPort }} + hostPort: {{ .Values.postfix.hostPort }} + {{- end }} livenessProbe: tcpSocket: port: 25 diff --git a/charts/postfix/v0.1.0/values.yaml b/charts/postfix/v0.1.0/values.yaml index 6c031e2..b98d399 100644 --- a/charts/postfix/v0.1.0/values.yaml +++ b/charts/postfix/v0.1.0/values.yaml @@ -47,6 +47,7 @@ postfix: senderBcc: "" kind: StatefulSet configuration: "" + hostPort: 25 autoscaling: enabled: false