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

[TK-975] Move core/v1 resources into subpackage

Open jrhouston opened this issue 3 years ago • 0 comments

Description

This PR begins the refactoring of the provider into individual packages for each Kubernetes API group. In this PR:

  1. Each of the resources under the v1 API group has been moved to the core/v1 package.
  2. Schema and flatteners/expanders related to ObjectMeta have been moved to the meta/v1 package.
  3. Helper packages have been introduced for functions have that are shared across the provider:
    1. validators for validator functions
    2. suppressors for diff supress functions
    3. schema for schema helpers
    4. structures for generally useful flatteners/expanders
    5. meta for 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

jrhouston avatar Jun 21 '22 14:06 jrhouston