-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get error go/tools/cache".ResourceEventHandlerRegistration (missing method HasSynced) #6396
Comments
This happened with us as well after the recent update to client-go >= 0.27 |
The |
I don't think that's actually true or do you mean |
The type ResourceEventHandlerRegistration is added to client-go from v0.26.0. But it is different with 0.27.0.
|
Here is the fix: kubernetes/client-go#1245 (comment) . But the latest controller-runtime release (0.14.6) doesn't contain the fix PR. |
go get -u github.com/go-logr/logr go.opentelemetry.io/otel go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc go.opentelemetry.io/otel/metric go.opentelemetry.io/otel/sdk/metric go mod tidy Can't bump to client-go v0.27.1: operator-framework/operator-sdk#6396 Signed-off-by: Víctor Cuadrado Juan <[email protected]>
We have still not made necessary changes in SDK to adapt to k8s 1.27 release ( Line 41 in af14062
|
Mentioning the meta issue here to track: #6381 |
Moving this backlog till then. |
- go get github.com/helmfile/helmfile && go mod tidy - manually pin back to 0.26 from 0.27 to avoid build errors: * k8s.io/api * k8s.io/apimachinery * k8s.io/client-go See operator-framework/operator-sdk#6396
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This auto closing issues are not great. |
/reopen |
@skhaz: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Great. |
/reopen |
/lifecycle frozen |
Approaching one year anniversary for this issue. Still not fixed.
|
Bug Report
What did you do?
make run
What did you expect to see?
the operator be built and run
What did you see instead? Under which circumstances?
Environment
Operator type:
/language go
Kubernetes cluster type:
k3s
$ operator-sdk version
operator-sdk version: "v1.28.0", commit: "484013d1865c35df2bc5dfea0ab6ea6b434adefa", kubernetes version: "1.26.0", go version: "go1.19.6", GOOS: "linux", GOARCH: "amd64"
$ go version
(if language is Go)go version go1.20.3 linux/amd64
$ kubectl version
Potential fix
Downgrade dependencies to
The text was updated successfully, but these errors were encountered: