:_mod-docs-content-type: ASSEMBLY
[id="oc-mirror-migration-v1-to-v2"]
= Migrating from oc-mirror plugin v1 to v2
include::_attributes/common-attributes.adoc[]
:context: oc-mirror-migration-v1-to-v2

toc::[]

[role="_abstract"]
The oc-mirror v2 plugin introduces major changes to image mirroring workflows. Understand the migration process and check for compatibility with oc-mirror plugin v2 to ensure a successful migration.

[IMPORTANT]
====
You must manually update the configurations by modifying the API version and removing deprecated fields. For more information, see "Changes from oc-mirror plugin v1 to v2".
====

// Differences between oc-mirror plugin v1 and v2
include::modules/oc-mirror-migration-differences.adoc[leveloffset=+1]

// Migrating from oc-mirror plugin v1 to oc-mirror plugin v2
include::modules/oc-mirror-migration-process.adoc[leveloffset=+1]

[role="_additional-resources"]
[id="additional-resources_{context}"]
== Additional resources

* xref:../disconnected/about-installing-oc-mirror-v2#oc-mirror-workflows-partially-disconnected-v2_about-installing-oc-mirror-v2[Mirroring an image set in a partially disconnected environment]
* xref:../disconnected/about-installing-oc-mirror-v2#oc-mirror-workflows-fully-disconnected-v2_about-installing-oc-mirror-v2[Mirroring an image set in a fully disconnected environment]
* For details regarding configuration changes, see xref:../disconnected/oc-mirror-migration-v1-to-v2#oc-mirror-migration-differences_oc-mirror-migration-v1-to-v2[Changes from oc-mirror plugin v1 to v2].
* For more information about deleting images, see xref:../disconnected/about-installing-oc-mirror-v2#oc-mirror-procedure-delete-v2_about-installing-oc-mirror-v2[Deletion of images from your disconnected environment].
