Skip to content

Commit

Permalink
using command arg when tunnelling
Browse files Browse the repository at this point in the history
  • Loading branch information
rusenask committed May 29, 2019
1 parent 486b5ed commit 4077ba3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions deployment/deployment-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ spec:
image: "webhookrelay/webhookrelayd:latest"
imagePullPolicy: Always
{{ if .relay_tunnel}}
command: ["/relayd", "--mode", "tunnel"]
command: ["/relayd", "--mode", "tunnel", "--tunnels", "{{ .relay_tunnel }}"]
{{ else }}
command: ["/relayd"]
{{ end}}
Expand All @@ -137,9 +137,6 @@ spec:
{{ if .relay_bucket }}
- name: BUCKET
value: "{{ .relay_bucket }}"
{{ else if .relay_tunnel }}
- name: TUNNEL
value: "{{ .relay_tunnel }}"
{{ end }}
{{ end }}
- name: keel
Expand Down

0 comments on commit 4077ba3

Please sign in to comment.