PingSource is v1 (#4294)

* PingSource is v1

* more v1beta2 to v1
This commit is contained in:
Lionel Villard 2021-09-28 06:47:14 -04:00 committed by GitHub
parent 7bc53589d4
commit a97d895cbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 18 additions and 18 deletions

View File

@ -1,4 +1,4 @@
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: test-ping-source-binary

View File

@ -1,4 +1,4 @@
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: test-ping-source

View File

@ -143,7 +143,7 @@ This will create a PingSource which will send a CloudEvent with {"message":
"Hello world!"} as the data payload every 2 minutes.
```yaml
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: ping-source

View File

@ -1,4 +1,4 @@
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: ping-source

View File

@ -223,7 +223,7 @@ This will create a PingSource which will send a CloudEvent with
`{"message": "Hello world!"}` as the data payload every 2 minutes.
```yaml
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: ping-source

View File

@ -1,4 +1,4 @@
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: ping-source

View File

@ -117,7 +117,7 @@ This will create a PingSource which will send a CloudEvent with
`{"message": "Hello world!"}` as the data payload every 2 minutes.
```yaml
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: ping-source

View File

@ -1,4 +1,4 @@
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: ping-source

View File

@ -146,7 +146,7 @@ This will create a PingSource which will send a CloudEvent with {"message":
"Hello world!"} as the data payload every 2 minutes.
```yaml
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: ping-source

View File

@ -1,4 +1,4 @@
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: ping-source

View File

@ -152,7 +152,7 @@ This will create a PingSource which will send a CloudEvent with
`{"message": "Even or odd?"}` as the data payload every minute.
```yaml
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: ping-source

View File

@ -1,4 +1,4 @@
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: ping-source

View File

@ -135,7 +135,7 @@ This will create a PingSource which will send a CloudEvent with
`{"message": "Even or odd?"}` as the data payload every minute.
```yaml
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: me-ping-source

View File

@ -1,4 +1,4 @@
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: me-ping-source

View File

@ -28,7 +28,7 @@ which means there's a tight coupling between the producer and consumer.
```
cat <<EOF | kubectl create -f -
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: test-ping-source
@ -63,7 +63,7 @@ Let us create the second producer:
```
cat <<EOF | kubectl create -f -
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: test-ping-source2

View File

@ -88,7 +88,7 @@ theres no longer a tight coupling between the producer and consumer.
```
cat <<EOF | kubectl create -f -
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: test-ping-source-channel

View File

@ -75,7 +75,7 @@ Finally, create the producer to create the event:
```
cat <<EOF | kubectl create -f -
apiVersion: sources.knative.dev/v1beta2
apiVersion: sources.knative.dev/v1
kind: PingSource
metadata:
name: ping-source-sequence