Fix .gitignore blocking ArgoCD Image Updater write-back #162

Closed
opened 2026-03-14 18:16:26 +00:00 by forgejo_admin · 0 comments

Lineage

plan-pal-e-docs → Phase 7 (CI/Infra Hardening)

Repo

forgejo_admin/pal-e-docs

User Story

As a platform operator
I want ArgoCD Image Updater to auto-deploy new images on merge
So that the merge → CI → Harbor → ArgoCD pipeline works end-to-end without manual intervention

Context

.gitignore contains k8s/.argocd-source-* which blocks ArgoCD Image Updater from committing its write-back file. The Image Updater detects new tags in Harbor but fails with:

`git add .../k8s/.argocd-source-pal-e-docs.yaml` failed: The following paths are ignored by one of your .gitignore files

This breaks the entire auto-deploy pipeline. PR #161 required manual kubectl set image to deploy.

File Targets

Files the agent should modify:

  • .gitignore — remove the k8s/.argocd-source-* line

Files the agent should NOT touch:

  • Everything else

Acceptance Criteria

  • .gitignore no longer contains k8s/.argocd-source-*
  • ArgoCD Image Updater can commit write-back files on next cycle

Test Expectations

  • No tests needed — this is a config fix
  • Verification: check Image Updater logs after merge for successful write-back

Constraints

  • One line removal only
  • Do not add the .argocd-source-*.yaml file itself — Image Updater creates it

Checklist

  • PR opened
  • No unrelated changes
  • plan-pal-e-docs — Phase 7: CI/Infra Hardening
  • concept-argocd-ghost-override — the original ghost override documentation
### Lineage `plan-pal-e-docs` → Phase 7 (CI/Infra Hardening) ### Repo `forgejo_admin/pal-e-docs` ### User Story As a platform operator I want ArgoCD Image Updater to auto-deploy new images on merge So that the merge → CI → Harbor → ArgoCD pipeline works end-to-end without manual intervention ### Context `.gitignore` contains `k8s/.argocd-source-*` which blocks ArgoCD Image Updater from committing its write-back file. The Image Updater detects new tags in Harbor but fails with: ``` `git add .../k8s/.argocd-source-pal-e-docs.yaml` failed: The following paths are ignored by one of your .gitignore files ``` This breaks the entire auto-deploy pipeline. PR #161 required manual `kubectl set image` to deploy. ### File Targets Files the agent should modify: - `.gitignore` — remove the `k8s/.argocd-source-*` line Files the agent should NOT touch: - Everything else ### Acceptance Criteria - [ ] `.gitignore` no longer contains `k8s/.argocd-source-*` - [ ] ArgoCD Image Updater can commit write-back files on next cycle ### Test Expectations - [ ] No tests needed — this is a config fix - Verification: check Image Updater logs after merge for successful write-back ### Constraints - One line removal only - Do not add the `.argocd-source-*.yaml` file itself — Image Updater creates it ### Checklist - [ ] PR opened - [ ] No unrelated changes ### Related - `plan-pal-e-docs` — Phase 7: CI/Infra Hardening - `concept-argocd-ghost-override` — the original ghost override documentation
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
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
forgejo_admin/pal-e-api#162
No description provided.