summaryrefslogtreecommitdiffstats
path: root/roles/container_runtime/templates/crio-network.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/container_runtime/templates/crio-network.j2')
-rw-r--r--roles/container_runtime/templates/crio-network.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/container_runtime/templates/crio-network.j2 b/roles/container_runtime/templates/crio-network.j2
new file mode 100644
index 000000000..ae8a506fe
--- /dev/null
+++ b/roles/container_runtime/templates/crio-network.j2
@@ -0,0 +1,9 @@
+{% if 'http_proxy' in openshift.common %}
+export HTTP_PROXY={{ openshift.common.http_proxy }}
+{% endif %}
+{% if 'https_proxy' in openshift.common %}
+export HTTPS_PROXY={{ openshift.common.https_proxy }}
+{% endif %}
+{% if 'no_proxy' in openshift.common %}
+export NO_PROXY={{ openshift.common.no_proxy }}
+{% endif %}