summaryrefslogtreecommitdiffstats
path: root/roles/container_runtime/templates
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-01-30 11:15:01 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2018-01-30 11:15:01 +0100
commit7ce6b62cfbdd4cde157ecc2154a43cf9e7afd56e (patch)
tree3a15deb5712cd92819a2bf6a7c2049d4909be77d /roles/container_runtime/templates
parent844156f49a1899dd9d6059207bf63e6d8b865ec6 (diff)
downloadopenshift-7ce6b62cfbdd4cde157ecc2154a43cf9e7afd56e.tar.gz
openshift-7ce6b62cfbdd4cde157ecc2154a43cf9e7afd56e.tar.bz2
openshift-7ce6b62cfbdd4cde157ecc2154a43cf9e7afd56e.tar.xz
openshift-7ce6b62cfbdd4cde157ecc2154a43cf9e7afd56e.zip
cri-o: export variables defined in crio-network
so that the cri-o process can use them. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1529478 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'roles/container_runtime/templates')
-rw-r--r--roles/container_runtime/templates/crio-network.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/container_runtime/templates/crio-network.j2 b/roles/container_runtime/templates/crio-network.j2
index 763be97d7..ae8a506fe 100644
--- a/roles/container_runtime/templates/crio-network.j2
+++ b/roles/container_runtime/templates/crio-network.j2
@@ -1,9 +1,9 @@
{% if 'http_proxy' in openshift.common %}
-HTTP_PROXY={{ openshift.common.http_proxy }}
+export HTTP_PROXY={{ openshift.common.http_proxy }}
{% endif %}
{% if 'https_proxy' in openshift.common %}
-HTTPS_PROXY={{ openshift.common.https_proxy }}
+export HTTPS_PROXY={{ openshift.common.https_proxy }}
{% endif %}
{% if 'no_proxy' in openshift.common %}
-NO_PROXY={{ openshift.common.no_proxy }}
+export NO_PROXY={{ openshift.common.no_proxy }}
{% endif %}