Commit graph

2 commits

Author SHA1 Message Date
Paul Meyer
b4a6ee963c
cli: create namespaced folders for upgrade backups (#1702)
Resource names are only unique per kind+ns. Without this patch it
might happen that there are two resources with the same name
in different namespaces. Upgrade might fail in that case.

Co-authored-by: Otto Bittner <cobittner@posteo.net>
2023-05-02 12:57:24 +02:00
Otto Bittner
e7c7e35f51 cli: create backups for CRDs and their resources
These backups could be used in case an upgrade
misbehaves after helm declared it as successful.
The manual backups are required as helm-rollback
won't touch custom resources and changes to CRDs
delete resources of the old version.
2023-01-05 16:52:06 +01:00