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 }}