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

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

[role="_abstract"]
To update resources while preserving data on OSTree-based {microshift-short} systems, you can create new manifests for changes and deletions and use the OSTree removal procedure for the `delete` directory.

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

[IMPORTANT]
====
For OSTree systems, the `delete` subdirectories are read-only.
====

.Procedure

. Identify the manifest that needs updating.
. Create a new manifest to apply in the manifest directories. 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.
. Create a new manifest for resource deletion to be placed in the `delete` subdirectories.
. Use the procedure in "Removing manifests for OSTree systems" to remove the manifests.