From 1ccd60f5b598fabe3b30df405bfa88ba1ec4cd0d Mon Sep 17 00:00:00 2001 From: Henrique Fernandes Date: Thu, 22 Nov 2018 09:46:45 -0200 Subject: [PATCH 1/2] Prevent CRD deletion on helm delete --- chart/flux/templates/helm-operator-crd.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chart/flux/templates/helm-operator-crd.yaml b/chart/flux/templates/helm-operator-crd.yaml index 0271e9ad5..1c759ae14 100644 --- a/chart/flux/templates/helm-operator-crd.yaml +++ b/chart/flux/templates/helm-operator-crd.yaml @@ -10,6 +10,8 @@ metadata: chart: {{ template "flux.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} + annotations: + "helm.sh/resource-policy": keep spec: group: flux.weave.works names: @@ -78,6 +80,8 @@ metadata: chart: {{ template "flux.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} + annotations: + "helm.sh/resource-policy": keep spec: group: helm.integrations.flux.weave.works names: From a064bb184c447cc70fb87e6e88066299087885d3 Mon Sep 17 00:00:00 2001 From: Henrique Fernandes Date: Thu, 22 Nov 2018 09:52:19 -0200 Subject: [PATCH 2/2] Bump chart --- chart/flux/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/flux/Chart.yaml b/chart/flux/Chart.yaml index 73626c78c..86a842dac 100644 --- a/chart/flux/Chart.yaml +++ b/chart/flux/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "1.8.1" description: Flux is a tool that automatically ensures that the state of a cluster matches what is specified in version control name: flux -version: 0.5.1 +version: 0.5.2 home: https://weave.works sources: - https://github.com/weaveworks/flux