Skip to content

Commit fbbe89a

Browse files
Roming22openshift-cherrypick-robot
authored andcommitted
fix: template subcommand
The template subcommand was behaving differently if the chart was already deployed. This is now corrected to behave the same as if the chart was to be installed, which gives an accurate representation of the manifests that Helm will apply.
1 parent c8160ef commit fbbe89a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/deployer/helm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func (h *Helm) helmUpgrade(vals chartutil.Values) (*release.Release, error) {
9090

9191
c.DryRun = h.flags.DryRun
9292
if h.flags.DryRun {
93-
c.DryRunOption = "client"
93+
c.DryRunOption = "server"
9494
}
9595

9696
ctx := backgroundContext(func() {

0 commit comments

Comments
 (0)