Skip to content

Commit

Permalink
Fixing examples (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
VaibhavPage authored and magaldima committed Dec 1, 2018
1 parent 9cc42b6 commit c6f6636
Show file tree
Hide file tree
Showing 17 changed files with 37 additions and 23 deletions.
3 changes: 2 additions & 1 deletion examples/gateways/amqp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ spec:
deploySpec:
containers:
- name: amqp-events
image: "argoproj/amqp-gateway"
image: "argoproj/amqp-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/amqp-gateway"]
serviceAccountName: "argo-events-sa"
configMap: "amqp-gateway-configmap"
type: "amqp"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
watchers:
sensors:
- name: "amqp-sensor"
3 changes: 2 additions & 1 deletion examples/gateways/artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ spec:
deploySpec:
containers:
- name: "artifact-events"
image: "argoproj/artifact-gateway"
image: "argoproj/artifact-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/artifact-gateway"]
serviceAccountName: "argo-events-sa"
configMap: "artifact-gateway-configmap"
eventVersion: "1.0"
imageVersion: "v0.6"
type: "artifact"
dispatchMechanism: "HTTP"
watchers:
Expand Down
3 changes: 2 additions & 1 deletion examples/gateways/calendar-grpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ spec:
type: "calendar"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
deploySpec:
containers:
- name: "calendar-events"
image: "argoproj/calendar-grpc-gateway"
image: "argoproj/calendar-grpc-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/calendar-grpc-gateway"]
serviceAccountName: "argo-events-sa"
Expand Down
3 changes: 2 additions & 1 deletion examples/gateways/calendar-http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ spec:
deploySpec:
containers:
- name: "calendar-events"
image: "argoproj/calendar-http-gateway"
image: "argoproj/calendar-http-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/calendar-http"]
serviceAccountName: "argo-events-sa"
configMap: "calendar-gateway-configmap"
type: "calendar"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
watchers:
sensors:
- name: "calendar-sensor"
Expand Down
3 changes: 2 additions & 1 deletion examples/gateways/calendar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ spec:
deploySpec:
containers:
- name: "calendar-events"
image: "argoproj/calendar-gateway"
image: "argoproj/calendar-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/calendar-gateway"]
serviceAccountName: "argo-events-sa"
configMap: "calendar-gateway-configmap"
type: "calendar"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
watchers:
sensors:
- name: "calendar-sensor"
3 changes: 2 additions & 1 deletion examples/gateways/file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ spec:
deploySpec:
containers:
- name: "file-events"
image: "argoproj/file-gateway"
image: "argoproj/file-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/file-gateway"]
serviceAccountName: "argo-events-sa"
configMap: "file-gateway-configmap"
eventVersion: "1.0"
imageVersion: "v0.6"
type: "file"
dispatchMechanism: "HTTP"
watchers:
Expand Down
3 changes: 2 additions & 1 deletion examples/gateways/gitlab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ spec:
deploySpec:
containers:
- name: "gitlab-events"
image: "argoproj/gitlab-gateway:test"
image: "argoproj/gitlab-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/gitlab-gateway"]
serviceAccountName: "argo-events-sa"
configMap: "gitlab-gateway-configmap"
type: "gitlab"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
watchers:
sensors:
- name: "gitlab-sensor"
3 changes: 2 additions & 1 deletion examples/gateways/kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ spec:
deploySpec:
containers:
- name: "kafka-events"
image: "argoproj/kafka-gateway"
image: "argoproj/kafka-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/kafka-gateway"]
serviceAccountName: "argo-events-sa"
configMap: "kafka-gateway-configmap"
type: "kafka"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
watchers:
sensors:
- name: "kafka-sensor"
3 changes: 2 additions & 1 deletion examples/gateways/mqtt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ spec:
deploySpec:
containers:
- name: "mqtt-events"
image: "argoproj/mqtt-gateway"
image: "argoproj/mqtt-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/mqtt-gateway"]
serviceAccountName: "argo-events-sa"
configMap: "mqtt-gateway-configmap"
type: "mqtt"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
watchers:
sensors:
- name: "mqtt-sensor"
3 changes: 2 additions & 1 deletion examples/gateways/multi-watchers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ spec:
type: "webhook"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
deploySpec:
containers:
- name: "webhook-events"
image: "argoproj/webhook-gateway"
image: "argoproj/webhook-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/webhook-gateway"]
serviceAccountName: "argo-events-sa"
Expand Down
3 changes: 2 additions & 1 deletion examples/gateways/nats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ spec:
deploySpec:
containers:
- name: "nats-events"
image: "argoproj/nats-gateway"
image: "argoproj/nats-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/nats-gateway"]
serviceAccountName: "argo-events-sa"
configMap: "nats-gateway-configmap"
type: "nats"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
watchers:
sensors:
- name: "nats-sensor"
3 changes: 2 additions & 1 deletion examples/gateways/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ spec:
deploySpec:
containers:
- name: "resource-events"
image: "argoproj/resource-gateway"
image: "argoproj/resource-gateway:v0.6"
imagePullPolicy: "Always"
command: ["/bin/resource-gateway"]
serviceAccountName: "argo-events-sa"
configMap: "resource-gateway-configmap"
type: "resource"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
watchers:
sensors:
- name: "resource-sensor"
3 changes: 2 additions & 1 deletion examples/gateways/storage-grid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ spec:
type: "storage_grid"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
deploySpec:
containers:
- name: "storage-grid-events"
image: "argoproj/storage-grid-gateway"
image: "argoproj/storage-grid-gateway:v0.6"
imagePullPolicy: "Always"
serviceAccountName: "argo-events-sa"
serviceSpec:
Expand Down
1 change: 1 addition & 0 deletions examples/gateways/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
type: "webhook"
dispatchMechanism: "HTTP"
eventVersion: "1.0"
imageVersion: "v0.6"
deploySpec:
containers:
- name: "webhook-events"
Expand Down
16 changes: 8 additions & 8 deletions examples/sensors/kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ metadata:
labels:
sensors.argoproj.io/sensor-controller-instanceid: argo-events
spec:
deploySpec:
containers:
- name: sensor
image: "argoproj/sensor:v0.6"
imagePullPolicy: "Always"
command: ["/bin/sensor"]
serviceAccountName: "argo-events-sa"
repeat: true
deploySpec:
containers:
- name: sensor
image: "argoproj/sensor:v0.6"
imagePullPolicy: "Always"
command: ["/bin/sensor"]
serviceAccountName: "argo-events-sa"
repeat: true
signals:
- name: kafka-gateway/kafka.fooConfig
triggers:
Expand Down
2 changes: 1 addition & 1 deletion hack/k8s/manifests/gateway-controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
serviceAccountName: argo-events-sa
containers:
- name: gateway-controller
image: argoproj/gateway-controller:v0.7
image: argoproj/gateway-controller:v0.6
imagePullPolicy: Always
env:
- name: GATEWAY_NAMESPACE
Expand Down
2 changes: 1 addition & 1 deletion hack/k8s/manifests/sensor-controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
serviceAccountName: argo-events-sa
containers:
- name: sensor-controller
image: argoproj/sensor-controller:v0.7
image: argoproj/sensor-controller:v0.6
imagePullPolicy: Always
env:
- name: SENSOR_NAMESPACE
Expand Down

0 comments on commit c6f6636

Please sign in to comment.