Support Nested Spire with External Agent (#117)

This commit is contained in:
kfox1111
2023-08-16 16:35:41 +02:00
committed by GitHub
parent f40743d484
commit ae8941c49d
18 changed files with 383 additions and 2 deletions
@@ -153,6 +153,14 @@ Create the name of the service account to use
{{- $config | toYaml }}
{{- end }}
{{- define "spire-server.upstream-spire-address" }}
{{- if ne (len (dig "spire" "upstreamSpireAddress" "" .Values.global)) 0 }}
{{- print .Values.global.spire.upstreamSpireAddress }}
{{- else }}
{{- print .Values.upstreamAuthority.spire.server.address }}
{{- end }}
{{- end }}
{{/*
Tornjak specific section
*/}}