diff --git a/parcellab/common/Chart.yaml b/parcellab/common/Chart.yaml index 949c90a7..e5bfcf17 100644 --- a/parcellab/common/Chart.yaml +++ b/parcellab/common/Chart.yaml @@ -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 diff --git a/parcellab/common/templates/_cronjob.tpl b/parcellab/common/templates/_cronjob.tpl index 15cbd426..b09673b9 100644 --- a/parcellab/common/templates/_cronjob.tpl +++ b/parcellab/common/templates/_cronjob.tpl @@ -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 }} diff --git a/parcellab/cronjob/Chart.yaml b/parcellab/cronjob/Chart.yaml index 4d0f4ad8..5dacd0d2 100644 --- a/parcellab/cronjob/Chart.yaml +++ b/parcellab/cronjob/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: cronjob description: Single cron job -version: 0.6.1 +version: 0.6.2 dependencies: - name: common version: "*" diff --git a/parcellab/cronjob/values.yaml b/parcellab/cronjob/values.yaml index cd458eb0..a55d3ba9 100644 --- a/parcellab/cronjob/values.yaml +++ b/parcellab/cronjob/values.yaml @@ -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 diff --git a/parcellab/microservice/Chart.yaml b/parcellab/microservice/Chart.yaml index 65fcfbb2..1f4a6dce 100644 --- a/parcellab/microservice/Chart.yaml +++ b/parcellab/microservice/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: microservice description: Simple microservice -version: 0.6.3 +version: 0.6.4 dependencies: - name: common version: "*" diff --git a/parcellab/microservice/values.yaml b/parcellab/microservice/values.yaml index e6c069a4..f5d8e459 100644 --- a/parcellab/microservice/values.yaml +++ b/parcellab/microservice/values.yaml @@ -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 diff --git a/parcellab/monolith/Chart.yaml b/parcellab/monolith/Chart.yaml index 58a30da7..d63acfb2 100644 --- a/parcellab/monolith/Chart.yaml +++ b/parcellab/monolith/Chart.yaml @@ -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: "*" diff --git a/parcellab/monolith/values.yaml b/parcellab/monolith/values.yaml index b1cae1d8..267e706c 100644 --- a/parcellab/monolith/values.yaml +++ b/parcellab/monolith/values.yaml @@ -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