| giolekva | 73d3126 | 2020-04-11 15:24:33 +0400 | [diff] [blame] | 1 | apiVersion: argoproj.io/v1alpha1 |
| 2 | kind: Gateway |
| 3 | metadata: |
| 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 |
| 8 | spec: |
| 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/" |