6 Commits
Author SHA1 Message Date
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
zeekayandHanzo Dev dead2da249 cd: the configuration speaks CD_ and KV_
The fork was already ours everywhere that matters — our image, our IAM (dex
is not deployed), hanzo kv behind what the env still called REDIS. Only the
vocabulary was upstream's: ARGOCD_* across the Go, the manifests, the docs
and the plugin contract, and mkdocs still titled 'Argo CD' pointing at
argoproj/argo-cd.

ARGOCD_ -> CD_ and REDIS_ -> KV_ across 345 files, plus the 8 e2e/cmp
fixtures that assert the plugin env contract — those had to move with the
binary, which now emits CD_APP_NAME where they expected ARGOCD_APP_NAME.

Left alone deliberately, because renaming them would be wrong:
- util/helm/testdata/redis/ and gitops-engine/.../statefulset*.yaml are
  fixtures for a THIRD-PARTY chart named redis, not our config
- util/kustomize/testdata/ likewise
- generated.proto regenerates from types.go, which is already clean

go build ./... exit 0.

LOCKSTEP: the live StatefulSet sets 47 ARGOCD_* names the binary no longer
reads. universe 4a5375735 carries the matching manifest change; they deploy
together or the controller falls back to defaults.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-28 15:55:46 -07:00
Michael CrenshawandGitHub 19ad0634c4 fix: pass env when getting param announcement (#11812) (#11815)
* fix: pass env when getting param announcement (#11812)

Signed-off-by: Michael Crenshaw <[email protected]>

* use same method as other methods

Signed-off-by: Michael Crenshaw <[email protected]>

* better tests

Signed-off-by: Michael Crenshaw <[email protected]>

* make sure env var tests are meaningful

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
2023-03-22 14:55:09 -04:00
5918367282 feat: parameterized config management plugins (#9135) (#9216)
* feat: parameterized CMPs

Signed-off-by: Michael Crenshaw <[email protected]>

* values types for parameters

Signed-off-by: Michael Crenshaw <[email protected]>

* Add types for CMP announcement

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* Reorg

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* finish type

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* First pass at working GetParametersAnnouncement

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* Typos

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* Make all fields optional

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* Make sure response makes it to repo server

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* Refactor for testing

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* lint

Signed-off-by: Michael Crenshaw <[email protected]>

* send build env to param announcement gen

Signed-off-by: Michael Crenshaw <[email protected]>

* test parameter announcement

Signed-off-by: Michael Crenshaw <[email protected]>

* tests

Signed-off-by: Michael Crenshaw <[email protected]>

* environ tests

Signed-off-by: Michael Crenshaw <[email protected]>

* Rename workdir to app dir

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* handle empty command, start ui work (#11)

* Add types for CMP announcement

Signed-off-by: zachaller <[email protected]>

* Reorg

Signed-off-by: zachaller <[email protected]>

* finish type

Signed-off-by: zachaller <[email protected]>

* First pass at working GetParametersAnnouncement

Signed-off-by: zachaller <[email protected]>

* Typos

Signed-off-by: zachaller <[email protected]>

* Make all fields optional

Signed-off-by: zachaller <[email protected]>

* Make sure response makes it to repo server

Signed-off-by: zachaller <[email protected]>

* Refactor for testing

Signed-off-by: zachaller <[email protected]>

* values types for parameters

Signed-off-by: Michael Crenshaw <[email protected]>

* lint

Signed-off-by: Michael Crenshaw <[email protected]>

* send build env to param announcement gen

Signed-off-by: Michael Crenshaw <[email protected]>

* test parameter announcement

* tests

Signed-off-by: Michael Crenshaw <[email protected]>

* environ tests

Signed-off-by: Michael Crenshaw <[email protected]>

* Rename workdir to app dir

Signed-off-by: zachaller <[email protected]>

* handle empty command, start ui work

Signed-off-by: Michael Crenshaw <[email protected]>

* fix order

Signed-off-by: Michael Crenshaw <[email protected]>

* fix map merging, make params read-only

Signed-off-by: Michael Crenshaw <[email protected]>

Co-authored-by: zachaller <[email protected]>

* Add helm PoC example plugin

Signed-off-by: zachaller <[email protected]>

* example as kustomize overlay

Signed-off-by: Michael Crenshaw <[email protected]>

* Parameterized cmps docs (#12)

* use printf instead of echo

Signed-off-by: Michael Crenshaw <[email protected]>

* docs

Signed-off-by: Michael Crenshaw <[email protected]>

* test for temp dir cleanup

Signed-off-by: Michael Crenshaw <[email protected]>

* handle empty params

Signed-off-by: Michael Crenshaw <[email protected]>

* handle empty values

Signed-off-by: Michael Crenshaw <[email protected]>

* consolidate types

Signed-off-by: Michael Crenshaw <[email protected]>

* fix tests

Signed-off-by: Michael Crenshaw <[email protected]>

* docs

Signed-off-by: Michael Crenshaw <[email protected]>

* docs

Signed-off-by: Michael Crenshaw <[email protected]>

* remove duplicate info

Signed-off-by: Michael Crenshaw <[email protected]>

* add warning about param announcements vs param values

Signed-off-by: Michael Crenshaw <[email protected]>

* tests (#13)

Signed-off-by: Michael Crenshaw <[email protected]>

* tests

Signed-off-by: Michael Crenshaw <[email protected]>

* fix types

Signed-off-by: Michael Crenshaw <[email protected]>

* fix test

Signed-off-by: Michael Crenshaw <[email protected]>

* fix codegen

Signed-off-by: Michael Crenshaw <[email protected]>

* fix codegen

Signed-off-by: Michael Crenshaw <[email protected]>

* revert test hack

Signed-off-by: Michael Crenshaw <[email protected]>

* docs correction

Signed-off-by: Michael Crenshaw <[email protected]>

* fix indentation

Signed-off-by: Michael Crenshaw <[email protected]>

* fix spacing

Signed-off-by: CI <[email protected]>

* move util function to util file and add test

Signed-off-by: CI <[email protected]>

* wrap error

Signed-off-by: CI <[email protected]>

* correct version number

Signed-off-by: CI <[email protected]>

* document necessity of collectionType param

Signed-off-by: CI <[email protected]>

* remove part of error message that's not useful (dir name is now randomized)

Signed-off-by: CI <[email protected]>

* fix things so that they are not broken

Signed-off-by: CI <[email protected]>

* don't close file before caller gets a chance to use it

Signed-off-by: CI <[email protected]>

* codegen

Signed-off-by: Michael Crenshaw <[email protected]>

* fix test

Signed-off-by: Michael Crenshaw <[email protected]>

* comments

Signed-off-by: Michael Crenshaw <[email protected]>

* fix test

Signed-off-by: Michael Crenshaw <[email protected]>

* DON'T PANIC

Signed-off-by: Michael Crenshaw <[email protected]>

Signed-off-by: Michael Crenshaw <[email protected]>
Signed-off-by: zachaller <[email protected]>
Signed-off-by: CI <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: zachaller <[email protected]>
2022-11-29 13:08:32 -05:00
Michael CrenshawandGitHub bf1ba47490 docs: remove unused plugin config fields (#10304)
* docs: remove unused plugin config fields

Signed-off-by: CI <[email protected]>

* fix codegen

Signed-off-by: CI <[email protected]>

Signed-off-by: CI <[email protected]>
2022-10-07 19:42:25 -04:00
May ZhangandGitHub dc20a5e312 Feat: cmp server (#6585)
* feat: config management plugin enhancement (#6585)

Signed-off-by: kshamajain99 <[email protected]>
Signed-off-by: May Zhang <[email protected]>
Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-11-08 09:47:10 -08:00