Update templates/service.yaml

This commit is contained in:
Loïc Kalbermatter 2024-06-10 09:38:36 +00:00
parent 7988096de2
commit ed29037cb0

View File

@ -1,10 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: { { include "stalwart-mail.fullname" . } }
labels: { { - include "stalwart-mail.labels" . | nindent 4 } }
name: {{ include "stalwart-mail.fullname" . }}
labels:
{{- include "stalwart-mail.labels" . | nindent 4 }}
spec:
type: { { .Values.service.type } }
type: {{ .Values.service.type }}
ports:
- name: http
port: 8080
@ -30,4 +31,5 @@ spec:
- name: sieve
port: 4190
targetPort: 4190
selector: { { - include "stalwart-mail.selectorLabels" . | nindent 4 } }
selector:
{{- include "stalwart-mail.selectorLabels" . | nindent 4 }}