GHP publish
This commit is contained in:
26
postfix/templates/service.yaml
Normal file
26
postfix/templates/service.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "postfix.fullname" . }}
|
||||
labels:
|
||||
{{- include "postfix.labels" . | nindent 4 }}
|
||||
spec:
|
||||
{{- if .Values.service.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.service.loadBalancerIP | quote }}
|
||||
{{- end }}
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: 2525
|
||||
targetPort: 2525
|
||||
protocol: TCP
|
||||
name: smtp
|
||||
- port: 10465
|
||||
targetPort: 10465
|
||||
protocol: TCP
|
||||
name: smtps
|
||||
- port: 10587
|
||||
targetPort: 10587
|
||||
protocol: TCP
|
||||
name: msa
|
||||
selector:
|
||||
{{- include "postfix.selectorLabels" . | nindent 4 }}
|
Reference in New Issue
Block a user