We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a590ab7 + e0178ac commit 02b770cCopy full SHA for 02b770c
deploy/kicbase/entrypoint
@@ -23,9 +23,12 @@ configure_proxy() {
23
# ensure all processes receive the proxy settings by default
24
# https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html
25
mkdir -p /etc/systemd/system.conf.d/
26
+ if [[ ! -z "${NO_PROXY-}" ]]; then
27
+ NO_PROXY="${NO_PROXY},control-plane.minikube.internal"
28
+ fi
29
cat <<EOF >/etc/systemd/system.conf.d/proxy-default-environment.conf
30
[Manager]
-DefaultEnvironment="HTTP_PROXY=${HTTP_PROXY:-}" "HTTPS_PROXY=${HTTPS_PROXY:-}" "NO_PROXY=${NO_PROXY:-}"
31
+DefaultEnvironment="HTTP_PROXY=${HTTP_PROXY:-}" "HTTPS_PROXY=${HTTPS_PROXY:-}" "NO_PROXY=${NO_PROXY:-"control-plane.minikube.internal"}"
32
EOF
33
}
34
0 commit comments