You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the GcpPubSubSource example to use Broker, rather than Channel. (#1049)
* Update the GcpPubSubSource example to use Broker, rather than Channel.
* Small updates.
* Add a message for the updated ClusterRole.
* Point to 0.5.0 URL, a not-yet-active URL.
1. Enable the `Cloud Pub/Sub API` on your project:
@@ -72,26 +72,11 @@ source is most useful as a bridge from other GCP services, such as
72
72
73
73
## Deployment
74
74
75
-
1. Create a Channel. This example creates a Channel called `pubsub-test` which
76
-
uses the in-memory provisioner, with the following definition:
77
-
78
-
```yaml
79
-
apiVersion: eventing.knative.dev/v1alpha1
80
-
kind: Channel
81
-
metadata:
82
-
name: pubsub-test
83
-
spec:
84
-
provisioner:
85
-
apiVersion: eventing.knative.dev/v1alpha1
86
-
kind: ClusterChannelProvisioner
87
-
name: in-memory-channel
88
-
```
89
-
90
-
If you're in the samples directory, you can apply the `channel.yaml` file:
75
+
1. Create the `default` Broker in your namespace. These instructions assume the namespace `default`, feel free to change to any other namespace you would like to use instead:
0 commit comments