diff --git a/templates/service.yaml b/templates/service.yaml index 3599070..d6e6212 100644 --- a/templates/service.yaml +++ b/templates/service.yaml @@ -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 }}