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.
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: {{ .Release.Name }}-mail
|
|
|
|
labels:
|
|
|
|
{{- include "emailleg.labels" . | nindent 4 }}
|
|
|
|
spec:
|
|
|
|
type: {{ .Values.service.type }}
|
|
|
|
ports:
|
|
|
|
- port: 80
|
|
|
|
targetPort: http
|
|
|
|
protocol: TCP
|
|
|
|
name: http
|
|
|
|
- port: 143
|
|
|
|
targetPort: imap
|
|
|
|
protocol: TCP
|
|
|
|
name: imap
|
|
|
|
- port: 110
|
|
|
|
targetPort: pop
|
|
|
|
protocol: TCP
|
|
|
|
name: pop
|
|
|
|
- port: 25
|
|
|
|
targetPort: smtp
|
|
|
|
protocol: TCP
|
|
|
|
name: smtp
|
|
|
|
- port: 6379
|
|
|
|
targetPort: redis
|
|
|
|
protocol: TCP
|
|
|
|
name: redis
|
|
|
|
selector:
|
|
|
|
{{- include "emailleg.selectorLabels" . | nindent 4 }}
|