From 01e791d503784c8414504ad90c9e7df45a3d33bc Mon Sep 17 00:00:00 2001 From: Angel Kafazov Date: Tue, 7 Jan 2025 12:33:19 +0200 Subject: [PATCH] fix (template): remove call to "common.entity.name" from other common templates 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, 1 insertion(+), 3 deletions(-) diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index f3780532d..3463935e2 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.6 +version: 0.2.7 diff --git a/charts/common/templates/_deploymentHelpers.tpl b/charts/common/templates/_deploymentHelpers.tpl index a36c0ec82..512f577ee 100644 --- a/charts/common/templates/_deploymentHelpers.tpl +++ b/charts/common/templates/_deploymentHelpers.tpl @@ -137,8 +137,6 @@ securityContext: runAsNonRoot: true seccompProfile: type: RuntimeDefault -serviceAccountName: {{ include "common.entity.name" . }} -automountServiceAccountToken: {{ not (eq (.Values.security).mountServiceAccountToken false) }} {{- end }} {{- define "common.spec.securityContext" -}}