4.1.0
New features
- Add
read_*
methods forConfigMap
andResourceQuota
to the mock Kubernetes API for testing. - Add
patch_namespaced_pod_status
to the mock Kubernetes API for testing. Application code is unlikely to call this, but it's useful for test suites. - The mock
list_namespaced_pod
Kubernetes API now supports watches (but be aware that all changes must be made through the API).
Bug fixes
- Fix concurrency locking when watching namespace events in the Kubernetes testing mock. The previous logic degenerated into busy-waiting rather than correctly waiting on a condition variable.
- Watches for namespace events using the mock Kubernetes API now start with the next event, not the first stored event, if
resource_version
is not set, aligning behavior with the Kubernetes API.
What's Changed
- DM-38795: Add read for ConfigMap and ResourceQuota to mock by @rra in #162
- DM-38795: Fix concurrency for event watches by @rra in #163
- DM-38795: Add watch support for list_namespaced_pod by @rra in #164
- DM-38795: Set release date for 4.1.0 by @rra in #165
Full Changelog: 4.0.0...4.1.0