crossplane-runtime
crossplane-runtime copied to clipboard
Incompatibilities in coming k8s client version
Just to put in on your radar,
Seems the latest controller runtime / k8s versions is incompatible with crossplane-runtime
Deps:
module github.com/crossplane-contrib/provider-keycloak
go 1.22.0
toolchain go1.22.3
require (
dario.cat/mergo v1.0.0
github.com/alecthomas/kingpin/v2 v2.4.0
github.com/crossplane/crossplane-runtime v1.16.0
github.com/crossplane/crossplane-tools v0.0.0-20240522174801-1ad3d4c87f21
github.com/crossplane/upjet v1.4.0
github.com/pkg/errors v0.9.1
k8s.io/apimachinery v0.30.1
k8s.io/client-go v0.30.1
sigs.k8s.io/controller-runtime v0.18.3
sigs.k8s.io/controller-tools v0.15.0
)
leads to:
$ make generate && make build && make reviewable
17:27:37 [ .. ] verify go modules dependencies have expected content
all modules verified
17:27:38 [ OK ] go modules dependencies verified
17:27:38 [ .. ] generating provider schema for mrparkers/keycloak 4.4.0
17:27:39 [ OK ] generating provider schema for mrparkers/keycloak 4.4.0
17:27:40 [ .. ] go generate linux_amd64
Generated 43 resources!
17:27:51 [ OK ] go generate linux_amd64
17:27:51 [ .. ] go mod tidy
17:27:51 [ OK ] go mod tidy
17:27:52 [ .. ] verify go modules dependencies have expected content
all modules verified
17:27:53 [ OK ] go modules dependencies verified
17:27:55 [ .. ] go build linux_amd64
github.com/crossplane/crossplane-runtime/pkg/controller
# github.com/crossplane/crossplane-runtime/pkg/controller
/home/bree/go/pkg/mod/github.com/crossplane/[email protected]/pkg/controller/engine.go:237:14: cannot use ... in call to non-variadic ctrl.Watch
/home/bree/go/pkg/mod/github.com/crossplane/[email protected]/pkg/controller/engine.go:250:13: cannot use ... in call to non-variadic ctrl.Watch
/home/bree/go/pkg/mod/github.com/crossplane/[email protected]/pkg/controller/engine.go:250:40: not enough arguments in call to source.Kind
have ("sigs.k8s.io/controller-runtime/pkg/cache".Cache, client.Object)
want ("sigs.k8s.io/controller-runtime/pkg/cache".Cache, T, handler.TypedEventHandler[T], ...predicate.TypedPredicate[T])
branch to reproduce https://github.com/crossplane-contrib/provider-keycloak/tree/renovate/godeps