Przeglądaj źródła

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

vijayjt 4 lat temu
rodzic
commit
02c0ae81ac
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      pki/helm.go

+ 4 - 0
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 }}