Skip to content

DO-NOT-MERGE: smash-and-grab of #522 + #523 + #524 to probe CI#526

Closed
frobware wants to merge 3 commits into
bpfman:mainfrom
frobware:pr-522-523-524-combined
Closed

DO-NOT-MERGE: smash-and-grab of #522 + #523 + #524 to probe CI#526
frobware wants to merge 3 commits into
bpfman:mainfrom
frobware:pr-522-523-524-combined

Conversation

@frobware
Copy link
Copy Markdown
Contributor

This is a smash-and-grab combined branch of #522, #523, and #524, cherry-picked on top of main to see whether the future state -- once all three land -- builds and passes CI. Not intended for merge; please leave any substantive feedback on the underlying PRs.

I cherry-picked the single commit from each PR in number order (522 -> 523 -> 524) and resolved conflicts pragmatically. In go.mod, 522 and 523 collide on controller-tools and moby/spdystream; I kept the higher version from 522 in both cases and added 523's new kustomize-side dependencies, then ran go mod tidy and go mod vendor to settle the indirect set and refresh vendor/. In the Makefile, 524's commit re-introduced the KUSTOMIZE_VERSION ?= v3.8.7 line because its base predates 523's removal, so I dropped that line and kept only the OPERATOR_SDK_VERSION bump to v1.37.0. The createdAt timestamp in bundle/manifests/bpfman-operator.clusterserviceversion.yaml was trivially conflicted; I took 524's value since it will be regenerated by make bundle anyway.

go build ./... is clean locally. Whatever the CI surfaces here is the actual answer to "do these three land cleanly together"; merge-order conflicts in go.mod/go.sum are otherwise the most obvious bear-trap when they each go in individually.

Underlying PRs: #522, #523, #524.

alebedev87 and others added 3 commits May 12, 2026 14:47
- Bump the core k8s.io modules (`api`, `apimachinery`, `client-go`, `code-generator`, `cri-api`) from `v0.34.3` to `v0.35.4`.
- Bump `sigs.k8s.io/controller-runtime` from `v0.22.4` to `v0.23.3`, which is the release aligned with k8s `0.35`.
  Indirect k8s dependencies (`apiextensions-apiserver`, `apiserver`, `component-base`) are also aligned to `v0.35.4`.
- Bump `sigs.k8s.io/controller-tools` from `v0.17.1` to `v0.20.1`, the release aligned with k8s `0.35`.
- Migrate from deprecated `SchemeGroupVersion` to `GroupVersion` in test files.

`setup-envtest` is left at its current pseudo-version as the only tagged release (`v0.24.0`) requires Go `1.26`.

Co-Authored-By: Claude
Signed-off-by: Andrey Lebedev <alebedev@redhat.com>
Move kustomize to `tools/tools.go` and use `go run` for invocation,
consistent with how `controller-gen`, `client-gen`, and other tools
are already managed. This replaces the curl-based install script
that downloaded a prebuilt binary into `bin/`.

The `KUSTOMIZE_VERSION`, `KUSTOMIZE_INSTALL_SCRIPT`, and the
`kustomize` Makefile target are removed. All targets that depended
on the `kustomize` prerequisite are updated since `go run` handles
tool resolution automatically.

Co-Authored-By: Claude
Signed-off-by: Andrey Lebedev <alebedev@redhat.com>
Bump `operator-sdk` to `v1.37.0` which is the latest version that still
supports the `go.kubebuilder.io/v3` project layout used by this project.
Starting from `v1.38.0` `operator-sdk` dropped `go/v3` support entirely,
requiring migration to `go.kubebuilder.io/v4`.

Bump `golangci-lint` to `v2.12.2`.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrey Lebedev <alebedev@redhat.com>
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