diff --git a/pkg/action/package.go b/pkg/action/package.go index 92a9a8cb6..963883707 100644 --- a/pkg/action/package.go +++ b/pkg/action/package.go @@ -57,7 +57,7 @@ type Package struct { CertFile string KeyFile string CaFile string - InsecureSkipTLSverify bool + InsecureSkipTLSVerify bool } const ( diff --git a/pkg/cmd/package.go b/pkg/cmd/package.go index fc56e936a..36a7dff73 100644 --- a/pkg/cmd/package.go +++ b/pkg/cmd/package.go @@ -76,7 +76,7 @@ func newPackageCmd(out io.Writer) *cobra.Command { } registryClient, err := newRegistryClient(client.CertFile, client.KeyFile, client.CaFile, - client.InsecureSkipTLSverify, client.PlainHTTP, client.Username, client.Password) + client.InsecureSkipTLSVerify, client.PlainHTTP, client.Username, client.Password) if err != nil { return fmt.Errorf("missing registry client: %w", err) } @@ -130,7 +130,7 @@ func newPackageCmd(out io.Writer) *cobra.Command { f.StringVar(&client.Password, "password", "", "chart repository password where to locate the requested chart") f.StringVar(&client.CertFile, "cert-file", "", "identify HTTPS client using this SSL certificate file") f.StringVar(&client.KeyFile, "key-file", "", "identify HTTPS client using this SSL key file") - f.BoolVar(&client.InsecureSkipTLSverify, "insecure-skip-tls-verify", false, "skip tls certificate checks for the chart download") + f.BoolVar(&client.InsecureSkipTLSVerify, "insecure-skip-tls-verify", false, "skip tls certificate checks for the chart download") f.BoolVar(&client.PlainHTTP, "plain-http", false, "use insecure HTTP connections for the chart download") f.StringVar(&client.CaFile, "ca-file", "", "verify certificates of HTTPS-enabled servers using this CA bundle")