Fix: add proxy environment to armada pod
Change-Id: Ib5813da2e6e174cb7c3764269817b687d6adaf34
This commit is contained in:
parent
5b4eee16b8
commit
13641c9fb9
|
@ -69,6 +69,20 @@ spec:
|
|||
env:
|
||||
- name: ARMADA_LOGFILE
|
||||
value: /tmp/log/bootstrap-armada.log
|
||||
{%- if config['KubernetesNetwork:proxy.url'] is defined %}
|
||||
- name: HTTP_PROXY
|
||||
value: {{ config['KubernetesNetwork:proxy.url'] }}
|
||||
- name: HTTPS_PROXY
|
||||
value: {{ config['KubernetesNetwork:proxy.url'] }}
|
||||
- name: NO_PROXY
|
||||
value: {{ config.get(kind='KubernetesNetwork') | fill_no_proxy }}
|
||||
- name: http_proxy
|
||||
value: {{ config['KubernetesNetwork:proxy.url'] }}
|
||||
- name: https_proxy
|
||||
value: {{ config['KubernetesNetwork:proxy.url'] }}
|
||||
- name: no_proxy
|
||||
value: {{ config.get(kind='KubernetesNetwork') | fill_no_proxy }}
|
||||
{%- endif %}
|
||||
volumeMounts:
|
||||
- name: assets
|
||||
mountPath: /etc/genesis/armada/assets
|
||||
|
|
Loading…
Reference in New Issue