cozystack/pkg/cmd/server
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
..
openapi.go [api,platform] Decouple CozyRDs from API HR 2025-10-08 16:18:47 +03:00
start.go refactor: update CozystackResourceDefinition to use chartRef instead of chart 2026-01-06 17:39:08 +01:00
start_test.go Update go modules 2025-12-23 19:45:47 +01:00