Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions helm/resource_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,7 @@ func resourceDiff(ctx context.Context, d *schema.ResourceDiff, meta interface{})
install := action.NewInstall(actionConfig)
install.ChartPathOptions = *cpo
install.DryRun = true
install.DryRunOption = "server"
install.DisableHooks = d.Get("disable_webhooks").(bool)
install.Wait = d.Get("wait").(bool)
install.WaitForJobs = d.Get("wait_for_jobs").(bool)
Expand Down Expand Up @@ -993,6 +994,7 @@ func resourceDiff(ctx context.Context, d *schema.ResourceDiff, meta interface{})
upgrade.Timeout = time.Duration(d.Get("timeout").(int)) * time.Second
upgrade.Wait = d.Get("wait").(bool)
upgrade.DryRun = true // do not apply changes
upgrade.DryRunOption = "server"
upgrade.DisableHooks = d.Get("disable_webhooks").(bool)
upgrade.Atomic = d.Get("atomic").(bool)
upgrade.SubNotes = d.Get("render_subchart_notes").(bool)
Expand Down