cozystack/internal/controller
Andrei Kvapil ab8cc5ffd4
refactor: update CozystackResourceDefinition to use chartRef instead of chart
This commit replaces the `chart` field with `chartRef` in CozystackResourceDefinition
to support direct OCIRepository references instead of HelmRepository lookups.

Changes:
- Update API types to use ChartRef structure with Kind, Name, Namespace fields
- Modify HelmRelease reconciler to set spec.chartRef instead of spec.chart
- Update config and registry to use new ChartRef configuration
- Add backward compatibility in lineage mapper for both chartRef and legacy chart
- Update all CozystackResourceDefinition YAML files to use new format
- Regenerate CRDs and deepcopy functions

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-01-06 17:39:08 +01:00
..
dashboard [dashboard] Fix CustomFormsOverride schema to nest properties under spec.properties 2025-12-08 23:27:24 +01:00
kubeovnplunger [kubeovn] Implement the KubeOVN plunger 2025-09-11 02:11:58 +03:00
cozystackresource_controller.go Fix review comments 2025-12-23 19:54:58 +01:00
cozystackresourcedefinition_helmreconciler.go refactor: update CozystackResourceDefinition to use chartRef instead of chart 2026-01-06 17:39:08 +01:00
suite_test.go Move project from aenix-io to cozystack repository 2025-03-10 21:16:58 +01:00
workload_controller.go [cozystack-controller] Refactor errors 2025-07-21 18:46:48 +02:00
workload_controller_test.go [cozystack-controller] Fix deleting workloads 2025-07-21 17:56:18 +02:00
workloadmonitor_controller.go [cozystack-controller] Refactor errors 2025-07-21 18:46:48 +02:00