diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78d90e1bc..7a3f7838d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -137,7 +137,7 @@ jobs: fail-fast: false matrix: # Run these tests against older clusters as well - k8s: [v1.25, latest] + k8s: [v1.25, v1.29] steps: - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 diff --git a/kube-core/src/object.rs b/kube-core/src/object.rs index 6494da899..2e51b3f64 100644 --- a/kube-core/src/object.rs +++ b/kube-core/src/object.rs @@ -28,6 +28,7 @@ where /// ListMeta - only really used for its `resourceVersion` /// /// See [ListMeta](k8s_openapi::apimachinery::pkg::apis::meta::v1::ListMeta) + #[serde(default)] pub metadata: ListMeta, /// The items we are actually interested in. In practice; `T := Resource`.