You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
without any change to the version of my kube dependency. After some digging, I found that json-patch made breaking api changes between v1.2.0 and v1.3.0, which replaced several uses of String with jsonptr's Pointer in the public fields of several public structs used by kube, including RemoveOperation, MoveOperation, PatchOperation, CopyOperation, ReplaceOperation and AddOperation.
Possible solution
Set json-patch "= 1.2.0" in Cargo.toml as a temporary solution, or bump the json-patch version and replace usage of String with jsonptr's Pointer type where appropriate.
Additional context
No response
Environment
Client Version: v1.26.15-dispatcher
Kustomize Version: v4.5.7
Server Version: v1.27.11-gke.1062001
Dockerfile OS: rust-1.77.2-slim-bookworm
Configuration and features
No response
Affected crates
kube-runtime
Would you like to work on fixing this bug?
maybe
The text was updated successfully, but these errors were encountered:
Thanks for the report. This has had not hit any renovate cycles for myself yet. It looks like it's yanked, reverted (on the 1.x branch), and published under a new 1.4.0 release of json-patch - so hopefully this should not affect any new CI runs for people.
Current and expected behavior
Code that previously compiled successfully started failing with multiple errors similar to
without any change to the version of my kube dependency. After some digging, I found that json-patch made breaking api changes between v1.2.0 and v1.3.0, which replaced several uses of String with jsonptr's Pointer in the public fields of several public structs used by kube, including RemoveOperation, MoveOperation, PatchOperation, CopyOperation, ReplaceOperation and AddOperation.
Possible solution
Set json-patch "= 1.2.0" in Cargo.toml as a temporary solution, or bump the json-patch version and replace usage of String with jsonptr's Pointer type where appropriate.
Additional context
No response
Environment
Client Version: v1.26.15-dispatcher
Kustomize Version: v4.5.7
Server Version: v1.27.11-gke.1062001
Dockerfile OS: rust-1.77.2-slim-bookworm
Configuration and features
No response
Affected crates
kube-runtime
Would you like to work on fixing this bug?
maybe
The text was updated successfully, but these errors were encountered: