Opts pour helm repo

This commit is contained in:
admju
2024-09-13 10:53:28 +00:00
parent dfa9fe3f1e
commit 9f0218a4da
4 changed files with 108 additions and 102 deletions

View File

@@ -41,7 +41,8 @@ func (this *InstallClass) ChartRepo() (error) {
log.Log().Info().Msg(fmt.Sprintf(" >> Helm Repo : %s", v.Repository.Name))
repo := helm.HelmRepo{Name: v.Repository.Name,
Repository: v.Repository.Url,
ForceUpdate: v.Repository.ForceUpdate}
ForceUpdate: v.Repository.ForceUpdate,
Opts: v.Repository.Opts}
res, err := this.commandHelm.AddRepository(repo)
if err != nil {
log.Log().Info().Msg(fmt.Sprintf(" << %s ", err))