diff --git a/7project/charts/myapp-chart/templates/cron.yaml b/7project/charts/myapp-chart/templates/cron.yaml index 5c57284..6f5033f 100644 --- a/7project/charts/myapp-chart/templates/cron.yaml +++ b/7project/charts/myapp-chart/templates/cron.yaml @@ -1,4 +1,4 @@ -{{ - if .Values.cron.enabled }} +{{- if .Values.cron.enabled }} apiVersion: batch/v1 kind: CronJob metadata: @@ -22,4 +22,4 @@ spec: - "%{http_code}" - "{{ printf "%s://%s.%s.svc.cluster.local" .Values.cron.scheme .Values.app.name .Release.Namespace | quote }}{{ .Values.cron.endpoint }}" restartPolicy: OnFailure -{{ - end }} \ No newline at end of file +{{- end }} \ No newline at end of file