You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading Prometheus Operator to version 0.65.1 which depends on k8s/api 0.27.1 breaks ObO build go build ./cmd/operator/... produces the following compilation error
# sigs.k8s.io/controller-runtime/pkg/cache
# sigs.k8s.io/controller-runtime/pkg/cache
sigs.k8s.io/[email protected]/pkg/cache/multi_namespace_cache.go:308:9: cannot use handles (variable of type map[string]"k8s.io/client-go/tools/cache".ResourceEventHan
dlerRegistration) as "k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration value in return statement: map[string]"k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration does not impl
ement "k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration (missing method HasSynced)
sigs.k8s.io/[email protected]/pkg/cache/multi_namespace_cache.go:321:9: cannot use handles (variable of type map[string]"k8s.io/client-go/tools/cache".ResourceEventHan
dlerRegistration) as "k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration value in return statement: map[string]"k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration does not impl
ement "k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration (missing method HasSynced)
sigs.k8s.io/[email protected]/pkg/cache/multi_namespace_cache.go:326:17: impossible type assertion: h.(map[string]toolscache.ResourceEventHandlerRegistration)
map[string]"k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration does not implement "k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration (missing method HasSynced)
Upgrading Prometheus Operator to version 0.65.1 which depends on
k8s/api 0.27.1
breaks ObO buildgo build ./cmd/operator/...
produces the following compilation errorSee also: operator-framework/operator-sdk#6396
As a hack all k8s/ are pinned to 0.26.4.
Remove this hack when the fix is available.
The text was updated successfully, but these errors were encountered: