cozystack/packages/system/dashboard
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
..
images [dashboard] Fix loading arrays in forms when editing existing objects 2025-11-27 14:31:05 +01:00
templates refactor: replace Helm lookup with valuesFrom mechanism 2026-01-05 16:10:55 +01:00
.helmignore Ship all logos with Cozystack 2024-07-16 17:31:52 +02:00
Chart.yaml Calculate tags and version automatically (#100) 2024-04-24 11:31:22 +02:00
Makefile [dashboard] Add branding config 2025-09-25 16:17:58 +02:00
values.yaml Prepare release v0.38.2 2025-12-01 19:14:15 +00:00