Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Prevent CRD deletion on helm delete #1543

Merged
merged 2 commits into from
Nov 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chart/flux/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions chart/flux/templates/helm-operator-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down