Repository navigation
Description
A manual sync of several Applications at once, from the Argo CD UI, took every public hostname offline for the homelab until devops k8s deploy-stack set the host overrides again.
Evidence
- At 23:46 UTC on 2026-10-21 an admin session started a sync with prune on 17 Applications, among them
bootstrap,cluster,ingressanddevops. Every operation recordedsyncOptions: None. - Before it, the live
ingressApplication heldspec.source.kustomize.patches: one JSON patch per Ingress that replaces itsexample.comhost with the homelab domain (history entries 0 to 2, the last deployed on 2026-10-13). These overrides are set bydevops k8s deploy-stackfromconfig.yamland never enter git (k8s/argocd/bootstrap/cluster.yaml). - The sync's own deployment (history entry 3) has no
kustomizekey, so Argo CD rendered the committed placeholder hosts: theargocd-controllerrewrote therulesof all 18 managed Ingresses within a second, and the public hostnames returned HTTP 404 from Traefik, which matches Hosts exactly (Host: <app>.example.comreturned 200 through a port-forward, the real host 404). clusteralready ignores/spec/source/kustomizeoningressanddevopswithRespectIgnoreDifferences=truein itssyncPolicy.syncOptions. That option applies to the automated syncs, which read the Application's own sync policy. A manual sync takes the options its operation carries, and these carried none.devops k8s deploy-stack --stack infra --no-push-secrets --no-wait --no-configure-urlsset the patches again, theingressApplication re-rendered the homelab hosts, and the public Argo CD endpoint answered 200.
Proposed remedy
State in k8s/README.md's GitOps section that cluster and bootstrap are not synced by hand from the UI without the "Respect Ignore Differences" option, and that after any manual sync of them the hosts are restored with the deploy-stack command above (which touches no Secret and no manifest). A live-only override that one click can drop is the design's weak point; if the README rule is not enough, move the override out of spec.source to a place a sync does not rewrite. The devops Application lost its overrides too and is held by #1562, so this restore leaves it alone.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fix(argocd): every application pins automated sync enabled in git, so…
dan-petty commentedon Oct 24, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The issue causes public hostnames to return 404 and affects the availability of services.Fixing this restores public access to all affected applications and prevents downtime.It requires updating documentation and potentially modifying sync policies or override mechanisms.Both items deal with Argo CD applications and their sync behavior, but the candidate focuses on host overrides while item 1626 addresses automated sync toggling.fix(k8s): a manual sync of the app-of-apps drops the homelab host ove…