-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Cron job source example: outdated image #2145
Comments
The gcr.io/knative-releases/github.com/knative/eventing-sources/cmd/event_display image is also used in some other places:
maybe it could caused problems there too. |
gcr.io/knative-releases/github.com/knative/eventing-sources/cmd/event_display -> gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display knative#2145
Yes we should. That was my question in the docs meeting about using a variable and then when we push a new version, all these should change :) |
gcr.io/knative-releases/github.com/knative/eventing-sources/cmd/event_display -> gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display #2145
Using "gcr.io/knative-releases/github.com/knative/eventing-contrib/cmd/event_display: produces "unknown encoding error" in this Example. Switching to image @ gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display resolves these issues for me. See: knative#2145
The outdated image does not work, see knative/docs#2145 for more context.
The outdated image does not work, see knative/docs#2145 for more context.
Expected Behavior
Log of the pod running the event-display service should contain information about received events (begins with "☁️ cloudevents.Event" as described in the example).
Actual Behavior
Log contains errors:
{"level":"error","ts":1580396460.0210204,"logger":"fallback","caller":"http/transport.go:408","msg":"failed to decode message","error":"unknown encoding","stacktrace":"github.com/knative/eventing-sources/vendor/github.com/cloudevents/sdk-go/pkg/cloudevents/transport/http.(*Transport).ServeHTTP /go/src/github.com/knative/eventing-sources/vendor/github.com/cloudevents/sdk-go/pkg/cloudevents/transport/http/transport.go:408 net/http.(*ServeMux).ServeHTTP /usr/local/go/src/net/http/server.go:2375 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:2774 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:1878"}
Steps to Reproduce the Problem
Follow Cron Job Source example from documentation.
Additional Info
The service yaml references older registry:
gcr.io/knative-releases/github.com/knative/eventing-sources/cmd/event_display
.I believe it should reference newer registry:
gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display
(maybe with fixed revision).Install information:
The text was updated successfully, but these errors were encountered: