Skip to content

Support newer patch versions of Kubernetes in setup-envtestΒ #2583

Closed
@jonathan-innis

Description

@jonathan-innis

Right now, we are hitting transient errors with the kube-apiserver due to our testing of CEL. We are using setup-envtest to download the binaries needed for setup-envtest from the Google Cloud mirror.

The issues we are hitting with respect to CEL and the apiserver are documented in: kubernetes/kubernetes#114857. This change was cherry-picked across releases which can be seen at the bottom of the issue here: kubernetes/kubernetes#114661.

From looking at the setup-envtest manifest, I can see that setup-envtest is often not taking up newer cherry-picked releases into the mirror, meaning that this fix to the kube-apiserver that was added in 1.25.6, 1.26.6, etc. is not released with setup-envtest, which means that we are still using an older version of the apiserver that is buggy and causing CI failures.

It would be awesome if, as Kubernetes released new cherry-picks of each of these binaries, setup-envtest would mirror these binaries over to the Google Cloud mirror so that we could always have the most up-to-date version of the binary running against any given minor version that we are testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/supportCategorizes issue or PR as a support question.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions