Force --reset-values on sync

Resolves #63
This commit is contained in:
Yusuke KUOKA
2018-05-11 03:04:36 +09:00
parent 26ffdc2f24
commit c41dbc4c9f
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ func (helm *execer) UpdateDeps(chart string) error {
}
func (helm *execer) SyncRelease(name, chart string, flags ...string) error {
out, err := helm.exec(append([]string{"upgrade", "--install", name, chart}, flags...)...)
out, err := helm.exec(append([]string{"upgrade", "--install", "--reset-values", name, chart}, flags...)...)
helm.write(out)
return err
}