kubewarden / policy-sdk-rust

Kubewarden Policy SDK for the Rust programming language
https://kubewarden.io
Apache License 2.0
8 stars 6 forks source link

chore(deps): update rust crate k8s-openapi to 0.19.0 #110

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
k8s-openapi dev-dependencies minor 0.18.0 -> 0.19.0
k8s-openapi dependencies minor 0.18.0 -> 0.19.0

Release Notes

Arnavion/k8s-openapi (k8s-openapi) ### [`v0.19.0`](https://togithub.com/Arnavion/k8s-openapi/blob/HEAD/CHANGELOG.md#v0190-2023-08-05) [Compare Source](https://togithub.com/Arnavion/k8s-openapi/compare/v0.18.0...v0.19.0) #### k8s-openapi - BREAKING CHANGE: Added support for Kubernetes 1.27 under the `v1_27` feature. - FEATURE: The `k8s-openapi` now has two additional Cargo features `earliest` and `latest`, which select the earliest and latest supported version. For example, in this release, `earliest` is equivalent to `v1_20` and `latest` is equivalent to `v1_27`. Corresponding Kubernetes API server versions: - v1.20.15 - v1.21.14 - v1.22.17 - v1.23.17 - v1.24.16 - v1.25.12 - v1.26.7 - v1.27.4 #### k8s-openapi-codegen-common - No changes. #### k8s-openapi-derive - No changes. ***

Configuration

šŸ“… Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

šŸ”• Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

āš  Warning: custom changes will be lost.

flavio commented 1 year ago

@viccuad I think it's safer to be explicit about the k8s version to enable. Using the latest feature seems to cause the same disadvantages as using the latest tag of docker images.

Can you please change the code to use the 1.27 version explicitly? Note, this has to be done inside of .envrc, Cargo.toml and some GH actions

viccuad commented 1 year ago

Agh, true. Done.

At the beginning I was hitting the build problem, which pointed me to https://github.com/kubewarden/policy-sdk-rust/issues/88.

But yes, needs to be bumped elsewhere.