fix the cronjob to take 0 as historylimit (#47)
* fix the cronjob to take 0 as historylimit * update chart versionmain
parent
1f82bacd9c
commit
2731eaaaf7
|
|
@ -4,5 +4,5 @@ description: A Helm chart for deploying any custom applications, specifically po
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: improwised
|
- name: improwised
|
||||||
type: application
|
type: application
|
||||||
version: 1.2.6
|
version: 1.2.7
|
||||||
appVersion: 1.0.0
|
appVersion: 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,8 @@ metadata:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- with .successfulJobsHistoryLimit | default $.Values.cronJobTemplate.successfulJobsHistoryLimit }}
|
successfulJobsHistoryLimit: {{ .successfulJobsHistoryLimit | default $.Values.cronJobTemplate.successfulJobsHistoryLimit | default 0 }}
|
||||||
successfulJobsHistoryLimit: {{ toYaml . }}
|
failedJobsHistoryLimit: {{ .failedJobsHistoryLimit | default $.Values.cronJobTemplate.failedJobsHistoryLimit | default 0 }}
|
||||||
{{- end }}
|
|
||||||
{{- with .failedJobsHistoryLimit | default $.Values.cronJobTemplate.failedJobsHistoryLimit }}
|
|
||||||
failedJobsHistoryLimit: {{ toYaml . }}
|
|
||||||
{{- end }}
|
|
||||||
schedule: {{ .schedule | quote }}
|
schedule: {{ .schedule | quote }}
|
||||||
suspend: {{ .suspend | default false }}
|
suspend: {{ .suspend | default false }}
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
|
|
|
||||||
|
|
@ -232,8 +232,8 @@ cronJobTemplate:
|
||||||
# fsGroup: 1001
|
# fsGroup: 1001
|
||||||
# runAsGroup: 1001
|
# runAsGroup: 1001
|
||||||
# runAsUser: 1001
|
# runAsUser: 1001
|
||||||
successfulJobsHistoryLimit: 1
|
# successfulJobsHistoryLimit: 1
|
||||||
failedJobsHistoryLimit: 1
|
# failedJobsHistoryLimit: 1
|
||||||
|
|
||||||
cronJobs:
|
cronJobs:
|
||||||
# - name: update-status
|
# - name: update-status
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue