terraform-provider-kubernetes icon indicating copy to clipboard operation
terraform-provider-kubernetes copied to clipboard

Added support for config_data

Open eduanb opened this issue 2 years ago • 3 comments

Description

This PR allows you to send in the raw kubeconfig data without first creating a temp file. Closes https://github.com/hashicorp/terraform-provider-kubernetes/issues/1735

Note: I have very little Go experience, so please let me know if I need to change things. Would greatly appreciate it if someone could help with writing a test for this.

Acceptance tests

  • [ ] Have you added an acceptance test for the functionality being added?
  • [ ] Have you run the acceptance tests on this branch?

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

Release Note

Release note for CHANGELOG:

FEATURE:
Add `config_data` property to specify the raw contents of a kube config
...

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

eduanb avatar Jul 18 '23 20:07 eduanb

CLA assistant check
All committers have signed the CLA.

hashicorp-cla avatar Jul 18 '23 20:07 hashicorp-cla

@eduanb pinging to be able to get a test config for this.

BBBmau avatar Apr 24 '24 15:04 BBBmau