Skip to content

Commit

Permalink
Update template to include podLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkDPierce committed Oct 30, 2023
1 parent 7ce63b1 commit c0412c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/k6-operator/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ Create the name of the service account to use
{{- end }}
{{- end -}}

{{- define "k6-operator.podLabels" -}}
{{- if .Values.podLabels }}
{{- with .Values.podLabels }}
{{- toYaml . }}
{{- end }}
{{- end }}
{{- end -}}

{{- define "k6-operator.customAnnotations" -}}
{{- if .Values.customAnnotations }}
{{- with .Values.customAnnotations }}
Expand Down

0 comments on commit c0412c2

Please sign in to comment.