From 312b8a3c0510a91d89a798b42c2e94b540470569 Mon Sep 17 00:00:00 2001 From: Angel Kafazov Date: Mon, 23 Dec 2024 11:55:05 +0200 Subject: [PATCH] chore(common): bump version to 0.2.4 and fix serviceAccountName template (#159) On-behalf-of: @SAP angel.kafazov@sap.com Signed-off-by: Angel Kafazov --- charts/common/Chart.yaml | 2 +- charts/common/templates/_deploymentHelpers.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index 4625734ed..fc1a3f45b 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -4,4 +4,4 @@ description: A Helm chart containing reuse templates type: library -version: 0.2.3 +version: 0.2.4 diff --git a/charts/common/templates/_deploymentHelpers.tpl b/charts/common/templates/_deploymentHelpers.tpl index 486a71a13..a36c0ec82 100644 --- a/charts/common/templates/_deploymentHelpers.tpl +++ b/charts/common/templates/_deploymentHelpers.tpl @@ -137,7 +137,7 @@ securityContext: runAsNonRoot: true seccompProfile: type: RuntimeDefault -serviceAccountName: {{ include "common.entity.name" }} +serviceAccountName: {{ include "common.entity.name" . }} automountServiceAccountToken: {{ not (eq (.Values.security).mountServiceAccountToken false) }} {{- end }}