Skip to content

Commit f1e1422

Browse files
committed
fix: propagate take ownership in helm upgrade option
1 parent 0531548 commit f1e1422

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

kubelink/pkg/helmClient/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ func copyUpgradeOptions(chartSpec *ChartSpec, upgradeOptions *action.Upgrade) {
359359
upgradeOptions.CleanupOnFail = chartSpec.CleanupOnFail
360360
upgradeOptions.DryRun = chartSpec.DryRun
361361
upgradeOptions.SubNotes = chartSpec.SubNotes
362+
upgradeOptions.TakeOwnership = chartSpec.TakeOwnership
362363
}
363364

364365
// copyInstallOptions merges values of the provided chart to helm install options used by the client.

0 commit comments

Comments
 (0)