cozystack/api
Aleksei Sviridkin 104b3b3d2b
feat(operator): add per-package upgradeCRDs policy for HelmRelease
Add an opt-in UpgradeCRDs field to ComponentInstall that maps to
HelmRelease.Spec.Upgrade.CRDs, allowing a PackageSource component to
declare how Flux should handle CRDs from the chart's crds/ directory
on upgrade.

The helm-controller default on upgrade is Skip, which means new CRDs
added between chart versions never reach existing clusters and must be
applied manually. Setting upgradeCRDs: CreateReplace makes Flux apply
new CRDs declaratively with the chart.

Allowed values are restricted to Skip, Create, CreateReplace via a
kubebuilder enum marker. Empty / unset preserves the existing Flux
default, so all existing PackageSource resources keep working.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-04-27 11:19:29 +03:00
..
api-rules [cozystack-api] Implement TenantNamespace, TenantModules, TenantSecret and TenantSecretsTable resources 2025-09-24 18:27:54 +02:00
apps/v1alpha1 [api] Regenerate deepcopy and CRD manifests via make generate 2026-04-14 19:59:19 +05:00
backups [api] Regenerate deepcopy and CRD manifests via make generate 2026-04-14 19:59:19 +05:00
dashboard/v1alpha1 chore(codegen): regenerate stale deepcopy and CRD definitions 2026-02-16 23:01:22 +03:00
v1alpha1 feat(operator): add per-package upgradeCRDs policy for HelmRelease 2026-04-27 11:19:29 +03:00
.gitattributes [backups] Implement core backup Plan controller 2025-12-05 11:58:00 +03:00