Skip to content

Upgrade Kubernetes client libraries to v0.35.0#1653

Merged
james00012 merged 3 commits intomainfrom
upgrade-k8s-libs-v0.35.0
Jan 13, 2026
Merged

Upgrade Kubernetes client libraries to v0.35.0#1653
james00012 merged 3 commits intomainfrom
upgrade-k8s-libs-v0.35.0

Conversation

@james00012
Copy link
Copy Markdown
Contributor

@james00012 james00012 commented Jan 5, 2026

Summary

Upgrade Kubernetes client libraries to v0.35.0 to allow users to depend on the latest Kubernetes version.

  • k8s.io/api v0.34.0 -> v0.35.0
  • k8s.io/apimachinery v0.34.0 -> v0.35.0
  • k8s.io/client-go v0.34.0 -> v0.35.0

Also fixes a race condition in IsPodAvailable where multi-container pods could be marked as available before all containers reported their status.

Fixes #1652

Test plan

  • go build ./... passes
  • go vet passes on k8s and helm modules
  • Helm template tests pass
  • TestIsPodAvailable unit tests pass

- k8s.io/api v0.34.0 -> v0.35.0
- k8s.io/apimachinery v0.34.0 -> v0.35.0
- k8s.io/client-go v0.34.0 -> v0.35.0

Fixes #1652
IsPodAvailable now checks that all containers in the pod spec have
reported their status before returning true. Previously, if a
multi-container pod was starting up and only some containers had
reported status, the function could return true prematurely.
@denis256
Copy link
Copy Markdown
Member

denis256 commented Jan 6, 2026

Looks suspicious build-and-testFailing after 6m — Workflow: build-and-test

@denis256
Copy link
Copy Markdown
Member

denis256 commented Jan 6, 2026

/bin/bash: line 3: go: command not found

Exited with code exit status 127

- Fix undefined variable ($version -> ${GO_VERSION})
- Remove existing /usr/bin/go before creating symlink
- Use ln -sf to force symlink creation
@james00012 james00012 force-pushed the upgrade-k8s-libs-v0.35.0 branch from 1fda72e to 9b58ec1 Compare January 8, 2026 01:21
@james00012
Copy link
Copy Markdown
Contributor Author

Should be good for another review @denis256

@james00012 james00012 merged commit 99cbde9 into main Jan 13, 2026
3 checks passed
@james00012 james00012 deleted the upgrade-k8s-libs-v0.35.0 branch January 13, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can build with k8s.io/api v0.34.3 but not with v0.35.0

2 participants