You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0d2e0ca
Browse filesBrowse the repository at this point in the historyBrowse files
fix(platform): keep foreign snapshot CRDs out of the release
The vendored chart renders its CRDs as ordinary templates, so on a
cluster whose distribution ships the snapshot CRDs, helm-controller
would take them over on upgrade. Patch the CRD template to render a CRD
only when it is absent or already carries this release's Helm
ownership; migration 61 adopts the CRDs the release installed, which
keeps them in the manifest.
Migration 61 also took the release identity from the helm-controller
labels on the CRDs. When only the group CRDs carried them, a failed
create left them deleted, and the retry found no owned CRD and stamped
the version without recreating them. Read the HelmRelease instead, and
change nothing when it is absent.
Assisted-by: LLM
Signed-off-by: Mattia Eleuteri <[email protected]>
0 commit comments