ArgoCD CMP sidecar fails to render kustomize+SOPS overlays (blocks services apply) #225
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
ldraney/pal-e-platform#225
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
Bug
Lineage
Repo
forgejo_admin/pal-e-services(primary — ArgoCD Helm release with CMP sidecar definition atterraform/main.tflines 35-191)What Broke
ArgoCD's CMP sidecar (cmp-sops) fails to render kustomize+SOPS overlays from pal-e-deployments.
tofu applyfor pal-e-services fails on 3+ ArgoCD app updates with:The cmp-sops container starts successfully (logs show it's serving on socket), the SOPS age key exists in the argocd namespace, but manifest generation fails with EOF.
Affected apps: pal-e-docs, gcal-scheduler, pal-e-app, platform-validation (all apps pointing to pal-e-deployments overlays).
Repro Steps
cd ~/pal-e-services && tofu applykubectl -n argocd describe pod -l app.kubernetes.io/name=argocd-repo-serverExpected Behavior
tofu applyfor pal-e-services succeeds. ArgoCD dashboard shows all apps Synced. CMP sidecar logs show successful kustomize+SOPS manifest generation.Environment
File Targets
Files the agent should investigate and modify:
~/pal-e-services/terraform/main.tf:35-191— ArgoCD Helm release with CMP sidecar definition (repoServer.extraContainers, volumes, volumeMounts)~/pal-e-services/terraform/main.tf— CMP plugin config (generate command, discover config)Files to check (read-only investigation):
kubectl -n argocd logsfor repo-server cmp-sops containerkubectl -n argocd describe podfor resource limits / OOMKillFiles the agent should NOT touch:
~/pal-e-platform/terraform/modules/ci/— this is Woodpecker CI, not ArgoCDAcceptance Criteria
tofu applyfor pal-e-services succeeds for all ArgoCD appsTest Expectations
tofu plan -lock=falsefor pal-e-services shows 0 changes after successful applyConstraints
/sops/age/age.agekeytofunotterraform-lock=falseon plan commandsChecklist
Related
pal-e-platform— projectScope Review: NEEDS_REFINEMENT
Review note:
review-525-2026-03-29File targets point to wrong repo/directory --
terraform/modules/ci/is Woodpecker CI, not ArgoCD. Actual CMP sidecar config is inpal-e-services/terraform/main.tflines 35-191.terraform/modules/ci/withpal-e-services/terraform/main.tf(cmp-sops at lines 114-167, init at 99-113, plugin config at 51-76)forgejo_admin/pal-e-servicessince all code changes are in that repotype:buginstead oftype:feature-- CMP sidecar fails to render (broken behavior)kubectl describe/logsfor repo-server and cmp-sops containersScope refinement (review-525-2026-03-29):
Scope Review: READY
Review note:
review-525-2026-03-29-v2Re-review after refinements — all prior issues addressed. Type corrected to bug, file targets corrected to pal-e-services/terraform/main.tf, full bug template sections present, tofu -lock=false convention applied. File targets verified against codebase (lines 35-191 confirmed). Ticket is actionable for a single agent pass.
Minor documentation gaps (not blockers):
[SCOPE]Architecture notearch-argocddoes not exist in pal-e-docs[SCOPE]Architecture notearch-k8s-deploydoes not exist in pal-e-docs