[Backport release-1.1] [platform] Prevent installed packages deletion (#2298)

# Description
Backport of #2273 to `release-1.1`.
This commit is contained in:
Andrei Kvapil authored and GitHub committed 2026-03-30 20:04:55 +02:00
commit 7880d55587
1 file changed
+4
@@ -13,6 +13,8 @@ apiVersion: cozystack.io/v1alpha1
kind: Package
metadata:
name: {{ $name }}
annotations:
helm.sh/resource-policy: keep
spec:
variant: {{ $variant }}
{{- if $components }}
@@ -40,6 +42,8 @@ apiVersion: cozystack.io/v1alpha1
kind: Package
metadata:
name: {{ $name }}
annotations:
helm.sh/resource-policy: keep
spec:
variant: {{ $variant }}
{{- end }}