File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
charts/gitops-runtime/templates/_components/gitops-operator/crds Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 11{{- define "gitops-operator.crds.promotion-task" }}
22 {{- if .Values.crds.install }}
3- ---
43apiVersion : apiextensions.k8s.io/v1
54kind : CustomResourceDefinition
65metadata :
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 }}
1020spec :
1121 group : codefresh.io
1222 names :
@@ -733,4 +743,4 @@ spec:
733743 subresources :
734744 status : {}
735745 {{- end }}
736- {{- end }}
746+ {{- end }}
You can’t perform that action at this time.
0 commit comments