From 02c0ae81ac07af43d7009621919f4c3248750800 Mon Sep 17 00:00:00 2001 From: vijayjt <2975049+vijayjt@users.noreply.github.com> Date: Thu, 5 May 2022 00:10:59 +0100 Subject: [PATCH] Allow KMS type to be specified in the helm chart template if specified on the command line. --- pki/helm.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pki/helm.go b/pki/helm.go index 0a2f7f02..e13bb97c 100644 --- a/pki/helm.go +++ b/pki/helm.go @@ -68,6 +68,10 @@ inject: federateRoots: [] crt: {{ .Intermediate }} key: {{ .IntermediateKey }} + {{- if .Kms }} + kms: + type: {{ lower (.Kms.Type | toString) }} + {{- end }} {{- if .EnableSSH }} ssh: hostKey: {{ .Ssh.HostKey }}