mirror of https://github.com/knative/docs.git
Update containersource example to use v1beta1 (#2690)
This commit is contained in:
parent
8c13828b22
commit
441faac38b
|
@ -15,7 +15,7 @@ In YAML, these two options are equivalent:
|
||||||
1. `ContainerSource` that emits events to a `Knative Service`:
|
1. `ContainerSource` that emits events to a `Knative Service`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: sources.knative.dev/v1alpha2
|
apiVersion: sources.knative.dev/v1beta1
|
||||||
kind: ContainerSource
|
kind: ContainerSource
|
||||||
metadata:
|
metadata:
|
||||||
name: urbanobservatory-event-source
|
name: urbanobservatory-event-source
|
||||||
|
|
|
@ -75,7 +75,7 @@ file. Note that arguments and environment variables are set and will be passed
|
||||||
to the container.
|
to the container.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: sources.knative.dev/v1alpha2
|
apiVersion: sources.knative.dev/v1beta1
|
||||||
kind: ContainerSource
|
kind: ContainerSource
|
||||||
metadata:
|
metadata:
|
||||||
name: test-heartbeats
|
name: test-heartbeats
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: sources.knative.dev/v1alpha2
|
apiVersion: sources.knative.dev/v1beta1
|
||||||
kind: ContainerSource
|
kind: ContainerSource
|
||||||
metadata:
|
metadata:
|
||||||
name: test-heartbeats
|
name: test-heartbeats
|
||||||
|
|
Loading…
Reference in New Issue