mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
The CRD test pinned the vendored chart's layout: exactly six CRD
documents, v1beta2 as the storage version of each group snapshot CRD
and no v1alpha1. None of that is something the platform relies on, and
an upstream release that moves storage to v1 or adds a CRD would turn
the test red on a correct make update.
What the platform needs is that each group snapshot CRD serves v1,
which snapshot-controller, csi-snapshotter and the linstor gate read,
and v1beta2, which Velero 1.18 and the vm-instance hook read. The test
now asserts those two served versions, that the three volume snapshot
CRDs CDI and the CSI drivers read are rendered, and that every rendered
CRD is kept on uninstall, without counting documents. Removing either
served version, dropping a volume snapshot CRD, setting keepCRDs to
false, or rendering no CRDs fails it.
Fixes: 892d9c9b34 ("feat(platform): upgrade snapshot-controller to v8.7.0")
Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>