Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Bump k8s.io/apimachinery from 0.28.4 to 0.29.0 (#74)" #78

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

porridge
Copy link
Contributor

@porridge porridge commented Dec 19, 2023

This reverts commit 0d8db17.

Helmtest builds fine, but stackrox/stackrox fails with:

/go/pkg/mod/k8s.io/client-go@v0.28.4/transport/spdy/spdy.go:46:25: assignment mismatch: 1 variable but spdy.NewRoundTripperWithConfig returns 2 values
make: *** [Makefile:223: vet] Error 1

because k8s.io/apimachinery@v0.29 is incompatible with k8s.io/client-go@v0.28.4

This also adds a minimal test that would fail to build on another attempt to do this bump, to prevent breaking again.

This reverts commit 0d8db17.

Helmtest builds fine, but stackrox/stackrox fails with:

/go/pkg/mod/k8s.io/client-go@v0.28.4/transport/spdy/spdy.go:46:25: assignment mismatch: 1 variable but spdy.NewRoundTripperWithConfig returns 2 values
make: *** [Makefile:223: vet] Error 1

because k8s.io/apimachinery@v0.29 is incompatible with k8s.io/client-go@v0.28.4
@porridge porridge requested review from janisz and a team December 19, 2023 07:24
@porridge porridge force-pushed the revert-apimachinery-bump branch from 0bf1554 to b2baa4a Compare December 19, 2023 07:43
@porridge porridge merged commit 3f1a109 into main Dec 19, 2023
2 checks passed
@porridge porridge deleted the revert-apimachinery-bump branch December 19, 2023 07:46
janisz added a commit that referenced this pull request Jan 16, 2024
This reverts commit 3f1a109.

Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
@janisz janisz mentioned this pull request Jan 16, 2024
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.

2 participants