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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user