Skip to content

[Backport release-1.0] fix(installer): add keep annotation to Namespace and update migration script#2123

Merged
kvaps merged 1 commit intorelease-1.0from
backport-2122-to-release-1.0
Feb 28, 2026
Merged

[Backport release-1.0] fix(installer): add keep annotation to Namespace and update migration script#2123
kvaps merged 1 commit intorelease-1.0from
backport-2122-to-release-1.0

Conversation

@github-actions
Copy link

Description

Backport of #2122 to release-1.0.

… script

Add helm.sh/resource-policy=keep annotation to the cozy-system Namespace
in the installer helm chart. This prevents Helm from deleting the
namespace when the HelmRelease is removed, which would otherwise destroy
all other HelmReleases within it.

Update the migration script to annotate the cozy-system namespace and
cozystack-version ConfigMap with helm.sh/resource-policy=keep before
generating the Package resource.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Andrei Kvapil <[email protected]>
(cherry picked from commit c83e41e)
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. bug Something isn't working labels Feb 28, 2026
@kvaps kvaps merged commit 3033e71 into release-1.0 Feb 28, 2026
5 checks passed
@kvaps kvaps deleted the backport-2122-to-release-1.0 branch February 28, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant