firmitas: update policies on concurrency and restarting
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
parent
f052eb12a2
commit
7aafff7863
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
schedule: "*/2 * * * *"
|
schedule: "*/2 * * * *"
|
||||||
timeZone: Etc/UTC
|
timeZone: Etc/UTC
|
||||||
concurrencyPolicy: "Replace"
|
concurrencyPolicy: "Forbid"
|
||||||
startingDeadlineSeconds: 200
|
startingDeadlineSeconds: 200
|
||||||
suspend: false
|
suspend: false
|
||||||
successfulJobsHistoryLimit: 3
|
successfulJobsHistoryLimit: 3
|
||||||
|
@ -19,6 +19,7 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
parent: "cronjob-certdownloader"
|
parent: "cronjob-certdownloader"
|
||||||
spec:
|
spec:
|
||||||
|
restartPolicy: "Never"
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init-container
|
- name: init-container
|
||||||
image: "{{ firmitas_image }}"
|
image: "{{ firmitas_image }}"
|
||||||
|
@ -43,7 +44,6 @@ spec:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
restartPolicy: Never
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: "{{ firmitas_application_name }}-configuration-secret-volume"
|
- name: "{{ firmitas_application_name }}-configuration-secret-volume"
|
||||||
mountPath: "/tmp/firmitas/conf/"
|
mountPath: "/tmp/firmitas/conf/"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue