5 Commits
Author SHA1 Message Date
zeekayandHanzo Dev 92313665f5 fix(gitops-engine): the predicted-live fixtures kept the pre-rename manager
serverSideDiff finds the field set the CD controller owns by looking its manager
up by name. The live YAML fixtures were renamed to cd-controller; the
predicted-live JSON beside them still said argocd-controller, and the diff reads
both. Every server-side-diff case that asks "which fields are mine" failed with
"no managed fields found for manager: cd-controller" — not because the logic is
wrong, but because the two halves of the same fixture disagreed about who
applied it.

Seven JSON fixtures now name the same manager as the YAML they pair with.

pkg/diff goes green; the full gitops-engine module is 12/12.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-28 22:20:12 -07:00
zeekayandHanzo Dev 446e343a3d cd: annotations are cd.hanzo.ai, API group is apps.hanzo.ai
Two corrections on top of the naming pass, both found by checking the live
cluster rather than the source.

The rename had silently changed the user-facing annotation key from
argocd.argoproj.io/sync-wave to cd.argoproj.io/sync-wave — 63 live
Applications carry the old key, so deploying that would have ignored every
sync-wave and broken fleet deploy ordering. The key is now cd.hanzo.ai/*,
and universe 575650286 moves the ApplicationSet template that stamps it, so
the controller regenerates all 63 consistently.

The API group in code said argoproj.io/v1alpha1 in 157 places while the
cluster has served apps.hanzo.ai/v1alpha1 since 2026-07-23 (the CRDs are
applications.apps.hanzo.ai). Code now matches what is actually served.

The legacy applications.argoproj.io/app-name label had ZERO live users, so it
went with the rest. foo.argoproj.io test fixtures became foo.example.com —
arbitrary test domains should not carry a vendor name.

go build ./... exit 0.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-28 16:32:14 -07:00
e37afcc8a2 chore: add tests to validate ConfigMap/Secret key removal in server-side diff (#25216)
Signed-off-by: Pedro Ribeiro <[email protected]>
Co-authored-by: Pedro Ribeiro <[email protected]>
Co-authored-by: Leonardo Luz Almeida <[email protected]>
2026-01-15 16:53:13 -05:00
Peter JiangandGitHub d9f23775de fix: server-side diff shows duplicate containerPorts (#24785)
Signed-off-by: Peter Jiang <[email protected]>
2025-10-02 13:29:12 -04:00
Leonardo Luz Almeida 707a14c01a prepare repo for migration to ArgoCD repo
Signed-off-by: Leonardo Luz Almeida <[email protected]>
2025-09-23 10:05:42 -04:00