Use correct helper function for upstream-ca-secret
Signed-off-by: Marco Franssen <[email protected]> Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user