Improve upstream CA
Signed-off-by: Marco Franssen <[email protected]> Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{{- if eq (.Values.server.config.upstreamAuthority.disk.enabled | toString) "true"}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "spire.fullname" . }}-upstream-ca
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
{{- include "spire.server.labels" . | nindent 4 }}
|
||||
data:
|
||||
tls.crt: {{ .Values.server.config.upstreamAuthority.disk.certificate | toYaml | indent 2 }}
|
||||
tls.key: {{ .Values.server.config.upstreamAuthority.disk.key | toYaml | indent 2 }}
|
||||
{{- if ne .Values.server.config.upstreamAuthority.disk.bundle ""}}
|
||||
bundle.crt: {{ .Values.server.config.upstreamAuthority.disk.bundle | toYaml | indent 2 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user