Interlegis Public Rancher Charts for Kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
486 B

apiVersion: v1
kind: Service
metadata:
name: {{ include "postfix.fullname" . }}
labels:
{{- include "postfix.labels" . | nindent 4 }}
annotations:
{{- toYaml .Values.service.annotations | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: 25
protocol: TCP
name: smtp
selector:
{{- include "postfix.selectorLabels" . | nindent 4 }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}