From 9921d1df4094beaf30e3ebf23322cbac10fa6612 Mon Sep 17 00:00:00 2001 From: Marco Franssen Date: Tue, 17 Jan 2023 11:54:55 +0100 Subject: [PATCH] Use correct helper function for upstream-ca-secret Signed-off-by: Marco Franssen Signed-off-by: Marco Franssen --- 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 726f40e..e7124d6 100644 --- a/charts/spire/charts/spire-server/templates/_helpers.tpl +++ b/charts/spire/charts/spire-server/templates/_helpers.tpl @@ -78,9 +78,9 @@ Create the name of the service account to use {{- $root := . }} {{- with .Values.upstreamAuthority.disk -}} {{- if eq (.secret.create | toString) "true" -}} -{{ include "spire.fullname" $root }}-upstream-ca +{{ include "spire-server.fullname" $root }}-upstream-ca {{- else -}} -{{ default (include "spire.fullname" $root) .secret.name }} +{{ default (include "spire-server.fullname" $root) .secret.name }} {{- end -}} {{- end -}} {{- end }}