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.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user