Fix diff shown when no upgrade

This commit is contained in:
Andrei Pohilko
2022-09-20 11:17:37 +01:00
parent f4b753b19f
commit ccb2836791

View File

@@ -386,7 +386,7 @@ func (d *DataLayer) ChartUpgrade(namespace string, name string, repoChart string
cmd := []string{name, repoChart, "--version", version, "--namespace", namespace, "--values", file.Name()} cmd := []string{name, repoChart, "--version", version, "--namespace", namespace, "--values", file.Name()}
if justTemplate { if justTemplate {
cmd = append([]string{"template"}, cmd...) cmd = append([]string{"template", "--skip-tests"}, cmd...)
} else { } else {
cmd = append([]string{"upgrade"}, cmd...) cmd = append([]string{"upgrade"}, cmd...)
cmd = append(cmd, "--output", "json") cmd = append(cmd, "--output", "json")