Commit graph

732 commits

Author SHA1 Message Date
John Houston
1cbf08f6a3
v3.1.1 (#1724)
Some checks failed
build / Detect Go toolchain version (push) Has been cancelled
build / Parse version file (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
HashiCorp Copywrite / copywrite (push) Has been cancelled
tests / get_version_matrix (push) Has been cancelled
tests / unit_test (push) Has been cancelled
build / generate-metadata-file (push) Has been cancelled
build / upload-terraform-registry-manifest-artifact (push) Has been cancelled
build / Go darwin 386 build (push) Has been cancelled
build / Go freebsd 386 build (push) Has been cancelled
build / Go linux 386 build (push) Has been cancelled
build / Go windows 386 build (push) Has been cancelled
build / Go darwin amd64 build (push) Has been cancelled
build / Go freebsd amd64 build (push) Has been cancelled
build / Go linux amd64 build (push) Has been cancelled
build / Go windows amd64 build (push) Has been cancelled
build / Go freebsd arm build (push) Has been cancelled
build / Go linux arm build (push) Has been cancelled
build / Go darwin arm64 build (push) Has been cancelled
build / Go linux arm64 build (push) Has been cancelled
build / What's next? (push) Has been cancelled
tests / acc_test (push) Has been cancelled
2025-11-17 12:26:55 -07:00
Marco Maurer (-Kilchhofer)
b6a090b73c
fix: Address "inconsistent result after apply" error by moving metadata recalc (#1713)
Some checks failed
build / Detect Go toolchain version (push) Has been cancelled
build / Parse version file (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
HashiCorp Copywrite / copywrite (push) Has been cancelled
tests / get_version_matrix (push) Has been cancelled
tests / unit_test (push) Has been cancelled
build / generate-metadata-file (push) Has been cancelled
build / upload-terraform-registry-manifest-artifact (push) Has been cancelled
build / Go darwin 386 build (push) Has been cancelled
build / Go freebsd 386 build (push) Has been cancelled
build / Go linux 386 build (push) Has been cancelled
build / Go windows 386 build (push) Has been cancelled
build / Go darwin amd64 build (push) Has been cancelled
build / Go freebsd amd64 build (push) Has been cancelled
build / Go linux amd64 build (push) Has been cancelled
build / Go windows amd64 build (push) Has been cancelled
build / Go freebsd arm build (push) Has been cancelled
build / Go linux arm build (push) Has been cancelled
build / Go darwin arm64 build (push) Has been cancelled
build / Go linux arm64 build (push) Has been cancelled
build / What's next? (push) Has been cancelled
tests / acc_test (push) Has been cancelled
* fix: Recompute metadata at the end of the diff function

* chore: Add changelog entry for PR #1713
2025-11-06 10:29:39 -06:00
John Houston
e199e5973d
v3.1.0 (#1715)
Some checks failed
build / Detect Go toolchain version (push) Has been cancelled
build / Parse version file (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
HashiCorp Copywrite / copywrite (push) Has been cancelled
tests / get_version_matrix (push) Has been cancelled
tests / unit_test (push) Has been cancelled
build / generate-metadata-file (push) Has been cancelled
build / upload-terraform-registry-manifest-artifact (push) Has been cancelled
build / Go darwin 386 build (push) Has been cancelled
build / Go freebsd 386 build (push) Has been cancelled
build / Go linux 386 build (push) Has been cancelled
build / Go windows 386 build (push) Has been cancelled
build / Go darwin amd64 build (push) Has been cancelled
build / Go freebsd amd64 build (push) Has been cancelled
build / Go linux amd64 build (push) Has been cancelled
build / Go windows amd64 build (push) Has been cancelled
build / Go freebsd arm build (push) Has been cancelled
build / Go linux arm build (push) Has been cancelled
build / Go darwin arm64 build (push) Has been cancelled
build / Go linux arm64 build (push) Has been cancelled
build / What's next? (push) Has been cancelled
tests / acc_test (push) Has been cancelled
2025-10-27 12:47:39 -06:00
Jaylon McShan
dbd56c1490
Add timeouts support (#1702)
* Add timeouts support

* Add timeouts to upgradestate

* Add changelog
2025-09-25 13:53:39 -05:00
Jaylon McShan
3f397a39d7
Add set_wo support in helm_template (#1703)
* Add set_wo support in helm_template

* Add changelog
2025-09-25 13:53:26 -05:00
Jaylon McShan
c8c5571ee1
Add resources attr (#1693)
* Add resources attr

* Remove unnecessary comments

* Fix unknown value error

* Add resources to upgradestate map

* Remove annotations

* remove comments

* Fix inconsitent results error

* Recompute metadata when resources map changes

* Fix import test

* Fix failing test manifestUnknownValues

* Add missing copywrite headers

* Add changelog entry

* Add changelog entry

* Update docs

---------

Co-authored-by: John Houston <jhouston@hashicorp.com>
2025-09-22 18:10:26 -05:00
Jaylon McShan
b278d36af3
Add take_ownership attribute (#1680) 2025-07-31 09:51:00 -06:00
Jaylon McShan
1efcb0eb9f
Port upgrade_install support from SDKv2 (#1675)
Co-authored-by: John Houston <jhouston@hashicorp.com>
2025-07-16 10:24:13 -06:00
Nur Çağla Kahrıman
a65506b409
Fix typo in CHANGELOG.md (#1666) 2025-07-15 10:46:14 -06:00
Aleksa Cukovic
1da32b6a0b
Fix duplicate attribute in helm_release docs (#1676) 2025-07-15 10:45:46 -06:00
Jaylon McShan
a5e42bd9dc
Add "qps" attribute to provider block (#1668) 2025-07-15 10:21:16 -06:00
Aleksandr Rybolovlev
aa449272f3
Bump helm dependency (#1674) 2025-07-10 10:24:27 -06:00
John Houston
fdbda1bc0f
v3.0.2 (#1659) 2025-06-23 16:12:43 -06:00
John Houston
8d567f04c0
v3.0.2 (#1658) 2025-06-23 14:44:58 -06:00
John Houston
6191d5b5f1
helm_release: Make description attribute Computed (#1648) 2025-06-23 12:30:12 -06:00
John Houston
ea0aa4ab3a
Fix namespace override in kubeconfig initialization (#1650) 2025-06-23 12:04:39 -06:00
Jaylon McShan
2fd2f5c286
Restore support for KUBE_PROXY_URL environment variable (#1655) 2025-06-23 10:47:19 -06:00
Jaylon McShan
7f406c71d3
Fix devel planmodifier (#1656) 2025-06-23 10:46:59 -06:00
John Houston
7058355f22
helm_release: Fix postrender running when binaryPath is set to nil (#1649) 2025-06-20 10:57:31 -06:00
Jaylon McShan
8895c1193f
Fix provider block syntax in documentation (#1651) 2025-06-20 10:57:16 -06:00
Aaron Batilo
287bffcbfd
Fix sensitive values being replaced with '(sensitive value)' in Helm deployments (#1644)
When using set_sensitive in the helm provider, the actual values deployed to
Kubernetes were incorrectly replaced with the string '(sensitive value)' instead
of the real sensitive value.

Root cause:
The logValues() function was using maps.Clone() which only creates a shallow
copy. Since Helm values are nested maps (e.g., {'configmap': {'foo': 'test'}}),
the inner maps were shared between the original and clone. When cloakSetValues()
modified the 'cloned' map to mask sensitive values for logging, it was actually
modifying the original map that was then passed to Helm for deployment.

Fix:
- Implemented deepCloneMap() function that recursively clones nested maps
- Updated logValues() to use deepCloneMap instead of maps.Clone
- Updated setReleaseAttributes() to use deepCloneMap for consistency
- Removed unused 'maps' import

This ensures sensitive values are properly masked in logs and Terraform state
display while the actual values are correctly deployed to Kubernetes.

Fixes the issue where ConfigMaps would contain '(sensitive value)' instead of
the actual sensitive data when using set_sensitive blocks.

This commit also adds a regression test for this case. 

Co-authored-by: John Houston <jhouston@hashicorp.com>
2025-06-20 09:05:18 -06:00
John Houston
e0e88c0c81
v3.0.1 (#1639) 2025-06-18 14:15:45 -06:00
John Houston
a140dd6a01
HOTFIX v3 state upgrader type (#1638) 2025-06-18 14:05:13 -06:00
Jaylon McShan
71b0a33707
v3.0.0 (#1636) 2025-06-17 15:59:12 -06:00
Jaylon McShan
572d7342a4
v3.0.0 (#1635) 2025-06-17 15:23:30 -06:00
John Houston
c81ea8dec2
Update security scanner configuration (#1634) 2025-06-17 09:24:02 -06:00
Flávio Briz
01475f8d28
Enforce kubernetes context with helm_release namespace (#1583) 2025-06-17 09:23:23 -06:00
Jaylon McShan
f4335661b5
Implement state upgrader support for helm_release resource (#1633)
* Add upgrade-state-logic/tests

* Add changelog

* Fix field value
2025-06-16 16:58:48 -06:00
Jaylon McShan
ff0b0a24a4
add support for literal type in set block (#1615)
* add support for literal type in set block

* Add changelog
2025-05-19 06:20:15 -06:00
John Houston
a37eb37958
Add support for ResourceIdentity to helm_release resource (#1625) 2025-05-16 15:12:56 -06:00
Brandy Jackson
24d991467f
add PCI verbiage (#1628)
add required PCI verbiage
2025-05-14 18:42:38 -04:00
Aleksandr Rybolovlev
e4d1a1c241
Move the release process to CRT (#1618) 2025-04-29 09:00:51 +02:00
John Houston
65288321af
Update helm dependency to v3.17.2 (#1608) 2025-03-24 11:29:04 -06:00
John Houston
f5ff23f9a8
Update outdated README (#1604) 2025-03-24 09:58:41 -06:00
Jaylon McShan
b539eafcfb fix(examples): update outdated examples to reflect current usage 2025-03-24 08:33:49 -05:00
John Houston
368f161fa2
v3.0.0-pre2 (#1594) 2025-02-27 08:35:58 -07:00
John Houston
12c1c8904b
Add write-only attribute "set_wo" (#1592) 2025-02-25 16:05:21 -07:00
John Houston
634fe7f7ea
Fix docs for exec object in provider config (#1593) 2025-02-25 16:00:55 -07:00
Mauricio Alvarez Leon
b6bb55a968
set.value: required -> optional (#1572)
* required -> optional

* add resource test

* add data source test

* set_list.value is required

* docs set_list required

* changelog entry
2025-02-24 10:42:19 -08:00
Jaylon McShan
420fb40f1e
v3.0.0-pre1 (#1559) 2025-01-16 13:40:06 -06:00
Jaylon McShan
b328cfa7d1
Migrate to terraform plugin framework (#1379)
Co-authored-by: Mauricio Alvarez Leon <65101411+BBBmau@users.noreply.github.com>
Co-authored-by: John Houston <jhouston@hashicorp.com>
Co-authored-by: Brandy Jackson <90709515+iBrandyJackson@users.noreply.github.com>
2025-01-16 13:08:36 -06:00
Aleksandr Rybolovlev
afc64eda21
v2.17.0 (#1550) 2024-12-20 14:22:45 +01:00
dependabot[bot]
5404147b30
🌱 Bump golang.org/x/crypto from 0.27.0 to 0.31.0 (#1547)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.27.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.27.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 11:36:49 +01:00
Brandy Jackson
a91d325c40
Update CODEOWNERS (#1537) 2024-11-18 12:50:49 -05:00
Aleksandr Rybolovlev
1156a264d9
Fix missed postrender binary path arguments parsing (#1534) 2024-11-14 18:22:35 +01:00
Josh Mullins
91a5cd1055
Allow Helm lookup in manifest experiment (#1335)
Co-authored-by: sheneska.williams <sheneska.williams@hashicorp.com>
2024-11-05 13:41:59 -05:00
Mauricio Alvarez Leon
24ec7ae6e8
v2.16.1 (#1504) 2024-10-15 13:37:53 -07:00
Stano Bocinec
48730a7fec
Fix nil pointer deref panic on helm_release destroy (#1501)
The destroy panics when helm returns "release not found" as the returned
response is nil.
2024-10-15 13:25:37 -07:00
Mauricio Alvarez Leon
d2ba417978
add v2.16.0 changelog (#1499) 2024-10-10 13:02:47 -07:00
Stano Bocinec
3c08ca9945
Ignore "release: not found" error on helm_resource destroy (#1487)
* Ignore "release: not found" error on helm_resource destroy

---------

Co-authored-by: Alex Pilon <apilon@hashicorp.com>
2024-09-24 12:17:59 -04:00