Skip to content

Commit d6d7f52

Browse files
committed
Fix indentation of cron default
1 parent 21fe946 commit d6d7f52

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

helm-library/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ apiVersion: v2
22
name: helm-library
33
description: A Helm library chart
44
type: library
5-
version: 2.31.0
5+
version: 2.32.0

helm-library/templates/_cron-job.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99
spec:
1010
schedule: {{ required (printf $requiredMsg "cronJob.schedule") .Values.cronJob.schedule | quote }}
1111
concurrencyPolicy: {{ required (printf $requiredMsg "cronJob.concurrencyPolicy") .Values.cronJob.concurrencyPolicy | quote }}
12+
successfulJobsHistoryLimit: {{ .Values.cronJob.successfulJobsHistoryLimit | default 1 }}
1213
jobTemplate:
1314
spec:
1415
template:
@@ -23,7 +24,7 @@ spec:
2324
emptyDir: {}
2425
containers:
2526
{{- if and (.Values.container) (not .Values.container.skipDefault) }}
26-
- {{ include "helm-library.container" (list . (printf "%s.container" .Chart.Name )) }}
27+
- {{ include "helm-library.container" (list . (printf "%s.container" .Chart.Name )) | nindent 4 }}
2728
{{- else }}
2829
-
2930
{{- end }}

0 commit comments

Comments
 (0)