bind minio events to argo workflows
diff --git a/argo/gateway.yaml b/argo/gateway.yaml
new file mode 100644
index 0000000..e56f926
--- /dev/null
+++ b/argo/gateway.yaml
@@ -0,0 +1,29 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Gateway
+metadata:
+ name: minio-gateway
+ labels:
+ # gateway controller with instanceId "argo-events" will process this gateway
+ gateways.argoproj.io/gateway-controller-instanceid: argo-events
+spec:
+ type: minio
+ eventSourceRef:
+ name: minio-event-source
+ template:
+ metadata:
+ name: minio-gateway
+ labels:
+ gateway-name: minio-gateway
+ spec:
+ containers:
+ - name: gateway-client
+ image: argoproj/gateway-client:v0.13.0
+ imagePullPolicy: Always
+ command: ["/bin/gateway-client"]
+ - name: minio-events
+ image: argoproj/artifact-gateway:v0.13.0
+ imagePullPolicy: Always
+ serviceAccountName: argo-events-sa
+ subscribers:
+ http:
+ - "http://minio-sensor.kube-system.svc:9300/"