From d10756f25a2ddba1f6616396f3b0ff7d3fa8c60a Mon Sep 17 00:00:00 2001 From: Philipp Riederer Date: Wed, 23 Oct 2024 11:27:59 +0200 Subject: [PATCH] allow specifying pod Labels --- charts/wave/templates/deployment.yaml | 3 +++ charts/wave/values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/charts/wave/templates/deployment.yaml b/charts/wave/templates/deployment.yaml index ab26187c..ed830436 100644 --- a/charts/wave/templates/deployment.yaml +++ b/charts/wave/templates/deployment.yaml @@ -18,6 +18,9 @@ spec: {{- end }} labels: {{ include "wave-labels.chart" . | indent 8 }} +{{- with .Values.podLabels }} +{{- toYaml . | nindent 8 }} +{{- end }} spec: containers: - image: "{{ .Values.image.name }}:{{ .Values.image.tag }}" diff --git a/charts/wave/values.yaml b/charts/wave/values.yaml index c7c98f93..45d2507c 100644 --- a/charts/wave/values.yaml +++ b/charts/wave/values.yaml @@ -76,3 +76,4 @@ topologySpreadConstraints: [] # extra annotations for wave pods podAnnotations: {} +podLabels: {}