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:
2024-07-11 22:07:54 -05:00
parent 8113e5a47f
commit c741d04d54

View File

@@ -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