cozystack/packages/system/cozystack-api
Andrei Kvapil a5d3757c36
refactor: replace Helm lookup with valuesFrom mechanism
Replace Helm lookup functions with FluxCD valuesFrom for passing
configuration to HelmReleases. This eliminates the need for force
reconcile controllers and provides cleaner config propagation.

Changes:
- Add Secret cozystack-values creation in platform and tenant charts
- Modify cozystack-api to add valuesFrom, filter _ prefixed keys
- Add valuesFrom validation in cozystack-controller
- Add helper templates in cozy-lib for _cluster/_namespace access
- Replace ConfigMap/Namespace lookups in 40+ Helm charts
- Remove CozystackConfigReconciler and TenantHelmReconciler

The Secret cozystack-values contains:
- _cluster: data from cozystack, cozystack-branding, cozystack-scheduling ConfigMaps
- _namespace: service references (etcd, host, ingress, monitoring, seaweedfs)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-01-04 10:00:17 +01:00
..
images/cozystack-api Update go modules 2025-12-23 19:45:47 +01:00
templates refactor: replace Helm lookup with valuesFrom mechanism 2026-01-04 10:00:17 +01:00
.gitignore [api] Fix representation of dynamic list kinds 2025-11-13 18:04:33 +03:00
Chart.yaml Introduce Cozystack API (#460) 2024-11-04 17:33:34 +01:00
cozystack-api-openssl.cnf [api] Fix representation of dynamic list kinds 2025-11-13 18:04:33 +03:00
Makefile [api] Fix representation of dynamic list kinds 2025-11-13 18:04:33 +03:00
values.yaml Prepare release v0.38.2 2025-12-01 19:14:15 +00:00