A big progress

A big progress
This commit is contained in:
2023-12-20 22:19:08 +01:00
parent 398ffeb963
commit 8e7a8998d3
10 changed files with 243 additions and 22 deletions

View File

@ -57,6 +57,7 @@ func Sync(definedWorkdirPath, sshKeyPath string, conf *config.Config, dry bool,
// Init the helm client
hh := helmhelper.NewHelm()
for _, ch := range conf.Charts {
ch.ExtensionsHandler(configPath)
err := ch.VersionHandler(workdirPath, hh)
if err != nil {
return err
@ -107,7 +108,7 @@ func Sync(definedWorkdirPath, sshKeyPath string, conf *config.Config, dry bool,
return err
}
if err := conf.Releases.PopulateRepositories(conf.Repositories); err != nil {
if err := conf.Releases.PopulateRepositories(conf.Repositories, conf.Mirrors); err != nil {
return err
}