xactfetch: Skip wait for manual runs
When the `xactfetch` CronJob is triggered manually, it will now skip the `sleep` step. Presumably, whoever triggered it wants the script to run _right now_, probably to diagnose a problem.etcd
parent
8113e5a47f
commit
c741d04d54
|
@ -28,7 +28,7 @@ spec:
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
- sleep $((RANDOM % 3600))
|
- case ${HOSTNAME} in *-manual-*);; *)sleep $((RANDOM % 3600));; esac
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
runAsGroup: 999
|
runAsGroup: 999
|
||||||
|
|
Loading…
Reference in New Issue