From a227a28838a82f610b890897ebbcffb0254f8e8c Mon Sep 17 00:00:00 2001 From: Dominique Vernier Date: Fri, 15 Mar 2019 11:06:59 -0400 Subject: [PATCH] Add settings.InitTLS after parsing the cmd line Signed-off-by: Dominique Vernier --- cmd/helm/helm.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/helm/helm.go b/cmd/helm/helm.go index b815568cb..bab4bc2c2 100644 --- a/cmd/helm/helm.go +++ b/cmd/helm/helm.go @@ -155,6 +155,9 @@ func newRootCmd(args []string) *cobra.Command { // set defaults from environment settings.Init(flags) + // set defaults for TLS from environment + settings.InitTLS(flags) + // Find and add plugins loadPlugins(cmd, out)