Migrate to Kyma Community Module (Optional)
How to migrate CAP Operator installed via Helm or Manifest to the Kyma Community Module without deleting your deployed applications.
2 minute read
This page provides an overview of the steps required to migrate the CAP Operator installed via Helm or Manifest to the Kyma Community Module without deleting your deployed applications.
Helm Installation
If you have installed the CAP Operator using Helm, please follow the steps below to migrate to the Kyma Community Module:
- Uninstall the CAP Operator Helm release using the following command:
helm uninstall cap-operator -n cap-operator-system
Note: The release name and namespace may vary based on your installation. Please ensure to use the correct release name and namespace in the command.
- Install the CAP Operator using the Kyma Community Module by following the instructions in the Kyma Cluster Installation Documentation.
Manifest Installation (Using CAP Operator Manager)
If you have installed the CAP Operator using a manifest, please follow the steps below to migrate to the Kyma Community Module:
- Add the annotation
operator.sme.sap.com/retain-resources="true"to theCAPOperatorresource to ensure that your deployed applications are not deleted during the migration process. You can do this by running the following command:
kubectl annotate capoperator cap-operator operator.sme.sap.com/retain-resources="true"
Wait till the annotation is applied and the
CAPOperatorresource is ready.Delete the
CAPOperatorresource using the following command:
kubectl delete -f https://github.com/SAP/cap-operator-lifecycle/releases/latest/download/manager_default_CR.yaml
- Delete all the resources created by the manifest installation using the following command:
kubectl delete -f https://github.com/SAP/cap-operator-lifecycle/releases/latest/download/manager_manifest.yaml
- Install the CAP Operator using the Kyma Community Module by following the instructions in the Kyma Cluster Installation Documentation.