Skip to content

Add set_wo support in helm_template - #1703

Merged
jaylonmcshan19-x merged 2 commits into
hashicorp:mainfrom
jaylonmcshan19-x:set-wo-helm-template
Sep 25, 2025
Merged

Add set_wo support in helm_template#1703
jaylonmcshan19-x merged 2 commits into
hashicorp:mainfrom
jaylonmcshan19-x:set-wo-helm-template

Conversation

@jaylonmcshan19-x

Copy link
Copy Markdown
Contributor

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the library.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

Description

This PR adds set_wo to helm_template

Acceptance tests

  • Have you added an acceptance test for the functionality being added?

Release Note

Release note for CHANGELOG:

...

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

@jaylonmcshan19-x
jaylonmcshan19-x requested a review from a team as a code owner September 25, 2025 14:51
@jaylonmcshan19-x
jaylonmcshan19-x merged commit 3f397a3 into hashicorp:main Sep 25, 2025
18 checks passed
mitchell-thompson-CS pushed a commit to toast-dog/kubernetes-terraform that referenced this pull request Mar 29, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [helm](https://registry.terraform.io/providers/hashicorp/helm) ([source](https://github.com/hashicorp/terraform-provider-helm)) | required_provider | major | `~> 2.17` → `~> 3.0` |

---

### Release Notes

<details>
<summary>hashicorp/terraform-provider-helm (helm)</summary>

### [`v3.1.1`](https://github.com/hashicorp/terraform-provider-helm/blob/HEAD/CHANGELOG.md#311-Nov-17-2025)

[Compare Source](hashicorp/terraform-provider-helm@v3.1.0...v3.1.1)

BUG FIXES:

- `resource/helm_release`: Fix "inconsistent result after apply" error by moving recomputeMetadata function call \[[GH-1713](hashicorp/terraform-provider-helm#1713)]

### [`v3.1.0`](https://github.com/hashicorp/terraform-provider-helm/blob/HEAD/CHANGELOG.md#310-Oct-27-2025)

[Compare Source](hashicorp/terraform-provider-helm@v3.0.2...v3.1.0)

FEATURES:

- Add `qps` field to Helm provider configuration \[[GH-1668](hashicorp/terraform-provider-helm#1668)]
- Add `resources` attribute to manifest experimental feature \[[GH-1693](hashicorp/terraform-provider-helm#1693)]
- `helm_template`: Add `set_wo` write-only attribute \[[GH-1703](hashicorp/terraform-provider-helm#1703)]
- `helm_release`: Add support for the `take_ownership` field \[[GH-1680](hashicorp/terraform-provider-helm#1680)]

ENHANCEMENT:

- Introduce the `timeouts` field to the helm\_release resource and helm\_template data source, enabling configurable operation timeouts for create, read, update, and delete actions. \[[GH-1702](hashicorp/terraform-provider-helm#1702)]

BUG FIXES:

- Port missing field `upgrade_install` \[[GH-1675](hashicorp/terraform-provider-helm#1675)]

### [`v3.0.2`](https://github.com/hashicorp/terraform-provider-helm/blob/HEAD/CHANGELOG.md#302-Jun-23-2025)

[Compare Source](hashicorp/terraform-provider-helm@v3.0.1...v3.0.2)

This is a patch release that fixes a number of bugs discovered in the v3.x.x release.

BUG FIXES:

- `helm_release`: Fix description field causing inconsistent plan \[[GH-1648](hashicorp/terraform-provider-helm#1648)]
- `helm_release`: Fix plan error when `devel = false` is set and `version` is provided \[[GH-1656](hashicorp/terraform-provider-helm#1656)]
- `helm_release`: Fix postrender being run when binaryPath is nil \[[GH-1649](hashicorp/terraform-provider-helm#1649)]
- `helm_release`: Fix shallow clone bug causing nested sensitive values to be redacted in the k8s API \[[GH-1644](hashicorp/terraform-provider-helm#1644)]
- `provider`: Fix namespace override logic in Kubernetes client initialization \[[GH-1650](hashicorp/terraform-provider-helm#1650)]
- `provider`: Restore support for the `KUBE_PROXY_URL` environment variable \[[GH-1655](hashicorp/terraform-provider-helm#1655)]

### [`v3.0.1`](https://github.com/hashicorp/terraform-provider-helm/blob/HEAD/CHANGELOG.md#301-Jun-18-2025)

[Compare Source](hashicorp/terraform-provider-helm@v3.0.0...v3.0.1)

This is a hotfix release.

HOTFIX:

- `helm_release`: Fix state upgrader code to use correct type for "values" attribute. \[[GH-1638](hashicorp/terraform-provider-helm#1638)]

### [`v3.0.0`](https://github.com/hashicorp/terraform-provider-helm/blob/HEAD/CHANGELOG.md#300-Jun-18-2025)

[Compare Source](hashicorp/terraform-provider-helm@v2.17.0...v3.0.0)

This release migrates ports the provider project from `terraform-plugin-sdk/v2` to `terraform-plugin-framework` \[[GH-1379](hashicorp/terraform-provider-helm#1379)]

Please refer to the [migration guide](./docs/guides/v3-upgrade-guide.md).

BREAKING CHANGES:

- **Blocks to Nested Objects**: Blocks like `kubernetes`, `registry`, and `experiments` are now represented as nested objects.
- **List Syntax for Nested Attributes**: Attributes like `set`, `set_list`, and `set_sensitive` in `helm_release` and `helm_template` are now lists of nested objects instead of blocks
- The new framework code uses [Terraform Plugin Protocol Version 6](https://developer.hashicorp.com/terraform/plugin/terraform-plugin-protocol#protocol-version-6) which is compatible with Terraform versions 1.0 and above. Users of earlier versions of Terraform can continue to use the Helm provider by pinning their configuration to the 2.x version.

FEATURES:

- Add `"literal"` as a supported `type` for the `set` block \[[GH-1615](hashicorp/terraform-provider-helm#1615)]

- `helm_release`: Add support for ResourceIdentity. \[[GH-1625](hashicorp/terraform-provider-helm#1625)]

- `helm_release`: Add `set_wo` write-only attribute \[[GH-1592](hashicorp/terraform-provider-helm#1592)]

ENHANCEMENT:

- `helm_release`: Add `UpgradeState` logic to support migration from SDKv2 to Plugin Framework \[[GH-1633](hashicorp/terraform-provider-helm#1633)]
- update helm dependency to v3.17.2 \[[GH-1608](hashicorp/terraform-provider-helm#1608)]

BUG FIXES:

- `helm_release`: Fix namespace behaviour for dependency charts in non-default namespaces \[[GH-1583](hashicorp/terraform-provider-helm#1583)]

- change `set.value` && `set_list.value` to optional instead of required \[[GH-1572](hashicorp/terraform-provider-helm#1572)]

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4zNS4xIiwidXBkYXRlZEluVmVyIjoiNDMuMzUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUiXX0=-->

Reviewed-on: https://git.thompson-manor.org/toast-dog/kubernetes-terraform/pulls/1
Co-authored-by: Renovate Bot <renovate@toastdog.net>
Co-committed-by: Renovate Bot <renovate@toastdog.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants