Skip to content

Commit e7c3d2e

Browse files
committed
chore: update promotion task crd
Signed-off-by: Chen Keinan <[email protected]>
1 parent 18129be commit e7c3d2e

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
{{- define "gitops-operator.crds.promotion-task" }}
22
{{- if .Values.crds.install }}
3-
---
43
apiVersion: apiextensions.k8s.io/v1
54
kind: CustomResourceDefinition
65
metadata:
7-
annotations:
8-
controller-gen.kubebuilder.io/version: v0.19.0
96
name: promotiontasks.codefresh.io
7+
annotations:
8+
{{- if .Values.crds.keep }}
9+
"helm.sh/resource-policy": keep
10+
{{- end }}
11+
{{- with .Values.crds.annotations }}
12+
{{- toYaml . | nindent 4 }}
13+
{{- end }}
14+
labels:
15+
app.kubernetes.io/name: promotiontasks.codefresh.io
16+
app.kubernetes.io/part-of: gitops-operator
17+
{{- with .Values.crds.additionalLabels }}
18+
{{- toYaml . | nindent 4}}
19+
{{- end }}
1020
spec:
1121
group: codefresh.io
1222
names:
@@ -733,4 +743,4 @@ spec:
733743
subresources:
734744
status: {}
735745
{{- end }}
736-
{{- end }}
746+
{{- end }}

0 commit comments

Comments
 (0)