Skip to content

Add take_ownership field#1680

Merged
jrhouston merged 5 commits intohashicorp:mainfrom
jaylonmcshan19-x:take-ownership
Jul 31, 2025
Merged

Add take_ownership field#1680
jrhouston merged 5 commits intohashicorp:mainfrom
jaylonmcshan19-x:take-ownership

Conversation

@jaylonmcshan19-x
Copy link
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 support for the take_ownership attribute in the helm_release resource.

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 marked this pull request as ready for review July 23, 2025 20:56
@jaylonmcshan19-x jaylonmcshan19-x requested a review from a team as a code owner July 23, 2025 20:56
Copy link
Collaborator

@arybolovlev arybolovlev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All in all, this looks great! I have left a small comment, and I was wondering -- would it make sense to add a test that specifically validates the case where take_ownership is set to true?

"take_ownership": schema.BoolAttribute{
Optional: true,
Computed: true,
Default: booldefault.StaticBool(false),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to use a value from the defaultAttributes map here? Maybe in a few other places in this PR too?

@github-actions github-actions bot added size/M and removed size/XS labels Jul 25, 2025
@jrhouston jrhouston merged commit b278d36 into hashicorp:main Jul 31, 2025
18 checks passed
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.

3 participants