Fix deployment image tag to correct merge commit SHA #92
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-api#92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Plan
plan-2026-02-26-tf-modularize-postgres-- Phase 5 (hotfix during deployment)Repo
forgejo_admin/pal-e-docsUser Story
As a platform operator
I want the deployment.yaml image tag to match an actual Harbor image tag
So that ArgoCD can sync without causing an outage
Context
PR #88 pinned
k8s/deployment.yamltoc85a39da...— a squash commit SHA from PR #86's branch. Woodpecker CI tags images with${CI_COMMIT_SHA}, which is the merge commit on main, not the branch commit. That tag never existed in Harbor.The bug was masked by the ArgoCD Image Updater ghost override (
.argocd-source-pal-e-docs.yaml), which was silently forcing a different image. When PR #91 removed the override, ArgoCD tried to pull the non-existent tag and the pod entered ImagePullBackOff.Currently running via manual kubectl patch with ArgoCD auto-sync disabled. Git and cluster are out of sync.
Full incident report:
incident-phase5-deployment-outage-2026-03-06in pal-e-docs knowledge base.File Targets
Files the agent should modify:
k8s/deployment.yaml-- update image tag to2eddd7660bccbd38f5cc2e53907f2f5485a74ef0(latest merge commit on main, confirmed in Harbor)Files the agent should NOT touch:
Acceptance Criteria
kubectl get pods -n pal-e-docs, then the pod is Running with the correct imageTest Expectations
Constraints
Post-merge steps (for Betty Sue, not the agent):
kubectl patch application pal-e-docs -n argocd --type='json' -p='[{"op":"add","path":"/spec/syncPolicy/automated","value":{"prune":true,"selfHeal":true}}]'Checklist
Related
pal-e-docs-- projectincident-phase5-deployment-outage-2026-03-06-- incident reportconcept-argocd-ghost-override-- root cause explanation