fix(myorg-assistant): fix cronjob images to use gitea registry + imagePullSecrets
Cronjob pods were stuck in ImagePullBackOff because they referenced bare image name 'myorg-assistant:latest' (no registry, no pull secret). Updated all 5 cronjobs to use git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf matching the Deployment, added gitea-registry imagePullSecrets, and set imagePullPolicy: Always for consistency.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user