From a00c97ba875164dda6596d85570eb9fd5e4992c1 Mon Sep 17 00:00:00 2001 From: Kevin Fox Date: Mon, 6 Mar 2023 06:44:21 -0800 Subject: [PATCH] Incorperate feedback Signed-off-by: Kevin Fox --- charts/spire/charts/spire-server/templates/_helpers.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/spire/charts/spire-server/templates/_helpers.tpl b/charts/spire/charts/spire-server/templates/_helpers.tpl index 2d094f8..39f367c 100644 --- a/charts/spire/charts/spire-server/templates/_helpers.tpl +++ b/charts/spire/charts/spire-server/templates/_helpers.tpl @@ -94,8 +94,8 @@ Create the name of the service account to use {{- end }} {{- define "spire-server.serviceAccountAllowedList" }} -{{- if ne (len .Values.nodeAttestor.k8sPsat.serviceAccountsAllowed) 0 }} -{{- .Values.nodeAttestor.k8sPsat.serviceAccountsAllowed | toJson }} +{{- if ne (len .Values.nodeAttestor.k8sPsat.serviceAccountAllowList) 0 }} +{{- .Values.nodeAttestor.k8sPsat.serviceAccountAllowList | toJson }} {{- else }} [{{ printf "%s:%s-agent" .Release.Namespace .Release.Name | quote }}] {{- end }}