diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-01-05 07:34:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-05 07:34:52 -0800 |
commit | 38fd87868572e1cd45b645896fc47b6577271df4 (patch) | |
tree | f7074740e99dd7102122d610b9b5ccf9310baf45 /roles/container_runtime/templates | |
parent | 9f19afc7529bd7293433b27e834b9ee3479e646f (diff) | |
parent | 3e5a8a1b3c545c3050924fc70f105b3c23e7dce7 (diff) | |
download | openshift-38fd87868572e1cd45b645896fc47b6577271df4.tar.gz openshift-38fd87868572e1cd45b645896fc47b6577271df4.tar.bz2 openshift-38fd87868572e1cd45b645896fc47b6577271df4.tar.xz openshift-38fd87868572e1cd45b645896fc47b6577271df4.zip |
Merge pull request #6615 from giuseppe/cri-o-set-proxy
Automatic merge from submit-queue.
cri-o: set proxy variables
Make CRI-O honor HTTP_PROXY/HTTPS_PROXY/NO_PROXY.
This change https://github.com/kubernetes-incubator/cri-o/pull/1245 in the system container is required
Diffstat (limited to 'roles/container_runtime/templates')
-rw-r--r-- | roles/container_runtime/templates/crio-network.j2 | 9 |
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..763be97d7 --- /dev/null +++ b/roles/container_runtime/templates/crio-network.j2 @@ -0,0 +1,9 @@ +{% if 'http_proxy' in openshift.common %} +HTTP_PROXY={{ openshift.common.http_proxy }} +{% endif %} +{% if 'https_proxy' in openshift.common %} +HTTPS_PROXY={{ openshift.common.https_proxy }} +{% endif %} +{% if 'no_proxy' in openshift.common %} +NO_PROXY={{ openshift.common.no_proxy }} +{% endif %} |