From befc166f0e4223da5d647ed6fde3a27aa00f0574 Mon Sep 17 00:00:00 2001 From: WrenIX <133280015+wrenix@users.noreply.github.com> Date: Tue, 14 Nov 2023 08:00:58 +0100 Subject: [PATCH] chore: remove spaces inside of golang template Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: WrenIX <133280015+wrenix@users.noreply.github.com> --- charts/nextcloud/templates/deployment.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/charts/nextcloud/templates/deployment.yaml b/charts/nextcloud/templates/deployment.yaml index 33b5f0e9..5b44e8bc 100644 --- a/charts/nextcloud/templates/deployment.yaml +++ b/charts/nextcloud/templates/deployment.yaml @@ -59,18 +59,18 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} {{- with .Values.lifecycle }} lifecycle: - {{- with .postStartCommand }} + {{- with .postStartCommand }} postStart: exec: command: {{- toYaml . | nindent 18 -}} - {{- end }} - {{- with .preStopCommand }} + {{- end }} + {{- with .preStopCommand }} preStop: exec: command: {{- toYaml . | nindent 18 -}} - {{- end }} + {{- end }} {{- end }} env: {{- include "nextcloud.env" . | nindent 12 }} @@ -242,18 +242,18 @@ spec: - /cron.sh {{- with .Values.cronjob.lifecycle }} lifecycle: - {{- with .postStartCommand }} + {{- with .postStartCommand }} postStart: exec: command: {{- toYaml . | nindent 18 -}} - {{- end }} - {{- with .preStopCommand }} + {{- end }} + {{- with .preStopCommand }} preStop: exec: command: {{- toYaml . | nindent 18 -}} - {{- end }} + {{- end }} {{- end }} env: {{- include "nextcloud.env" . | nindent 12 }}