From ed29037cb0e7c8a06c6eabc0e7c5684249960ae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Kalbermatter?= Date: Mon, 10 Jun 2024 09:38:36 +0000 Subject: [PATCH] Update templates/service.yaml --- templates/service.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 }}