Files
cozystack/packages/core/platform
Aleksei Sviridkin 2d1d98364d fix(platform): ship cozy-lib with the capi-providers-core artifact
The upgrade hook image is rendered through cozy-lib.image, and the
chart links cozy-lib through charts/cozy-lib. The chart reaches the
cluster as the artifact the operator assembles from the PackageSource,
which copies a library into <chart>/charts/ only when the variant
declares it and the component lists it. capi-provider-core declared
neither, so the artifact carried a dangling symlink and the install
failed with 'no template "cozy-lib.image"'. Rendering from the git
tree resolves the symlink, which is why the chart tests stayed green.

Declare cozy-lib on the variant and on the capi-providers-core
component, as bucket-application does, and pin both in the chart
tests.

Fixes: a709ca1bdb ("fix(capi-providers-core): pull the upgrade hook image through cozy-lib")

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-11-16 16:24:25 +03:00
..