What's Changed * Adopt kubernetes 1.31. Deprecates 1.26, 1.27 by petermorrowdev in https://github.com/petermorrowdev/gybe/pull/17 * Sets default `k8s` version to `v1_31`
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`
0.2.2
- Removes duplicate `resource.Quantity` models causing incorrect model validation errors - Updates `codegen/kubernetes.sh` script to correctly use `--input-file-type=openapi`