From 553b49cac59c7c577c32627a48380177638e03cf Mon Sep 17 00:00:00 2001 From: Abhishek Sharma Date: Thu, 7 Sep 2023 23:27:21 +0530 Subject: [PATCH] 190: Adding variables in ClusterSPIFFEID identity for sentinel Signed-off-by: Abhishek Sharma --- helm-charts/0.21.0/charts/sentinel/templates/identity.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-charts/0.21.0/charts/sentinel/templates/identity.yaml b/helm-charts/0.21.0/charts/sentinel/templates/identity.yaml index 48cc37aa..c7302d2c 100644 --- a/helm-charts/0.21.0/charts/sentinel/templates/identity.yaml +++ b/helm-charts/0.21.0/charts/sentinel/templates/identity.yaml @@ -23,5 +23,5 @@ spec: app.kubernetes.io/name: {{ include "sentinel.fullname" . }} app.kubernetes.io/part-of: {{ .Values.global.vsecm.namespace }} workloadSelectorTemplates: - - "k8s:ns:{{`{{ .PodMeta.Namespace }}`}}" - - "k8s:sa:{{`{{ .PodSpec.ServiceAccountName }}`}}" + - "k8s:ns:{{ .Values.global.vsecm.namespace }}" + - "k8s:sa:{{ include "sentinel.serviceAccountName" . }}"