cozystack/api/v1alpha1
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
..
cozystackresourcedefinitions_types.go refactor: update CozystackResourceDefinition to use chartRef instead of chart 2026-01-06 17:39:08 +01:00
groupversion_info.go Introduce cozystack-controller (#560) 2025-01-09 12:24:51 +01:00
package_types.go [cozystack-operator] Add Package and PackageSource reconcilers 2025-12-30 11:55:21 +01:00
packagesource_types.go [cozystack-operator] Add Package and PackageSource reconcilers 2025-12-30 11:55:21 +01:00
workload_types.go Introduce cozystack-controller (#560) 2025-01-09 12:24:51 +01:00
workloadmonitor_types.go Introduce cozystack-controller (#560) 2025-01-09 12:24:51 +01:00
zz_generated.deepcopy.go refactor: update CozystackResourceDefinition to use chartRef instead of chart 2026-01-06 17:39:08 +01:00