Skip to content

Commit

Permalink
Add proxy protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
polyaxon-ci committed Apr 24, 2024
1 parent 9d289e0 commit c5b6066
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions agent/templates/proxies-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ data:
{{- if .Values.proxy.host }}
POLYAXON_PROXY_FORWARD_PROXY_HOST: {{ .Values.proxy.host | quote }}
{{- end -}}
{{- if .Values.proxy.protocol }}
POLYAXON_PROXY_FORWARD_PROXY_PROTOCOL: {{ .Values.proxy.protocol | quote }}
{{- end -}}
{{- if .Values.proxy.kind }}
POLYAXON_PROXY_FORWARD_PROXY_KIND: {{ .Values.proxy.kind | quote }}
{{- end -}}
Expand Down
1 change: 1 addition & 0 deletions agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ proxy:
# httpsProxy:
# httpProxy:
# noProxy:
# protocol:
# host:
# port:
# kind: transparent or connect
Expand Down
3 changes: 3 additions & 0 deletions polyaxon/templates/proxies-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ data:
{{- if .Values.proxy.host }}
POLYAXON_PROXY_FORWARD_PROXY_HOST: {{ .Values.proxy.host | quote }}
{{- end -}}
{{- if .Values.proxy.protocol }}
POLYAXON_PROXY_FORWARD_PROXY_PROTOCOL: {{ .Values.proxy.protocol | quote }}
{{- end -}}
{{- if .Values.proxy.kind }}
POLYAXON_PROXY_FORWARD_PROXY_KIND: {{ .Values.proxy.kind | quote }}
{{- end -}}
Expand Down

0 comments on commit c5b6066

Please sign in to comment.