diff --git a/charts/k6-crds/templates/_helpers.tpl b/charts/k6-crds/templates/_helpers.tpl index ab079916..d1d7836e 100644 --- a/charts/k6-crds/templates/_helpers.tpl +++ b/charts/k6-crds/templates/_helpers.tpl @@ -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 -}}