terraform-provider-kubernetes
terraform-provider-kubernetes copied to clipboard
Add namespace_selector to pod's affinities
Description
This change adds new attribute namespace_selector to the kubernetes_pod resource (affinities section).
See https://github.com/hashicorp/terraform-provider-kubernetes/issues/1826.
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:
...
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
Hello! Thank you for opening this PR @artemvang. Could you also add some tests for the namespace_selector attribute as well?
Hello, any update on this ?
@artemvang pinging to know if you're still interested in contributing with this PR. It would be a great addition. Only thing missing is a test that checks for the namespace_selector attribute. You can reference how other attributes are checked within other resources in the repo.