fix(myorg-assistant): fix CronJob images causing ImagePullBackOff #6
Reference in New Issue
Block a user
No description provided.
Delete Branch "platform-engineer-agent/k3s-cluster:fix-cronjob-images"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
All 5 myorg-assistant CronJobs have been stuck in
ImagePullBackOfffor 9+ days because they referencemyorg-assistant:latest— a bare image name with no registry prefix that doesn't exist anywhere.Evidence (Prometheus):
The main Deployment uses the correct image:
git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf(set in commit3e57da4on Jun 25), but the CronJobs were never updated.Fix
For all 5 CronJobs:
git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf(same as Deployment)imagePullPolicy: IfNotPresent→Always(match Deployment)imagePullSecrets: [{name: gitea-registry}](required for private registry)Once merged, ArgoCD selfHeal will pick up the change and the next CronJob runs will succeed.
Pull request closed