mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 02:46:20 +08:00
we want cron jobs in openshift to be restartPolicy never because OnFilure k8s just keeps restarting and gives up with no logs, but Never allows the openshift job manager to restart it and keep the error pods around to see whats going on
This commit is contained in:
@@ -23,7 +23,7 @@ spec:
|
||||
- mountPath: /etc/anitya
|
||||
name: config-volume
|
||||
readOnly: true
|
||||
restartPolicy: OnFailure
|
||||
restartPolicy: Never
|
||||
volumes:
|
||||
- configMap:
|
||||
defaultMode: 420
|
||||
|
||||
Reference in New Issue
Block a user