Skip to content

Test OLMv0 to OLMv1 upgrade path/migration #2193

@coderabbitai

Description

@coderabbitai

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 DataProtectionApplication CRs, 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 installMode changes (e.g., inline.watchNamespace in OLMv1 vs. watchNamespace env var / OperatorGroup scope in OLMv0).

References

Requested by @kaovilai.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions