Skip to content

Commit

Permalink
chore: merge pod labels with common pod labels (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisingal authored Sep 25, 2024
1 parent 86caa79 commit 492e076
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions helm/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ spec:
metadata:
labels:
release: {{ .Release.Name }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.commonPodLabels }}
{{- with merge .Values.podLabels .Values.commonPodLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.commonPodAnnotations }}
Expand Down

0 comments on commit 492e076

Please sign in to comment.