kube-rs / kube

Rust Kubernetes client and controller runtime
https://kube.rs
Apache License 2.0
3.06k stars 320 forks source link

Gauge SelectableField by k8s 1.30 version #1610

Closed Danil-Grigorev closed 1 month ago

Danil-Grigorev commented 1 month ago

Motivation

A follow up on #1605 from discussion.

Solution

Skip generation of fields for crd() for pre-1.30 version of k8s-openapi

Potentially overlaps with https://github.com/kube-rs/kube/pull/1609

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.3%. Comparing base (1addf43) to head (2b5efb3). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1610 +/- ## ===================================== Coverage 75.3% 75.3% ===================================== Files 82 82 Lines 7340 7340 ===================================== Hits 5524 5524 Misses 1816 1816 ``` | [Files with missing lines](https://app.codecov.io/gh/kube-rs/kube/pull/1610?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kube-rs) | Coverage Δ | | |---|---|---| | [kube-derive/src/custom\_resource.rs](https://app.codecov.io/gh/kube-rs/kube/pull/1610?src=pr&el=tree&filepath=kube-derive%2Fsrc%2Fcustom_resource.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kube-rs#diff-a3ViZS1kZXJpdmUvc3JjL2N1c3RvbV9yZXNvdXJjZS5ycw==) | `81.2% <ø> (ø)` | |