From 3e3a0a795aff913ca9e4a436f3ca089f4172fa3e Mon Sep 17 00:00:00 2001 From: cmyui Date: Sun, 5 Nov 2023 06:14:03 -0500 Subject: [PATCH] fix? --- k8s/cronjob.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/k8s/cronjob.yaml b/k8s/cronjob.yaml index c642e45..8d8ee97 100644 --- a/k8s/cronjob.yaml +++ b/k8s/cronjob.yaml @@ -13,6 +13,7 @@ spec: image: osuakatsuki/new-cron:latest imagePullPolicy: IfNotPresent command: + - cd /srv/root - python3 main.py restartPolicy: OnFailure imagePullSecrets: