openshift / openshift/oadp-operator
Test OLMv0 to OLMv1 upgrade path/migration
Open
@kaovilai is already working on this.
Since May 5, 2026.
lifecycle/rotten
- Dominant language
- Go
- Stars
- 92
- Forks
- 93
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 43
Description
Overview
This issue tracks the work to add end-to-end tests covering the upgrade/migration path from OLMv0 (classic OLM via Subscription/ClusterServiceVersion) to OLMv1 (via ClusterExtension API) for the OADP operator.
Background
PR #2160 adds OLMv1 lifecycle tests (install, upgrade within OLMv1, CRD validation, deprecation checks). However, there is currently no test coverage for the scenario where an operator already installed via OLMv0 is migrated or upgraded to be managed by OLMv1.
Goals
- Validate that an OADP operator instance installed via OLMv0 (
Subscription+OperatorGroup) can be successfully migrated to OLMv1 (ClusterExtension). - Ensure CRDs, existing
DataProtectionApplicationCRs, and Velero resources survive the migration without data loss or downtime. - Verify that the controller-manager pod transitions cleanly under OLMv1 management post-migration.
- Cover any necessary RBAC, namespace, or
installModechanges (e.g.,inline.watchNamespacein OLMv1 vs.watchNamespaceenv var /OperatorGroupscope in OLMv0).
References
- PR #2160: https://github.com/openshift/oadp-operator/pull/2160
- OLMv0 install mode in CSV: https://github.com/openshift/oadp-operator/blob/7e53a850ffc68b183e6fd7dd3cc134170b8b7f76/config/manifests/bases/oadp-operator.clusterserviceversion.yaml#L467-L475
- OLMv0 watchNamespace config: https://github.com/openshift/oadp-operator/blob/7e53a850ffc68b183e6fd7dd3cc134170b8b7f76/config/manager/manager.yaml#L63-L66
Requested by @kaovilai.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.