-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
False
-
-
False
-
-
-
2024Q1
As part of the controller-runtime v0.16 update. We also need to be using a version of Go > 1.20:
❯ go1.19.3 vet ./... # sigs.k8s.io/controller-runtime/pkg/cache ../../../go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/cache/cache.go:412:58: fields.Selector does not implement comparable ../../../go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/cache/cache.go:442:20: fields.Selector does not implement comparable note: module requires Go 1.20
vs with go 1.20 we can see it passes:
❯ go1.20.3 vet ./...
We can instead upgrade to Go 1.21, but this will require also adding Go 1.21 to the OpenShift CI environment:
https://github.com/openshift/release/blob/master/ci-operator/config/openstack-k8s-operators/openstack-k8s-operators-ci/openstack-k8s-operators-openstack-k8s-operators-ci-main.yaml#L19-L51
- impacts account
-
OSPRH-2651 Bump infra-operator to controller-runtime
-
- Closed
-