cozystack/pkg
Andrei Kvapil 2e61810547
refactor: replace Helm lookup with valuesFrom mechanism
Replace Helm lookup functions with FluxCD valuesFrom mechanism for
reading cluster and namespace configuration.

Changes:
- Create Secret cozystack-values in each namespace with values.yaml key
  containing _cluster and _namespace configuration as nested YAML
- Configure HelmReleases to read from this Secret via valuesFrom
  (valuesKey defaults to values.yaml, so it can be omitted)
- Update cozy-lib helpers to access config via .Values._cluster
- Add default values for required _cluster keys to ensure all fields exist
- Update Go code (cozystack-api and helm reconciler) to use new format

This eliminates the need for Helm lookup functions while maintaining
the same configuration interface for charts.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-01-05 16:10:55 +01:00
..
apis Fix review comments 2025-12-19 10:13:36 +01:00
apiserver [api] Fix representation of dynamic list kinds 2025-11-13 18:04:33 +03:00
cmd/server Update go modules 2025-12-23 19:45:47 +01:00
config Scaffold CozyRD CRD 2025-07-29 17:03:22 +03:00
generated [dashboard] sync with upstream & enhancements 2025-11-05 18:22:22 +01:00
lineage [controller,api] Specify visible secrets 2025-10-01 16:56:52 +03:00
ovnstatus [kubeovn] Implement the KubeOVN plunger 2025-09-11 02:11:58 +03:00
registry refactor: replace Helm lookup with valuesFrom mechanism 2026-01-05 16:10:55 +01:00