startingDeadlineSeconds is only valid directly under spec

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-12-03 14:38:55 +01:00
parent d8c85379d9
commit 00ca877578
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
2 changed files with 2 additions and 2 deletions

View file

@ -6,6 +6,7 @@ metadata:
spec:
concurrencyPolicy: Forbid
schedule: "0 21 * * *"
startingDeadlineSeconds: 600
jobTemplate:
spec:
template:
@ -33,7 +34,6 @@ spec:
subPath: config.ini
readOnly: true
restartPolicy: Never
startingDeadlineSeconds: 600
volumes:
- name: ssh-config-volume
secret:

View file

@ -7,6 +7,7 @@ metadata:
spec:
concurrencyPolicy: Forbid
schedule: "*/30 * * * *"
startingDeadlineSeconds: 600
jobTemplate:
spec:
template:
@ -39,7 +40,6 @@ spec:
mountPath: /etc/pki/rabbitmq/cert
readOnly: true
restartPolicy: Never
startingDeadlineSeconds: 600
volumes:
- name: config-volume
configMap: