Compare commits

...

1 Commits

Author SHA1 Message Date
Platform Engineer
533b448082 fix(myorg-assistant): fix ImagePullBackOff on cronjobs — use Gitea registry image
All 5 CronJob manifests (deadline-checker, evening-summary, git-sync,
morning-briefing, waiting-followup) referenced 'myorg-assistant:latest'
—a bare local image name that doesn't exist on any node. The main
Deployment already uses git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf.

Changes per cronjob:
- image: myorg-assistant:latest → git.rogi.casa/.../myorg-assistant:fcf79bf
- imagePullPolicy: IfNotPresent → Always (match Deployment)
- Add imagePullSecrets: gitea-registry (required for private registry)

This fixes 4 pods stuck in ImagePullBackOff for ~6+ hours.
2026-07-05 22:00:36 +00:00
5 changed files with 20 additions and 10 deletions

View File

@@ -22,10 +22,12 @@ spec:
job: deadline-checker job: deadline-checker
spec: spec:
restartPolicy: OnFailure restartPolicy: OnFailure
imagePullSecrets:
- name: gitea-registry
containers: containers:
- name: deadline-checker - name: deadline-checker
image: myorg-assistant:latest image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
imagePullPolicy: IfNotPresent imagePullPolicy: Always
command: command:
- python - python
- run_job.py - run_job.py

View File

@@ -22,10 +22,12 @@ spec:
job: evening-summary job: evening-summary
spec: spec:
restartPolicy: OnFailure restartPolicy: OnFailure
imagePullSecrets:
- name: gitea-registry
containers: containers:
- name: evening-summary - name: evening-summary
image: myorg-assistant:latest image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
imagePullPolicy: IfNotPresent imagePullPolicy: Always
command: command:
- python - python
- run_job.py - run_job.py

View File

@@ -22,10 +22,12 @@ spec:
job: git-sync job: git-sync
spec: spec:
restartPolicy: OnFailure restartPolicy: OnFailure
imagePullSecrets:
- name: gitea-registry
containers: containers:
- name: git-sync - name: git-sync
image: myorg-assistant:latest image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
imagePullPolicy: IfNotPresent imagePullPolicy: Always
command: command:
- python - python
- run_job.py - run_job.py

View File

@@ -22,10 +22,12 @@ spec:
job: morning-briefing job: morning-briefing
spec: spec:
restartPolicy: OnFailure restartPolicy: OnFailure
imagePullSecrets:
- name: gitea-registry
containers: containers:
- name: morning-briefing - name: morning-briefing
image: myorg-assistant:latest image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
imagePullPolicy: IfNotPresent imagePullPolicy: Always
command: command:
- python - python
- run_job.py - run_job.py

View File

@@ -22,10 +22,12 @@ spec:
job: waiting-followup job: waiting-followup
spec: spec:
restartPolicy: OnFailure restartPolicy: OnFailure
imagePullSecrets:
- name: gitea-registry
containers: containers:
- name: waiting-followup - name: waiting-followup
image: myorg-assistant:latest image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
imagePullPolicy: IfNotPresent imagePullPolicy: Always
command: command:
- python - python
- run_job.py - run_job.py