cozystack/packages/apps/vpn/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
..
_helpers.tpl Preapare release v0.0.1 2024-02-08 12:04:32 +01:00
_resources.tpl Don't overcommit memory or throttle CPU 2025-05-12 15:59:28 +03:00
dashboard-resourcemap.yaml Configure all apps to use new function to generate subjects 2025-06-16 20:32:11 +02:00
deployment.yaml [platform] Always set resources for managed apps 2025-07-03 17:45:32 +03:00
secret-urls.yaml Update VPN (#287) 2024-08-16 10:26:02 +02:00
secret.yaml refactor: replace Helm lookup with valuesFrom mechanism 2026-01-05 16:10:55 +01:00
service.yaml Capture all resources by WorkloadMonitors 2025-06-03 15:40:27 +03:00
tls.yaml [platform] Mark some secrets as non-user-facing 2025-09-23 15:09:18 +03:00
workloadmonitor.yaml Capture all resources by WorkloadMonitors 2025-06-03 15:40:27 +03:00