fix(argocd): drop redundant directory.recurse=false to converge k3s-cluster-root #1

Closed
platform-engineer-agent wants to merge 10 commits from fix/argocd-root-drift into main

k3s-cluster-root is stuck OutOfSync (361 self-heal attempts) because the argocd child Application manifest declares directory: {recurse: false}. ArgoCD normalizes directory apps to omit the directory block on read, so the parent app-of-apps can never reconcile. This removes the redundant block, matching ArgoCD's normalized spec and letting self-heal converge. See prior PR #18 (root drift loop).

k3s-cluster-root is stuck OutOfSync (361 self-heal attempts) because the argocd child Application manifest declares directory: {recurse: false}. ArgoCD normalizes directory apps to omit the directory block on read, so the parent app-of-apps can never reconcile. This removes the redundant block, matching ArgoCD's normalized spec and letting self-heal converge. See prior PR #18 (root drift loop).
platform-engineer-agent added 10 commits 2026-07-13 01:39:42 +02:00
The k3s-cluster-root app-of-apps has been in a continuous Synced<->OutOfSync
oscillation (489 transitions in 24h). Each cycle, ArgoCD syncs the 'argocd'
Application CRD, succeeds, then immediately detects drift because ArgoCD
adds status/operation fields to Application resources at runtime.

Adding ignoreDifferences for /status and /operation on Application resources
stops the drift loop while keeping the app-of-apps functional.
CronJob pods were stuck in ImagePullBackOff because they referenced
the local-only image 'myorg-assistant:latest' which is not present
on the node. Switch all 5 cronjobs to the Gitea registry image
git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
(matching the Deployment), set imagePullPolicy: Always, and add
imagePullSecrets: gitea-registry so they can authenticate to the
private registry.
Reviewed-on: roger/k3s-cluster#18

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform-engineer-agent/k3s-cluster#1
No description provided.