Releases: gtsystem/lightkube
Releases · gtsystem/lightkube
v0.10.1
v0.10.0
New features
- Add variable
trust_env
to the lightkube client constructor to ignore environment variables by @addyess in #20 - Support for server-side apply via new
apply
method by @gtsystem in #23. This change also introduces the general support forfield_manager
.
Bug fix
- Fix issues with creating custom resources from yaml by @stonepreston in #21
- Bump mkdocs from 1.1.2 to 1.2.3 in /docs by @dependabot in #17
New Contributors
- @dependabot made their first contribution in #17
- @stonepreston made their first contribution in #21
- @addyess made their first contribution in #20
Full Changelog: v0.9.0...v0.10.0
v0.9.0
Upgrade httpx dependency to 0.20.0
What's Changed
- Updated to move the specification of a timeout into WatchDriver.get_request, which in turns passes the timeout to httpx.Client.build_request() by @jnsgruk in #11 (fixes incompatibility introduced in httpx 0.20.0)
New Contributors
Full Changelog: v0.8.0...v0.8.1
Version v0.8.0
- Support for Kubernetes
1.22
(lightkube-models == 1.22.0.4
) - New
config
property ofClient
to expose details of the configuration used by this client. - Added e2e tests in github actions targeting
k3s 1.19
andk3s 1.21
. - Resolved an issue where a configuration using a user section without credentials or token where rejected.
- Breaking change: An attempt to create or replace an object defining a different namespace compared to what is provided explicitly in the client method, will result in an error. This is inline with
kubectl
behavior. Previously the value provided explicitly in the client method would have taken precedence.
Version 0.7.2
- Support for Kubernetes
1.21
(lightkube-models == 1.21.0.3
) - Load/Dump resource objects from dict or YAML. See new codecs module.
- jinja2 integration for templating YAML files.
Version 0.6.0
- Support to read Pod logs
- Support for Kubernetes
1.20
(lightkube-models == 1.20.1.3
) - Upgrade dependency
httpx
to0.16.1
Version 0.5.1
- Rewritten the
KubeConfig
class to use models. - Refactor the authentication code to subclass
httpx.Auth
. ExecAuth
will now attempt to get a new token in case a 401 is received.- Added documentation for configuring the client.
- Changed to MIT license
- Added official support for python 3.9
Version 0.4.1
v0.4.1 Add link to pypi history for lightkube-models. Add list of unsupporte…