Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion parcellab/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: common
description: A Helm chart library for parcelLab charts
type: library
version: 1.3.13
version: 1.3.14
maintainers:
- name: parcelLab
email: engineering@parcellab.com
4 changes: 4 additions & 0 deletions parcellab/common/templates/_cronjob.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ metadata:
name: {{ $name }}
labels:
{{- include "common.labels" $componentValues | nindent 4 }}
{{- with (default .Values.cronjob.cronjobAnnotations $cronjob.cronjobAnnotations) }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
concurrencyPolicy: {{ default .Values.cronjob.concurrencyPolicy $cronjob.concurrencyPolicy }}
failedJobsHistoryLimit: {{ default .Values.cronjob.failedJobsHistoryLimit $cronjob.failedJobsHistoryLimit }}
Expand Down
2 changes: 1 addition & 1 deletion parcellab/cronjob/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: cronjob
description: Single cron job
version: 0.6.1
version: 0.6.2
dependencies:
- name: common
version: "*"
Expand Down
3 changes: 3 additions & 0 deletions parcellab/cronjob/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ cronjob:
schedule: "* * * * *"
successfulJobsHistoryLimit: 3
suspend: false
# Annotations on the CronJob object (not its pods). Example: exclude it from Argo CD app health.
# cronjobAnnotations:
# argocd.argoproj.io/ignore-healthcheck: "true"
timeZone: Europe/Berlin
job:
activeDeadlineSeconds: 900 # 15 minutes
Expand Down
2 changes: 1 addition & 1 deletion parcellab/microservice/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: microservice
description: Simple microservice
version: 0.6.3
version: 0.6.4
dependencies:
- name: common
version: "*"
Expand Down
3 changes: 3 additions & 0 deletions parcellab/microservice/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ cronjob:
schedule: "* * * * *"
successfulJobsHistoryLimit: 3
suspend: false
# Annotations on the CronJob object (not its pods). Example: exclude it from Argo CD app health.
# cronjobAnnotations:
# argocd.argoproj.io/ignore-healthcheck: "true"
timeZone: Europe/Berlin
job:
activeDeadlineSeconds: 120
Expand Down
2 changes: 1 addition & 1 deletion parcellab/monolith/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: monolith
description: Application that may define multiple services and cronjobs
version: 0.6.3
version: 0.6.4
dependencies:
- name: common
version: "*"
Expand Down
3 changes: 3 additions & 0 deletions parcellab/monolith/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ cronjob:
schedule: "* * * * *"
successfulJobsHistoryLimit: 3
suspend: false
# Annotations on the CronJob object (not its pods). Example: exclude it from Argo CD app health.
# cronjobAnnotations:
# argocd.argoproj.io/ignore-healthcheck: "true"
job:
activeDeadlineSeconds: 900 # 15 minutes
backoffLimit: 2
Expand Down