Make spire agent server address configurable

If your server is not in the same namespace or cluster as the
agent, you need a config option to specify where it is.

Signed-off-by: Kevin Fox <[email protected]>
This commit is contained in:
Kevin Fox
2023-03-06 06:40:58 -08:00
committed by kfox1111
parent cb627f04b2
commit f0b7f5bd8d
5 changed files with 12 additions and 2 deletions
@@ -72,3 +72,11 @@ Create the name of the service account to use
{{- printf "%s/%s" .image.registry .image.repository -}}
{{- end -}}
{{- end }}
{{- define "spire-agent.server-address" }}
{{- if .Values.server.address }}
{{- .Values.server.address }}
{{- else }}
{{ .Release.Name }}-server
{{- end }}
{{- end }}