How to configure custom actions to be executed when the application is removed from RHACM 2.1?

Solution Verified - Updated -

Issue

  • Custom actions when an Application is deleted in RHACM 2.1.

  • The pre and post ansible actions are executed only during the creation of the application, and the sample provided[1] is for example to create a database before deploying the app. But I have not been able to find if there is any way to configure also custom actions when the application is removed. For example to delete the created database. Is it possible to configure also actions to be executed when the application is removed?

    [1]https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.1/html-single/manage_applications/index#setting-up-ansible

Environment

  • Red Hat Advanced Cluster Management for Kubernetes 2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content