forked from roger/k3s-cluster
fix(myorg-assistant): fix cronjob images - use gitea registry + imagePullSecrets
CronJobs referenced bare 'myorg-assistant:latest' which doesn't exist in any registry, causing ImagePullBackOff on all 5 CronJobs for 9+ days. Aligned with deployment.yaml: - image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf - imagePullPolicy: Always - imagePullSecrets: gitea-registry Affected: deadline-checker, evening-summary, git-sync, morning-briefing, waiting-followup
This commit is contained in:
@@ -22,10 +22,12 @@ spec:
|
||||
job: deadline-checker
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: deadline-checker
|
||||
image: myorg-assistant:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
|
||||
Reference in New Issue
Block a user