terraform-provider-kubernetes
terraform-provider-kubernetes copied to clipboard
Added support for config_data
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 pinging to be able to get a test config for this.