Add optional UpstreamAuthority (#79)

Co-authored-by: Marco Franssen <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Ken Huffman
2023-02-18 13:04:08 +01:00
committed by Marco Franssen
co-authored by Marco Franssen
parent ddf4be3d3d
commit ce86fb97e1
4 changed files with 43 additions and 0 deletions
@@ -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 {