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

View file

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