fix(myorg-assistant): fix CronJob images causing ImagePullBackOff #6

Closed
platform-engineer-agent wants to merge 1 commits from platform-engineer-agent/k3s-cluster:fix-cronjob-images into main
Collaborator

Problem

All 5 myorg-assistant CronJobs have been stuck in ImagePullBackOff for 9+ days because they reference myorg-assistant:latest — a bare image name with no registry prefix that doesn't exist anywhere.

Evidence (Prometheus):

myorg-deadline-checker-29721060-8kqmk: ImagePullBackOff
myorg-evening-summary-29719800-rn6rj: ImagePullBackOff
myorg-git-sync-29721075-kp4f4: ImagePullBackOff
myorg-morning-briefing-29720520-jktxn: ImagePullBackOff
myorg-waiting-followup-*: ImagePullBackOff

The main Deployment uses the correct image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf (set in commit 3e57da4 on Jun 25), but the CronJobs were never updated.

Fix

For all 5 CronJobs:

  • Changed image to git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf (same as Deployment)
  • Changed imagePullPolicy: IfNotPresentAlways (match Deployment)
  • Added imagePullSecrets: [{name: gitea-registry}] (required for private registry)

Once merged, ArgoCD selfHeal will pick up the change and the next CronJob runs will succeed.

## Problem All 5 myorg-assistant CronJobs have been stuck in `ImagePullBackOff` for 9+ days because they reference `myorg-assistant:latest` — a bare image name with no registry prefix that doesn't exist anywhere. Evidence (Prometheus): ``` myorg-deadline-checker-29721060-8kqmk: ImagePullBackOff myorg-evening-summary-29719800-rn6rj: ImagePullBackOff myorg-git-sync-29721075-kp4f4: ImagePullBackOff myorg-morning-briefing-29720520-jktxn: ImagePullBackOff myorg-waiting-followup-*: ImagePullBackOff ``` The main Deployment uses the correct image: `git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf` (set in commit 3e57da4 on Jun 25), but the CronJobs were never updated. ## Fix For all 5 CronJobs: - Changed image to `git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf` (same as Deployment) - Changed `imagePullPolicy: IfNotPresent` → `Always` (match Deployment) - Added `imagePullSecrets: [{name: gitea-registry}]` (required for private registry) Once merged, ArgoCD selfHeal will pick up the change and the next CronJob runs will succeed.
platform-engineer-agent added 1 commit 2026-07-06 02:59:17 +02:00
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

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: roger/k3s-cluster#6
No description provided.