blob: e56f92620670daab9942265ce27333f316ad0fff [file] [log] [blame]
giolekva73d31262020-04-11 15:24:33 +04001apiVersion: argoproj.io/v1alpha1
2kind: Gateway
3metadata:
4 name: minio-gateway
5 labels:
6 # gateway controller with instanceId "argo-events" will process this gateway
7 gateways.argoproj.io/gateway-controller-instanceid: argo-events
8spec:
9 type: minio
10 eventSourceRef:
11 name: minio-event-source
12 template:
13 metadata:
14 name: minio-gateway
15 labels:
16 gateway-name: minio-gateway
17 spec:
18 containers:
19 - name: gateway-client
20 image: argoproj/gateway-client:v0.13.0
21 imagePullPolicy: Always
22 command: ["/bin/gateway-client"]
23 - name: minio-events
24 image: argoproj/artifact-gateway:v0.13.0
25 imagePullPolicy: Always
26 serviceAccountName: argo-events-sa
27 subscribers:
28 http:
29 - "http://minio-sensor.kube-system.svc:9300/"