Skip to content

Commit d40402e

Browse files
author
Chris
committed
update event docs
1 parent 1dca058 commit d40402e

File tree

2 files changed

+33
-13
lines changed

2 files changed

+33
-13
lines changed

docs/deployment/configuration/cloud_event.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To turn on, add the following to your FlyteAdmin:
6666
cloudEvents:
6767
enable: true
6868
gcp:
69-
region: us-east-2
69+
projectId: my-project-id
7070
eventsPublisher:
7171
eventTypes:
7272
- all # or node, task, workflow

docs/deployment/configuration/eventing.rst

+32-12
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,39 @@ Configuration
2727

2828
To turn on, add the following to your FlyteAdmin:
2929

30-
.. code:: yaml
31-
32-
external_events.yaml: |
33-
externalEvents:
34-
enable: true
35-
aws:
36-
region: us-east-2
37-
eventsPublisher:
38-
eventTypes:
39-
- all
40-
topicName: arn:aws:sns:us-east-2:123456:123-my-topic
41-
type: aws
4230

31+
.. tabs::
32+
33+
.. tab:: AWS SNS
34+
35+
.. code:: yaml
36+
37+
cloud_events.yaml: |
38+
cloudEvents:
39+
enable: true
40+
aws:
41+
region: us-east-2
42+
eventsPublisher:
43+
eventTypes:
44+
- all # or node, task, workflow
45+
topicName: arn:aws:sns:us-east-2:123456:123-my-topic
46+
type: aws
47+
48+
.. tab:: GCP Pub/Sub
49+
50+
.. code:: yaml
51+
52+
cloud_events.yaml: |
53+
cloudEvents:
54+
enable: true
55+
gcp:
56+
projectId: my-project-id
57+
eventsPublisher:
58+
eventTypes:
59+
- all # or node, task, workflow
60+
topicName: my-topic
61+
type: gcp
62+
4363
Helm
4464
====
4565

0 commit comments

Comments
 (0)