From 8839935b1fbec455ebeb1401a2d943094ce22323 Mon Sep 17 00:00:00 2001 From: Noah Kalish Date: Sat, 8 Feb 2025 23:34:19 +0200 Subject: [PATCH] Add ability to set additional labels for pods --- dev/helm/templates/deployment.yaml | 3 +++ dev/helm/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/dev/helm/templates/deployment.yaml b/dev/helm/templates/deployment.yaml index e6dc786b..80f6548c 100644 --- a/dev/helm/templates/deployment.yaml +++ b/dev/helm/templates/deployment.yaml @@ -14,6 +14,9 @@ spec: metadata: labels: {{- include "wiki.selectorLabels" . | nindent 8 }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} annotations: {{- toYaml .Values.podAnnotations | nindent 8 }} spec: diff --git a/dev/helm/values.yaml b/dev/helm/values.yaml index 8e5e3667..5640faab 100644 --- a/dev/helm/values.yaml +++ b/dev/helm/values.yaml @@ -44,6 +44,8 @@ startupProbe: podAnnotations: {} +podLabels: {} + podSecurityContext: {} # fsGroup: 2000