mirror of https://github.com/knative/docs.git
update package, fix issue 3135 (#3136)
This commit is contained in:
parent
d22a3c317a
commit
23533ca02d
|
@ -70,9 +70,9 @@ To deploy the Knative service, edit the `service.yaml` file and replace
|
||||||
|
|
||||||
To deploy using the `kn` CLI:
|
To deploy using the `kn` CLI:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kn service create cloudevents-nodejs --image=<image>
|
kn service create cloudevents-nodejs --image=<image>
|
||||||
```
|
```
|
||||||
|
|
||||||
{{ /tab }}{{ /tabs }}
|
{{ /tab }}{{ /tabs }}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -13,7 +13,7 @@
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cloudevents": "^3.2.0",
|
"cloudevents": "^4.0.0",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"nodemon": "^2.0.4"
|
"nodemon": "^2.0.4"
|
||||||
},
|
},
|
||||||
|
|
|
@ -21,8 +21,8 @@ spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: <registry/repository/image:tag>
|
- image: <registry/repository/image:tag>
|
||||||
# Uncomment this to send events somewhere.
|
# Uncomment this to send events somewhere.
|
||||||
# env:
|
# env:
|
||||||
# - name: K_SINK
|
# - name: K_SINK
|
||||||
# value: http://default-broker.default.svc.cluster.local
|
# value: http://default-broker.default.svc.cluster.local
|
||||||
|
|
Loading…
Reference in New Issue