File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
eventing/samples/iot-core Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export IOTCORE_TOPIC_DEVICE="iot-demo-device-pubsub-topic"
54541 . Have [ gcloud] ( https://cloud.google.com/sdk/gcloud/ ) installed and pointing
5555 at that project.
5656
57- 1 . Enable the ' Cloud Pub/Sub API' on that project.
57+ 1 . Enable the ` Cloud Pub/Sub API ` on that project.
5858
5959 ``` shell
6060 gcloud services enable pubsub.googleapis.com
@@ -109,7 +109,7 @@ export IOTCORE_TOPIC_DEVICE="iot-demo-device-pubsub-topic"
1091091. Create a `Channel`.
110110
111111 ```shell
112- sed "s/CHANNEL_NAME/$CHANNEL_NAME/" eventing/samples/iot-core/ channel.yaml |
112+ sed "s/CHANNEL_NAME/$CHANNEL_NAME/" channel.yaml |
113113 kubectl -n default apply -f -
114114 ```
115115
@@ -121,7 +121,7 @@ export IOTCORE_TOPIC_DEVICE="iot-demo-device-pubsub-topic"
121121 sed -e "s/MY_GCP_PROJECT/$IOTCORE_PROJECT/" \
122122 -e "s/TOPIC_NAME/$IOTCORE_TOPIC_DATA/" \
123123 -e "s/CHANNEL_NAME/$CHANNEL_NAME/" \
124- eventing/samples/iot-core/ gcp-pubsub-source.yaml |
124+ gcp-pubsub-source.yaml |
125125 kubectl apply -f -
126126 ```
127127
@@ -133,8 +133,7 @@ Even though the `Source` isn't completely ready yet, we can setup the
1331331. Deploy ` subscription.yaml` .
134134
135135 ` ` ` shell
136- sed " s/CHANNEL_NAME/$CHANNEL_NAME /" \
137- eventing/samples/iot-core/subscription.yaml |
136+ sed " s/CHANNEL_NAME/$CHANNEL_NAME /" subscription.yaml |
138137 ko apply -f -
139138 ` ` `
140139
You can’t perform that action at this time.
0 commit comments