mirror of https://github.com/knative/docs.git
updating ApiServerSource example to use v1beta1 (#2688)
This commit is contained in:
parent
14bd80cfa1
commit
22ef34a2d7
|
@ -177,7 +177,7 @@ something went wrong during `chan` reconciliation. See
|
||||||
##### `src`
|
##### `src`
|
||||||
|
|
||||||
`src` is a
|
`src` is a
|
||||||
[`ApiServerSource`](https://github.com/knative/eventing/blob/master/pkg/apis/sources/v1alpha1/apiserver_types.go).
|
[`ApiServerSource`](https://github.com/knative/eventing/blob/master/pkg/apis/sources/v1beta1/apiserver_types.go).
|
||||||
|
|
||||||
First we will verify that `src` is writing to `chan`.
|
First we will verify that `src` is writing to `chan`.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: sources.knative.dev/v1alpha1
|
apiVersion: sources.knative.dev/v1beta1
|
||||||
kind: ApiServerSource
|
kind: ApiServerSource
|
||||||
metadata:
|
metadata:
|
||||||
name: testevents-kafka-03
|
name: testevents-kafka-03
|
||||||
|
|
|
@ -96,7 +96,7 @@ all the YAML files deployed in this sample to point at that namespace.
|
||||||
block below into it.
|
block below into it.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: sources.knative.dev/v1alpha1
|
apiVersion: sources.knative.dev/v1beta1
|
||||||
kind: ApiServerSource
|
kind: ApiServerSource
|
||||||
metadata:
|
metadata:
|
||||||
name: testevents
|
name: testevents
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: sources.knative.dev/v1alpha1
|
apiVersion: sources.knative.dev/v1beta1
|
||||||
kind: ApiServerSource
|
kind: ApiServerSource
|
||||||
metadata:
|
metadata:
|
||||||
name: testevents
|
name: testevents
|
||||||
|
|
Loading…
Reference in New Issue