Skip to content

Commit

Permalink
reflecting 1.0 CE payload (#2019)
Browse files Browse the repository at this point in the history
  • Loading branch information
matzew authored and knative-prow-robot committed Dec 11, 2019
1 parent 1415955 commit 2500dff
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
11 changes: 7 additions & 4 deletions docs/eventing/samples/cronjob-source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,16 @@ You should see log lines showing the request headers and body from the source:
☁️ cloudevents.Event
Validation: valid
Context Attributes,
specversion: 0.3
specversion: 1.0
type: dev.knative.cronjob.event
source: /apis/v1/namespaces/default/cronjobsources/test-cronjob-source
id: 7f88a38f-35f1-41f6-b72d-6b1af1d64e6e
time: 2019-10-18T15:18:00.000829514Z
id: d8e761eb-30c7-49a3-a421-cd5895239f2d
time: 2019-12-04T14:24:00.000702251Z
datacontenttype: application/json
Data,
{"message":"Hello world!"}
{
"message": "Hello world!"
}
```

You can also use [`kail`](https://github.com/boz/kail) instead of `kubectl logs`
Expand Down
11 changes: 6 additions & 5 deletions docs/eventing/samples/kubernetes-event-source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,13 @@ You should see log lines similar to:
☁️ cloudevents.Event
Validation: valid
Context Attributes,
specversion: 0.3
type: dev.knative.apiserver.resource.add
specversion: 1.0
type: dev.knative.apiserver.resource.update
source: https://10.96.0.1:443
subject: /apis/v1/namespaces/default/events/busybox.15cec7980c1702d1
id: 6ea84c37-c2b4-4687-866b-fb1b2c0fe969
time: 2019-10-18T15:32:55.855413776Z
subject: /apis/v1/namespaces/default/events/testevents.15dd3050eb1e6f50
id: e0447eb7-36b5-443b-9d37-faf4fe5c62f0
time: 2019-12-04T14:09:30.917608978Z
datacontenttype: application/json
Data,
{
"apiVersion": "v1",
Expand Down

0 comments on commit 2500dff

Please sign in to comment.