@ -122,7 +122,7 @@ func newInstallCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
return compInstall ( args , toComplete , client )
} ,
RunE : func ( _ * cobra . Command , args [ ] string ) error {
rel , err := runInstall ( args , client , valueOpts, out )
rel , err := runInstall ( args , client , cfg, valueOpts, out )
if err != nil {
return errors . Wrap ( err , "INSTALLATION FAILED" )
}
@ -174,7 +174,7 @@ func addInstallFlags(cmd *cobra.Command, f *pflag.FlagSet, client *action.Instal
}
}
func runInstall ( args [ ] string , client * action . Install , valueOpts * values . Options , out io . Writer ) ( * release . Release , error ) {
func runInstall ( args [ ] string , client * action . Install , cfg * action . Configuration , valueOpts * values . Options , out io . Writer ) ( * release . Release , error ) {
debug ( "Original chart version: %q" , client . Version )
if client . Version == "" && client . Devel {
debug ( "setting version to >0.0.0-0" )
@ -227,6 +227,7 @@ func runInstall(args []string, client *action.Install, valueOpts *values.Options
Keyring : client . ChartPathOptions . Keyring ,
SkipUpdate : false ,
Getters : p ,
RegistryClient : cfg . RegistryClient ,
RepositoryConfig : settings . RepositoryConfig ,
RepositoryCache : settings . RepositoryCache ,
Debug : settings . Debug ,