[aaisp2mqtt] Fix concurrency for the cronjob (#9)

* [aaisp2mqtt] Fix cronjob concurrency

* [aaisp2mqtt] Bump chart version
This commit is contained in:
2020-08-30 07:16:57 +01:00
committed by GitHub
parent c38382eb5f
commit c38645c597
3 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.3.0"
description: Pulls data from the AAISP CHAOSv2 API into MQTT
name: aaisp2mqtt
version: 0.3.0
version: 0.3.1
keywords:
- aaisp
- mqtt

View File

@@ -18,7 +18,7 @@ spec:
schedule: {{ .Values.cronjob.schedule | quote }}
successfulJobsHistoryLimit: {{ .Values.cronjob.successfulJobsHistoryLimit }}
failedJobsHistoryLimit: {{ .Values.cronjob.failedJobsHistoryLimit }}
concurrencyPolicy: Forbid
concurrencyPolicy: {{ .Values.cronjob.concurrencyPolicy }}
{{- if .Values.cronjob.startingDeadlineSeconds }}
startingDeadlineSeconds: {{ .Values.cronjob.startingDeadlineSeconds }}
{{- end }}

View File

@@ -40,6 +40,7 @@ cronjob:
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 1
# startingDeadlineSeconds: 10
concurrencyPolicy: Allow
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious