Disable TestKubernetesBuildPodResources
What does this MR do?
Skips TestKubernetesBuildPodResources and removes the broken skipKubectlIntegrationTestsIfNotOnLinux helper.
Why was this MR needed?
Until recently, the integration kubernetes job had been skipping TestKubernetesBuildPodResources – apparently for most of the test's lifetime, due to a version guard requiring Kubernetes 1.34, which the integration cluster may have now exceeded.
- Last known passing run (test skipped, presumably due to Kubernetes version guard)
- First known failing run (test reached broken OS guard)
Once the test started executing past the guard, it began failing with nodes is forbidden. The cause was the OS-detection helper skipKubectlIntegrationTestsIfNotOnLinux calling Nodes().List(), which is a cluster-scope API that the integration test service account doesn't have access to. The helper has now been removed since we control the integration cluster, which is Linux-based, and a hypothetical non-Linux scenario would fail loudly with a clear API error anyway.
With the helper removed, the test fails at a deeper assertion. It may have never actually passed end-to-end, so it is disabled pending follow-up.
What's the best way to test this MR?
Confirm the integration kubernetes job passes.
TestKubernetesBuildPodResources should now be reported as skipped, as before, instead of failing.