mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
Merge pull request #1989 from LinuxSuRen/feat/addon-helm-wait
feat: add the wait option for the helm addon config
This commit is contained in:
commit
13e3a9c3ab
|
|
@ -36,6 +36,7 @@ type Chart struct {
|
|||
Version string `yaml:"version" json:"version,omitempty"`
|
||||
ValuesFile string `yaml:"valuesFile" json:"valuesFile,omitempty"`
|
||||
Values []string `yaml:"values" json:"values,omitempty"`
|
||||
Wait bool `yaml:"wait" json:"wait,omitempty"`
|
||||
}
|
||||
|
||||
type Yaml struct {
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ func InstallChart(kubeConf *common.KubeConf, addon *kubekeyapiv1alpha2.Addon, ku
|
|||
client.Keyring = defaultKeyring()
|
||||
client.RepoURL = addon.Sources.Chart.Repo
|
||||
client.Version = addon.Sources.Chart.Version
|
||||
client.Wait = addon.Sources.Chart.Wait
|
||||
//client.Force = true
|
||||
|
||||
if client.Version == "" && client.Devel {
|
||||
|
|
|
|||
Loading…
Reference in New Issue