Add optional UpstreamAuthority (#79)
Co-authored-by: Marco Franssen <[email protected]> Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
co-authored by
Marco Franssen
parent
ddf4be3d3d
commit
ce86fb97e1
@@ -59,6 +59,20 @@ data:
|
||||
config_map = "{{ include "spire.fullname" . }}-bundle"
|
||||
}
|
||||
}
|
||||
|
||||
{{- with .Values.server.config.upstreamAuthority.disk }}
|
||||
{{- if eq (.enabled | toString) "true" }}
|
||||
UpstreamAuthority "disk" {
|
||||
plugin_data {
|
||||
cert_file_path = "{{ .certFilePath }}"
|
||||
key_file_path = "{{ .keyFilePath }}"
|
||||
{{- if ne .bundleFilePath "" }}
|
||||
bundle_file_path = "{{ .bundleFilePath }}"
|
||||
{{- end }}
|
||||
}
|
||||
}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
}
|
||||
|
||||
health_checks {
|
||||
|
||||
Reference in New Issue
Block a user