Browse Source

Added hostPort for postfix

master
Fábio Kaiser Rauber 2 years ago
parent
commit
966a285b40
  1. 3
      charts/postfix/v0.1.0/templates/app.yaml
  2. 1
      charts/postfix/v0.1.0/values.yaml

3
charts/postfix/v0.1.0/templates/app.yaml

@ -54,6 +54,9 @@ spec:
- name: smtp - name: smtp
containerPort: 25 containerPort: 25
protocol: TCP protocol: TCP
{{- if .Values.postfix.hostPort }}
hostPort: {{ .Values.postfix.hostPort }}
{{- end }}
livenessProbe: livenessProbe:
tcpSocket: tcpSocket:
port: 25 port: 25

1
charts/postfix/v0.1.0/values.yaml

@ -47,6 +47,7 @@ postfix:
senderBcc: "" senderBcc: ""
kind: StatefulSet kind: StatefulSet
configuration: "" configuration: ""
hostPort: 25
autoscaling: autoscaling:
enabled: false enabled: false

Loading…
Cancel
Save