minio argo nats face
diff --git a/argo/gateway.yaml b/argo/gateway.yaml
index e56f926..b98baf4 100644
--- a/argo/gateway.yaml
+++ b/argo/gateway.yaml
@@ -1,29 +1,61 @@
apiVersion: argoproj.io/v1alpha1
kind: Gateway
metadata:
- name: minio-gateway
+ name: nats-gateway
labels:
# gateway controller with instanceId "argo-events" will process this gateway
gateways.argoproj.io/gateway-controller-instanceid: argo-events
spec:
- type: minio
+ type: nats
eventSourceRef:
- name: minio-event-source
+ name: nats-event-source
template:
metadata:
- name: minio-gateway
+ name: nats-gateway
labels:
- gateway-name: minio-gateway
+ gateway-name: nats-gateway
spec:
containers:
- name: gateway-client
- image: argoproj/gateway-client:v0.13.0
- imagePullPolicy: Always
+ image: argoproj/gateway-client:v0.14.0
+ imagePullPolicy: IfNotPresent
command: ["/bin/gateway-client"]
- - name: minio-events
- image: argoproj/artifact-gateway:v0.13.0
- imagePullPolicy: Always
+ - name: nats-events
+ image: argoproj/nats-gateway:v0.14.0
+ imagePullPolicy: IfNotPresent
+ command: ["/bin/nats-gateway"]
serviceAccountName: argo-events-sa
subscribers:
http:
- - "http://minio-sensor.kube-system.svc:9300/"
+ - "http://nats-sensor.svc:9300/"
+
+
+# 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/"