cozystack/packages/apps/foundationdb/templates
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
..
_resources.tpl Add FoundationDB configuration values for storage engine and redundancy mode, update tests, and fix workload monitor 2025-09-17 01:16:19 -05:00
backup.yaml Initial support for FoundationDB operator 2025-09-17 01:16:09 -05:00
cluster.yaml refactor: replace Helm lookup with valuesFrom mechanism 2026-01-05 16:10:55 +01:00
dashboard-resourcemap.yaml Initial support for FoundationDB operator 2025-09-17 01:16:09 -05:00
role.yaml Update Foundation DB tests and update chart to make sure they pass 2025-09-17 01:16:16 -05:00
rolebinding.yaml Update Foundation DB tests and update chart to make sure they pass 2025-09-17 01:16:16 -05:00
serviceaccount.yaml Update Foundation DB tests and update chart to make sure they pass 2025-09-17 01:16:16 -05:00
workloadmonitor.yaml Add FoundationDB configuration values for storage engine and redundancy mode, update tests, and fix workload monitor 2025-09-17 01:16:19 -05:00