Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/k8s multi version support #11

Merged
merged 13 commits into from
Apr 11, 2024

Conversation

petermorrowdev
Copy link
Owner

@petermorrowdev petermorrowdev commented Apr 10, 2024

Adds support for multiple kubernetes API versions (1.26 - 1.29) introducing a major redesign of gybe's modules.

  • Deprecates gybe.favorites.kubernetes replacing it with gybe.k8s
  • Replaces flit with hatch
  • Removes datamodel-code-generator (couldn't get the latest version working with k8s spec)
  • Switches to custom module structure without all the unnecessary nesting.
  • Replaces datamodel-code-generator with custom ast-based implementation in codegen/generate_k8s
  • Replaces black with ruff
  • Replaces pydantic.BaseModel with dataclass and cattrs

@petermorrowdev petermorrowdev merged commit 4608ded into main Apr 11, 2024
3 checks passed
@petermorrowdev petermorrowdev deleted the feature/k8s-multi-version-support branch April 11, 2024 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant