Improve upstream CA

Signed-off-by: Marco Franssen <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-18 13:04:08 +01:00
committed by Marco Franssen
parent 1ee42c53d3
commit fe38a52a95
5 changed files with 31 additions and 24 deletions
+4 -4
View File
@@ -64,10 +64,10 @@ data:
{{- if eq (.enabled | toString) "true" }}
UpstreamAuthority "disk" {
plugin_data {
cert_file_path = "{{ .certFilePath }}"
key_file_path = "{{ .keyFilePath }}"
{{- if ne .bundleFilePath "" }}
bundle_file_path = "{{ .bundleFilePath }}"
cert_file_path = "/run/spire/upstream_ca/tls.crt"
key_file_path = "/run/spire/upstream_ca/tls.key"
{{- if ne .bundle "" }}
bundle_file_path = "/run/spire/upstream_ca/bundle.crt"
{{- end }}
}
}