Dear,
We have an application on witch we have create a scheduled policy (every day at midnight).
However we would like to trigger the policy automatically every time the application is upgraded via helm chart, using the pre-upgrade hook of helm.
This would allow to take a backup before any upgrade is performed and being able to rollback if something goes wrong.
Triggering the policy manually is not feasible in our context because clusters are managed via GitOps striving for minimal human activities.
I have searched over the web but didn’t find nothing to trigger the policy from helm.
Thank you in advance.
Matteo.