Skip to content

Commit a051537

Browse files
Include take_ownership in upgradestatemap
1 parent 5e9958e commit a051537

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

helm/resource_helm_release_stateupgrader.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ func (r *HelmRelease) buildUpgradeStateMap(_ context.Context) map[int64]resource
250250
"status": tftypes.String,
251251
"timeout": tftypes.Number,
252252
"upgrade_install": tftypes.Bool,
253+
"take_ownership": tftypes.Bool,
253254
"values": tftypes.List{ElementType: tftypes.String},
254255
"verify": tftypes.Bool,
255256
"version": tftypes.String,
@@ -267,6 +268,7 @@ func (r *HelmRelease) buildUpgradeStateMap(_ context.Context) map[int64]resource
267268
newType.AttributeTypes["set_wo"],
268269
[]tftypes.Value{},
269270
),
271+
"take_ownership": tftypes.NewValue(tftypes.Bool, false),
270272
"set_wo_revision": tftypes.NewValue(tftypes.Number, float64(1)),
271273
"atomic": oldState["atomic"],
272274
"chart": oldState["chart"],

0 commit comments

Comments
 (0)