openshift / openshift/oadp-operator

Test OLMv0 to OLMv1 upgrade path/migration

Open
#2,193 2 comments 0 reactions 1 assignee View on GitHub

@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 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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.