Skip to content

Commit 73d3afc

Browse files
committed
Reinclude the few helm wrapper lines (top & bottom of file)
1 parent 104ab7b commit 73d3afc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

charts/dragonfly-operator/templates/crds.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
{{- if .Values.crds.install }}
12
apiVersion: apiextensions.k8s.io/v1
23
kind: CustomResourceDefinition
34
metadata:
45
annotations:
56
controller-gen.kubebuilder.io/version: v0.17.2
7+
{{- if .Values.crds.keep }}
8+
"helm.sh/resource-policy": keep
9+
{{- end }}
10+
{{- with .Values.crds.annotations }}
11+
{{- toYaml . | nindent 4 }}
12+
{{- end }}
613
name: dragonflies.dragonflydb.io
714
spec:
815
group: dragonflydb.io
@@ -7055,3 +7062,4 @@ spec:
70557062
storage: true
70567063
subresources:
70577064
status: {}
7065+
{{- end }}

0 commit comments

Comments
 (0)