@@ -115,7 +115,7 @@ type Install struct {
115
115
116
116
// ChartPathOptions captures common options used for controlling chart paths
117
117
type ChartPathOptions struct {
118
- CAFile string // --ca-file
118
+ CaFile string // --ca-file
119
119
CertFile string // --cert-file
120
120
KeyFile string // --key-file
121
121
InsecureSkipTLSverify bool // --insecure-skip-verify
@@ -759,7 +759,7 @@ func (c *ChartPathOptions) LocateChart(name string, settings *cli.EnvSettings) (
759
759
Getters : getter .All (settings ),
760
760
Options : []getter.Option {
761
761
getter .WithPassCredentialsAll (c .PassCredentialsAll ),
762
- getter .WithTLSClientConfig (c .CertFile , c .KeyFile , c .CAFile ),
762
+ getter .WithTLSClientConfig (c .CertFile , c .KeyFile , c .CaFile ),
763
763
getter .WithInsecureSkipVerifyTLS (c .InsecureSkipTLSverify ),
764
764
getter .WithPlainHTTP (c .PlainHTTP ),
765
765
getter .WithBasicAuth (c .Username , c .Password ),
@@ -778,7 +778,7 @@ func (c *ChartPathOptions) LocateChart(name string, settings *cli.EnvSettings) (
778
778
}
779
779
if c .RepoURL != "" {
780
780
chartURL , err := repo .FindChartInAuthAndTLSAndPassRepoURL (c .RepoURL , c .Username , c .Password , name , version ,
781
- c .CertFile , c .KeyFile , c .CAFile , c .InsecureSkipTLSverify , c .PassCredentialsAll , getter .All (settings ))
781
+ c .CertFile , c .KeyFile , c .CaFile , c .InsecureSkipTLSverify , c .PassCredentialsAll , getter .All (settings ))
782
782
if err != nil {
783
783
return "" , err
784
784
}
0 commit comments