Add .argocd-source-* to .gitignore to prevent Image Updater ghost overrides #90

Closed
opened 2026-03-06 22:03:06 +00:00 by forgejo_admin · 0 comments
Contributor

Plan

plan-2026-02-26-tf-modularize-postgres -- Phase 5 deployment blocker

Repo

forgejo_admin/pal-e-docs

User Story

As a platform operator
I want .argocd-source-* files excluded from the repo via .gitignore
So that ArgoCD Image Updater git write-back cannot create ghost overrides that block deployments

Context

ArgoCD Image Updater was configured with git write-back on pal-e-docs. Even after removing the Image Updater annotations from the ArgoCD Application resource, the .argocd-source-* parameter override files can persist in the repo and override the image tag specified in the Helm values. Adding this pattern to .gitignore ensures any existing or future .argocd-source-* files are ignored and cannot be committed.

This is a deployment blocker for Phase 5 (tsvector search) -- the Image Updater was reverting the image tag to an older build.

File Targets

Files the agent should modify or create:

  • .gitignore -- add k8s/.argocd-source-* pattern

Files the agent should NOT touch:

  • k8s/ -- Helm/ArgoCD manifests are not changed in this PR

Acceptance Criteria

  • .gitignore contains k8s/.argocd-source-*
  • No .argocd-source-* files are tracked in git

Test Expectations

  • git check-ignore k8s/.argocd-source-pal-e-docs.yaml returns a match
  • Run command: git check-ignore k8s/.argocd-source-pal-e-docs.yaml

Constraints

  • Append to existing .gitignore, do not rewrite it
  • Keep the change minimal -- one line addition

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • Forgejo issue: #89
### Plan `plan-2026-02-26-tf-modularize-postgres` -- Phase 5 deployment blocker ### Repo `forgejo_admin/pal-e-docs` ### User Story As a platform operator I want `.argocd-source-*` files excluded from the repo via `.gitignore` So that ArgoCD Image Updater git write-back cannot create ghost overrides that block deployments ### Context ArgoCD Image Updater was configured with git write-back on pal-e-docs. Even after removing the Image Updater annotations from the ArgoCD Application resource, the `.argocd-source-*` parameter override files can persist in the repo and override the image tag specified in the Helm values. Adding this pattern to `.gitignore` ensures any existing or future `.argocd-source-*` files are ignored and cannot be committed. This is a deployment blocker for Phase 5 (tsvector search) -- the Image Updater was reverting the image tag to an older build. ### File Targets Files the agent should modify or create: - `.gitignore` -- add `k8s/.argocd-source-*` pattern Files the agent should NOT touch: - `k8s/` -- Helm/ArgoCD manifests are not changed in this PR ### Acceptance Criteria - [ ] `.gitignore` contains `k8s/.argocd-source-*` - [ ] No `.argocd-source-*` files are tracked in git ### Test Expectations - [ ] `git check-ignore k8s/.argocd-source-pal-e-docs.yaml` returns a match - Run command: `git check-ignore k8s/.argocd-source-pal-e-docs.yaml` ### Constraints - Append to existing `.gitignore`, do not rewrite it - Keep the change minimal -- one line addition ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - Forgejo issue: #89
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ldraney/pal-e-api#90
No description provided.