mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-19 04:05:26 +02:00
Add option to suppress diff on apply (#1092)
* Add option to suppress diff on apply Add --supress-diff option on apply. Usable for fresh installs when a lot of output is produces by diff. Resolves #458 * fix tests for suppress-diff
This commit is contained in:
@@ -100,7 +100,7 @@ func (helm *Helm) SyncRelease(context helmexec.HelmContext, name, chart string,
|
||||
|
||||
return nil
|
||||
}
|
||||
func (helm *Helm) DiffRelease(context helmexec.HelmContext, name, chart string, flags ...string) error {
|
||||
func (helm *Helm) DiffRelease(context helmexec.HelmContext, name, chart string, suppressDiff bool, flags ...string) error {
|
||||
if helm.DiffMutex != nil {
|
||||
helm.DiffMutex.Lock()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user