From 3008ab9159b8c373d5f0e7aad81aa172dee38f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fre=CC=81de=CC=81ric=20Gaudet?= Date: Mon, 13 Feb 2023 14:16:39 +0100 Subject: [PATCH] feat: adding podLabels option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frédéric Gaudet --- charts/console/Chart.yaml | 2 +- charts/console/templates/deployment.yaml | 1 + charts/console/values.yaml | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/console/Chart.yaml b/charts/console/Chart.yaml index b80f346764..77a4c155db 100644 --- a/charts/console/Chart.yaml +++ b/charts/console/Chart.yaml @@ -27,7 +27,7 @@ type: application # Versions are expected to follow Semantic Versioning (https://semver.org/) # Chart versions do not track appVersion -version: 0.5.0 +version: 0.5.1 # The app version is the version of the Chart application appVersion: v2.1.1 diff --git a/charts/console/templates/deployment.yaml b/charts/console/templates/deployment.yaml index b4911fd135..d0095daf4d 100644 --- a/charts/console/templates/deployment.yaml +++ b/charts/console/templates/deployment.yaml @@ -20,6 +20,7 @@ spec: {{- end }} labels: {{- include "console.selectorLabels" . | nindent 8 }} + {{- with .Values.podLabels }}{{ toYaml . | nindent 8 }}{{ end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/charts/console/values.yaml b/charts/console/values.yaml index 737c623f98..75ba61a552 100644 --- a/charts/console/values.yaml +++ b/charts/console/values.yaml @@ -26,6 +26,8 @@ serviceAccount: podAnnotations: {} +podLabels: {} + podSecurityContext: runAsUser: 99 fsGroup: 99