Skip to content

Commit

Permalink
add proxy env to discovery as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontleon committed Apr 2, 2020
1 parent e57fcf8 commit bf70bbf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions roles/migrationcontroller/templates/controller.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,18 @@ spec:
value: discovery
- name: SECRET_NAME
value: webhook-server-secret
{% if http_proxy|length >0 %}
- name: HTTP_PROXY
value: {{ http_proxy }}
{% endif %}
{% if https_proxy|length >0 %}
- name: HTTPS_PROXY
value: {{ https_proxy }}
{% endif %}
{% if no_proxy|length >0 %}
- name: NO_PROXY
value: {{ no_proxy }}
{% endif %}
envFrom:
- configMapRef:
name: migration-controller
Expand Down

0 comments on commit bf70bbf

Please sign in to comment.