Avoid any remote pruning in sylva-units delete hook
What does this MR do and why?
Avoid any remote pruning in sylva-units delete hook
- Suspend helmreleases targeting remote cluster to prevent flux from attempting to uninstall them
- Use
app.kubernetes.io/instanceas selector as it is set on all units - Introduce a namespaced "_kubectl" command to simplify script
CI script is also revisited (in a separate commit) to fail before deleting the workload cluster namespace if there are some remaining resources. This will ease the troubleshooting of pre-delete-hook errors.
Relates to: #1216 (closed) Closes: #1241 (closed)
Edited by Francois Eleouet