terraform-provider-kubernetes
terraform-provider-kubernetes copied to clipboard
[TK-975] Move core/v1 resources into subpackage
Description
This PR begins the refactoring of the provider into individual packages for each Kubernetes API group. In this PR:
- Each of the resources under the
v1API group has been moved to thecore/v1package. - Schema and flatteners/expanders related to ObjectMeta have been moved to the
meta/v1package. - Helper packages have been introduced for functions have that are shared across the provider:
validatorsfor validator functionssuppressorsfor diff supress functionsschemafor schema helpersstructuresfor generally useful flatteners/expandersmetafor provider related metadata (i.e. the k8s client interface)
The acceptance tests have been left in place so we can run them to confirm nothing is broken.
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