diff --git a/packages/system/velero/tests/velero_test.yaml b/packages/system/velero/tests/velero_test.yaml index db9d1d8c7..9cd5a063c 100644 --- a/packages/system/velero/tests/velero_test.yaml +++ b/packages/system/velero/tests/velero_test.yaml @@ -26,9 +26,11 @@ tests: path: spec.template.spec.initContainers[1].image value: quay.io/kubevirt/kubevirt-velero-plugin:v0.9.0 - # Cozystack disables the upgrade-crds Job (upgradeCRDs: false) because the - # job has kubectl-image compatibility issues; CRDs ship via the chart's - # crds/ directory instead. Pin that invariant — it silently regressed once. + # Cozystack disables the upgrade-crds Job (upgradeCRDs: false) because CRDs + # ship via the chart's crds/ directory, making the Job redundant. (The old + # kubectl-image-compatibility rationale is obsolete in velero 12.x, where the + # Job now runs the velero image natively.) Pin that invariant — it silently + # regressed once. - it: does not emit the upgrade-crds Job when upgradeCRDs is disabled template: charts/velero/templates/upgrade-crds/upgrade-crds.yaml asserts: diff --git a/packages/system/velero/values.yaml b/packages/system/velero/values.yaml index 7f9ecc857..1ea2ff36d 100644 --- a/packages/system/velero/values.yaml +++ b/packages/system/velero/values.yaml @@ -1,6 +1,8 @@ velero: - # Disable CRD upgrade job - CRDs are installed as part of helm chart - # The upgrade job has issues with kubectl image compatibility + # Disable the upgrade-crds Job: CRDs ship via the chart's crds/ directory, so + # the Job is redundant. (The old kubectl-image-compatibility rationale is + # obsolete in velero 12.x — the Job now runs the velero image natively, not a + # kubectl one — but it stays disabled because cozystack manages CRDs via crds/.) upgradeCRDs: false initContainers: - name: velero-plugin-for-aws