Skip to content

Commit 2500dff

Browse files
matzewknative-prow-robot
authored andcommitted
reflecting 1.0 CE payload (#2019)
1 parent 1415955 commit 2500dff

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

docs/eventing/samples/cronjob-source/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,16 @@ You should see log lines showing the request headers and body from the source:
8080
☁️ cloudevents.Event
8181
Validation: valid
8282
Context Attributes,
83-
specversion: 0.3
83+
specversion: 1.0
8484
type: dev.knative.cronjob.event
8585
source: /apis/v1/namespaces/default/cronjobsources/test-cronjob-source
86-
id: 7f88a38f-35f1-41f6-b72d-6b1af1d64e6e
87-
time: 2019-10-18T15:18:00.000829514Z
86+
id: d8e761eb-30c7-49a3-a421-cd5895239f2d
87+
time: 2019-12-04T14:24:00.000702251Z
88+
datacontenttype: application/json
8889
Data,
89-
{"message":"Hello world!"}
90+
{
91+
"message": "Hello world!"
92+
}
9093
```
9194

9295
You can also use [`kail`](https://github.com/boz/kail) instead of `kubectl logs`

docs/eventing/samples/kubernetes-event-source/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,13 @@ You should see log lines similar to:
196196
☁️ cloudevents.Event
197197
Validation: valid
198198
Context Attributes,
199-
specversion: 0.3
200-
type: dev.knative.apiserver.resource.add
199+
specversion: 1.0
200+
type: dev.knative.apiserver.resource.update
201201
source: https://10.96.0.1:443
202-
subject: /apis/v1/namespaces/default/events/busybox.15cec7980c1702d1
203-
id: 6ea84c37-c2b4-4687-866b-fb1b2c0fe969
204-
time: 2019-10-18T15:32:55.855413776Z
202+
subject: /apis/v1/namespaces/default/events/testevents.15dd3050eb1e6f50
203+
id: e0447eb7-36b5-443b-9d37-faf4fe5c62f0
204+
time: 2019-12-04T14:09:30.917608978Z
205+
datacontenttype: application/json
205206
Data,
206207
{
207208
"apiVersion": "v1",

0 commit comments

Comments
 (0)