maddy

Fork https://github.com/foxcpp/maddy

git clone git://git.lin.moe/go/maddy.git

 1apiVersion: v1
 2kind: Service
 3metadata:
 4  name: {{ include "maddy.fullname" . }}
 5  labels:
 6    {{- include "maddy.labels" . | nindent 4 }}
 7spec:
 8  type: {{ .Values.service.type }}
 9  ports:
10    - port: 25
11      targetPort: smtp
12      protocol: TCP
13      name: smtp
14    - port: 993
15      targetPort: imaps
16      protocol: TCP
17      name: imaps
18    - port: 587
19      targetPort: starttls
20      protocol: TCP
21      name: starttls
22  selector:
23    {{- include "maddy.selectorLabels" . | nindent 4 }}
24  {{- with .Values.service.externalIPs }}
25  externalIPs:
26  {{- toYaml . | nindent 6 }}
27  {{- end -}}