1
0
Fork 0

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
Dustin 2024-07-11 22:07:54 -05:00
parent 8113e5a47f
commit c741d04d54
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ spec:
command:
- sh
- -c
- sleep $((RANDOM % 3600))
- case ${HOSTNAME} in *-manual-*);; *)sleep $((RANDOM % 3600));; esac
securityContext:
readOnlyRootFilesystem: true
runAsGroup: 999