Skip to content

Commit

Permalink
feat: separate helm chart for CRDs
Browse files Browse the repository at this point in the history
Signed-off-by: Marius Kimmina <[email protected]>
  • Loading branch information
mariuskimmina committed Dec 12, 2024
1 parent 96d36e2 commit 3364200
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions charts/k6-crds/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,19 @@ Selector labels
app.kubernetes.io/name: {{ include "k6-crds.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{- define "k6-crds.customLabels" -}}
{{- if .Values.customLabels }}
{{- with .Values.customLabels }}
{{- toYaml . }}
{{- end }}
{{- end }}
{{- end -}}

{{- define "k6-crds.customAnnotations" -}}
{{- if .Values.customAnnotations }}
{{- with .Values.customAnnotations }}
{{- toYaml . }}
{{- end }}
{{- end }}
{{- end -}}

0 comments on commit 3364200

Please sign in to comment.