Skip to content

Commit

Permalink
Fix indentation of cron default
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwatson484 committed Oct 6, 2024
1 parent 21fe946 commit d6d7f52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm-library/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: helm-library
description: A Helm library chart
type: library
version: 2.31.0
version: 2.32.0
3 changes: 2 additions & 1 deletion helm-library/templates/_cron-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
spec:
schedule: {{ required (printf $requiredMsg "cronJob.schedule") .Values.cronJob.schedule | quote }}
concurrencyPolicy: {{ required (printf $requiredMsg "cronJob.concurrencyPolicy") .Values.cronJob.concurrencyPolicy | quote }}
successfulJobsHistoryLimit: {{ .Values.cronJob.successfulJobsHistoryLimit | default 1 }}
jobTemplate:
spec:
template:
Expand All @@ -23,7 +24,7 @@ spec:
emptyDir: {}
containers:
{{- if and (.Values.container) (not .Values.container.skipDefault) }}
- {{ include "helm-library.container" (list . (printf "%s.container" .Chart.Name )) }}
- {{ include "helm-library.container" (list . (printf "%s.container" .Chart.Name )) | nindent 4 }}
{{- else }}
-
{{- end }}
Expand Down

0 comments on commit d6d7f52

Please sign in to comment.