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

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