Automate image tag updates in pal-e-deployments #148
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
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform#148
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?
Type
Feature
Lineage
plan-pal-e-platform→ discovered scope from westside-contracts deployRepo
forgejo_admin/pal-e-platform,forgejo_admin/pal-e-deploymentsUser Story
As a platform operator
I want image tags in pal-e-deployments to update automatically when CI pushes a new image
So that deployments don't require manual tag commits and ArgoCD rolls out automatically
Context
Currently pal-e-deployments hardcodes image tags (e.g.
newTag: a81d881). Every deploy requires:This broke the basketball-api deploy — CI pipeline #117 succeeded but the pod never updated because the tag in pal-e-deployments was stale. The GroupMe migration (PR #158) sat undeployed despite being merged and built.
File Targets
pal-e-deployments/overlays/*/prod/kustomization.yaml— all hardcodednewTagvaluesAcceptance Criteria
Test Expectations
kubectl get deploy -n basketball-api -o jsonpath='{.items[0].spec.template.spec.containers[0].image}'Constraints
latesttag in prod)Checklist
Related
project-pal-e-platform— platform projectplan-pal-e-platform— platform hardening planScope Investigation (2026-03-24)
ArgoCD Image Updater IS deployed (pal-e-services Helm chart v0.12.0). Infrastructure is in place but configuration is incomplete.
Current State
source_reposet → get write-back annotationsource_repo→ no write-back, tags are staticnewTagentriesThe Gap
Image Updater writes to
.argocd-source-{service}.yamlfiles in the repo, but kustomization.yaml still has staticnewTagentries. Either:.argocd-source-*files aren't being read by KustomizeFix Steps
.argocd-source-*.yamlfiles exist in pal-e-deployments after a Harbor push. If they don't exist, the git-creds token may lack write access.source_repoconfig in k3s.tfvarsforgejo-argocd-tokenneeds write access to pal-e-deploymentsSizing
This is a 3-point investigation (verify write-back, fix perms) followed by a 2-point cleanup (remove hardcoded tags, add pal-e-mail). Total: ~5 points as scoped.