Skip to content

Commit

Permalink
chore: remove spaces inside of golang template
Browse files Browse the repository at this point in the history
Co-authored-by: Kate <[email protected]>
Signed-off-by: WrenIX <[email protected]>
  • Loading branch information
wrenix and provokateurin committed Nov 14, 2023
1 parent 60b6047 commit befc166
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions charts/nextcloud/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit befc166

Please sign in to comment.