Skip to content

Feature/camelcase Add camelCase support, async install, and CRD schema improvements#7

Open
erman18 wants to merge 3 commits into
maxking:mainfrom
erman18:feature/camelcase-async-install-crd-schema-fixes
Open

Feature/camelcase Add camelCase support, async install, and CRD schema improvements#7
erman18 wants to merge 3 commits into
maxking:mainfrom
erman18:feature/camelcase-async-install-crd-schema-fixes

Conversation

@erman18
Copy link
Copy Markdown

@erman18 erman18 commented Apr 23, 2025

Summary

This PR adds support for:

  • camelCase field transformation during (de)serialization
  • missing CRD fields like shortNames and status
  • asynchronous install method for CRDs using kubernetes_asyncio

Why

This allows better alignment with Kubernetes field naming conventions and enables async-native environments.

Notes

  • No breaking changes
  • Uses to_camel_case() and to_snake_case() helpers

erman18 added 3 commits April 21, 2025 18:49
feat(serialization): add camelCase transformer for schema and spec

fix(from_json): map spec/status fields from camelCase to snake_case

refactor(crd_schema): include missing CRD fields like shortNames and status

docs: add usage comments for camelCase and async features
@maxking
Copy link
Copy Markdown
Owner

maxking commented Apr 27, 2025

Thanks, this looks awesome. The repo hasn't been touched in a while so the tests will probably fails.

I'll try to review the code quickly since there is a lot of code.

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.

2 participants