Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to terraform plugin framework #1379

Draft
wants to merge 55 commits into
base: main
Choose a base branch
from
Draft

Conversation

JaylonmcShan03
Copy link
Contributor

@JaylonmcShan03 JaylonmcShan03 commented Jun 4, 2024

Description

This PR contains the work to migrate this provider to Terraform Plugin Framework.

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

Copy link

hashicorp-cla-app bot commented Jun 4, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

JaylonmcShan03 and others added 26 commits October 8, 2024 11:36
…ata models. This is the current working version of the data source
* rename: helmReleaseModel -> HelmReleaseModel

* tidying up during code review
* Fix acronyms in struct field names in kubeConfig.go and provider.go

* Fixed acronym in kubeConfig that wasnt pushed in previous pr

* Refactored debug handling to use a boolean variable

* removing unnessary comment

* Updating the debug two conditionals into one

* Fixing edge case logic

* Simpliyfing if statements

* Fixing location of debug variable
* remove duplicate logs

* refactor to use recomputeMetadata method

* use Equal for version check in useChartVersion

* more cleanup in useChartVersion / removing quotation removal from version

* refactor valuesKnown method in ModifyPlan

* remove null check in valuesKnown method

* separate conditionals in recomputeMetadata

* separate conditionals in valuesUnknown
…1476)

* Rename resolveChartName to buildChartNameWithRepository for clarity

* Updating logs to reflect the new function name change
* Refactor: Rename struct fields in HelmReleaseModel to CamelCase

* Fixing overlooked field, and making the struct names in alphabetical order
* remove m.Lock and more

* fix recomputeMetadata logic

* use count in concurrent testconfig

* removal changes in helm directory concurrent test 2

* remove extra tests
JaylonmcShan03 and others added 28 commits October 23, 2024 10:32
…SingleNestedAttribute` (#1516)

* initial refactor of metadata to be SingleNestedAttribute

* fix unknown value error by using ObjectUnknown instead of ObjectNull()

* update tests to align with SingleNested metadata attribute and not list
* initial refactoring of plan.lint with lintModifyPlan

* replace tflog with diagnostics when cluster is unreachable

* set state.Version as StringNull instead of plan.Version

* Revert "initial refactoring of plan.lint with lintModifyPlan"

This reverts commit 974fdeb.
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