Repository navigation
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Important Review skippedToo many files! This PR contains 458 files, which is 158 over the limit of 300. To get a review, reduce the PR to 300 files or fewer by splitting it into smaller PRs or changing its base branch.
|
Update Go imports, generated CRDs, and image selection for registry v2. Remove SQLite-backed provider tests and obsolete Kiali fixture generation because registry v2 no longer contains the SQLite package. Keep the configmap server image on the v1 release series. Signed-off-by: Todd Short <tshort@redhat.com>
Signed-off-by: Todd Short <tshort@redhat.com>
70d3cb5 to
49a0780
Compare
Description of the change:
Update
github.com/operator-framework/apitov0.46.0and migrate Go imports and the direct dependency togithub.com/operator-framework/operator-registry/v2@v2.0.0-alpha-3. Regenerate vendored dependencies and the API CRDs copied into the chart. Registry v2 requires Go 1.26.5.Remove the three package-server provider tests that require registry's removed SQLite package, while retaining the fake-client package-manifest tests. Remove the unused SQLite Kiali fixture generator and Dockerfile. The v2
opmimage is used for bundle operations; the configmap server image remains pinned to the available v1.74.0 release because registry v2 does not produce it.This PR has two signed-off commits: source/dependency/code changes, then vendor-only changes.
The
go-verdiffcheck requires theoverride-go-verdifflabel for the Go version update required by registry v2.Motivation for the change:
Consume the tagged API and registry v2 releases while keeping OLM v0's remaining legacy catalog serving path usable.
Architectural changes:
None to OLM runtime APIs. The Go module import path changes to
/v2; the legacy configmap server image remains on v1.Testing remarks:
go mod tidy,go mod vendor, andgo mod verifymake manifests,make codegen, andmake mockgengo build -p 2 ./cmd/...go test -p 2 ./pkg/package-server/...andgo test -p 2 ./pkg/controller/registry/...(the gRPC tests needing localhost sockets were rerun with socket access)go test -p 2 -run '^$' ./test/e2e(compile only)git diff --checkopmand v1.74.0 configmap server image tags on Quay.Reviewer Checklist