mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-06 03:57:52 +09:00
[Backport release-1.1] [platform] Prevent installed packages deletion (#2298)
# Description Backport of #2273 to `release-1.1`.
This commit is contained in:
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 }}
|
||||
|
||||
Reference in new issue
Block a user