From 2872de1e9ad800bb3ab4a71ba0c4534eae7d2bb6 Mon Sep 17 00:00:00 2001 From: Arturo Haro <41362321+arturohu@users.noreply.github.com> Date: Thu, 12 May 2022 16:37:39 +0200 Subject: [PATCH] Add custom podLabels from values.yaml --- charts/quantumleap/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/quantumleap/templates/deployment.yaml b/charts/quantumleap/templates/deployment.yaml index 66b0eb2..648a2cd 100644 --- a/charts/quantumleap/templates/deployment.yaml +++ b/charts/quantumleap/templates/deployment.yaml @@ -23,6 +23,9 @@ spec: labels: app: {{ template "quantumleap.name" . }} release: {{ .Release.Name }} +{{- with .Values.podLabels }} +{{ toYaml . | indent 8 }} +{{- end }} spec: {{- if .Values.priorityClassName }} priorityClassName: {{ .Values.priorityClassName }}