// Module included in the following assemblies:
//
// * microshift/running_applications/microshift-deleting-resource-manifests.adoc

:_mod-docs-content-type: PROCEDURE
[id="microshift-manifests-upgrade-scenario-rpm_{context}"]
= Upgrading manifests for RPM systems

[role="_abstract"]
To update resources while preserving data on RPM-based {microshift-short} systems, you can create new manifests for changes and deletions, and then move the deletion manifests into a `delete` subdirectory.

Use the following procedure to remove some resources while retaining others to preserve data.

.Procedure

. Identify the manifest that requires updating.
. Create new manifests to be applied in the manifest directories.
. Create new manifests for resource deletion. It is not necessary to include the `spec` in these manifests. See link:https://docs.redhat.com/en/documentation/red_hat_build_of_microshift/{ocp-version}/html/running_applications/applications-with-microshift#microshift-applying-manifests-example_applications-microshift[Using manifests example] to create new manifests using the example.
. Use the procedure in "Removing manifests for RPM systems" to create `delete` subdirectories and place the manifests created for resource deletion in this path.