Use Rancher PushProx image

pull/507/head
Arvind Iyengar 2020-07-31 15:49:49 -07:00
parent 701098fd72
commit 93f477b3e9
3 changed files with 21 additions and 5 deletions

View File

@ -26,8 +26,11 @@ spec:
{{- end }}
containers:
- name: pushprox-client
image: arvindiyengar/pushprox-linux-amd64:add_flag_for_token_path
command: [ "/app/pushprox-client" ]
image: {{ .Values.clients.image.repository }}:{{ .Values.clients.image.tag }}
command:
{{- range .Values.clients.command }}
- {{ . | quote }}
{{- end }}
args:
- --fqdn=$(HOST_IP)
- --proxy-url=$(PROXY_URL)

View File

@ -21,8 +21,11 @@ spec:
{{- end }}
containers:
- name: pushprox-proxy
image: arvindiyengar/pushprox-linux-amd64:add_flag_for_token_path
command: [ "/app/pushprox-proxy" ]
image: {{ .Values.proxy.image.repository }}:{{ .Values.proxy.image.tag }}
command:
{{- range .Values.proxy.command }}
- {{ . | quote }}
{{- end }}
{{- if .Values.proxy.resources }}
resources: {{ toYaml .Values.proxy.resources | nindent 10 }}
{{- end }}

View File

@ -55,6 +55,11 @@ clients:
nodeSelector: {}
tolerations: []
image:
repository: rancher/pushprox-client
tag: v0.1.0-rancher1-client
command: ["pushprox-client"]
proxy:
enabled: true
# The port through which PushProx clients will communicate to the proxy
@ -65,4 +70,9 @@ proxy:
# Options to select a node to run a single proxy deployment on
nodeSelector: {}
tolerations: []
tolerations: []
image:
repository: rancher/pushprox-proxy
tag: v0.1.0-rancher1-proxy
command: ["pushprox-proxy"]