Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,11 @@ function commonHttpClientOpts(clientOpts, req) {
clientOpts.proxy = app.config.httpProxy || false;
}

// noProxy
if (clientOpts.noProxy === undefined) {
clientOpts.noProxy = app.config.noProxy;
}

// headers.request-id
if (req && req.getId()) {
var req_id = (clientOpts.headers
Expand Down
1 change: 1 addition & 0 deletions sapi_manifests/imgapi/template
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
},

"httpProxy": "{{{http_proxy}}}",
"noProxy": "{{{no_proxy}}}",
"dockerRegistryInsecure": {{^docker_registry_insecure}}false{{/docker_registry_insecure}}{{#docker_registry_insecure}}{{{docker_registry_insecure}}}{{/docker_registry_insecure}},

"// imgapi-manta-setup": "The following vars used by 'imgapi-*-manta-setup'.",
Expand Down