-
Notifications
You must be signed in to change notification settings - Fork 715
/
gcp-pubsub.yaml
42 lines (42 loc) · 1.13 KB
/
gcp-pubsub.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
apiVersion: argoproj.io/v1alpha1
kind: Gateway
metadata:
name: gcp-pubsub-gateway
labels:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
gateway-name: "gcp-pubsub-gateway"
spec:
processorPort: "9330"
eventProtocol:
type: "HTTP"
http:
port: "9300"
template:
metadata:
name: "gcp-pubsub-gateway"
labels:
gateway-name: "gcp-pubsub-gateway"
spec:
containers:
- name: "gateway-client"
image: "argoproj/gateway-client"
imagePullPolicy: "Always"
command: ["/bin/gateway-client"]
- name: "aws-sqs-events"
image: "argoproj/gcp-pubsub-gateway"
imagePullPolicy: "Always"
command: ["/bin/gcp-pubsub-gateway"]
volumeMounts:
- mountPath: /gcp-pubsub-creds-dir
name: gcp-pubsub-data
volumes:
- name: gcp-pubsub-data
secret:
secretName: gcp-pubsub
serviceAccountName: "argo-events-sa"
configMap: "gcp-pubsub-gateway-configmap"
eventVersion: "1.0"
type: "gcp-pubsub"
watchers:
sensors:
- name: "gcp-pubsub-sensor"