Allow KMS type to be specified in the helm chart template if specified on the command line.

This commit is contained in:
vijayjt 2022-05-05 00:10:59 +01:00
parent 88a1bf17cf
commit 02c0ae81ac

View file

@ -68,6 +68,10 @@ inject:
federateRoots: [] federateRoots: []
crt: {{ .Intermediate }} crt: {{ .Intermediate }}
key: {{ .IntermediateKey }} key: {{ .IntermediateKey }}
{{- if .Kms }}
kms:
type: {{ lower (.Kms.Type | toString) }}
{{- end }}
{{- if .EnableSSH }} {{- if .EnableSSH }}
ssh: ssh:
hostKey: {{ .Ssh.HostKey }} hostKey: {{ .Ssh.HostKey }}