Skip to content

Commit 150b02f

Browse files
authored
Merge pull request #3212 from replicatedhq/121599
HOLD FOR RELEASE: EC respects env vars for proxy installs
2 parents c26063c + 0987152 commit 150b02f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Embedded Cluster 2.4.0 and later also respects the `http_proxy`, `https_proxy`, and `no_proxy` environment variables for installing behind a proxy. When set, the `--http-proxy`, `--https-proxy`, `--no-proxy` flags take precedence over environment variables. Additionally, lowercase environment variables (`http_proxy`) take precedence over uppercase (`HTTP_PROXY`).

docs/reference/embedded-cluster-install.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import ProxyLimitations from "../partials/embedded-cluster/_proxy-install-limitations.mdx"
22
import ProxyRequirements from "../partials/embedded-cluster/_proxy-install-reqs.mdx"
3-
3+
import ProxyEnvVars from "../partials/embedded-cluster/_proxy-env-vars.mdx"
44

55
# Embedded Cluster Install Command Options
66

@@ -70,6 +70,7 @@ sudo ./APP_SLUG install --license PATH_TO_LICENSE [flags]
7070
<td>`--http-proxy`</td>
7171
<td>
7272
<p>Proxy server to use for HTTP.</p>
73+
<ProxyEnvVars/>
7374
<ProxyRequirements/>
7475
<ProxyLimitations/>
7576
</td>
@@ -78,6 +79,7 @@ sudo ./APP_SLUG install --license PATH_TO_LICENSE [flags]
7879
<td>`--https-proxy`</td>
7980
<td>
8081
<p>Proxy server to use for HTTPS.</p>
82+
<ProxyEnvVars/>
8183
<ProxyRequirements/>
8284
<ProxyLimitations/>
8385
</td>
@@ -118,6 +120,7 @@ sudo ./APP_SLUG install --license PATH_TO_LICENSE [flags]
118120
<li>The CIDR block used for assigning IPs to Kubernetes Pods and Services. By default, the CIDR block is `10.244.0.0/16`. For information about how to change this default, see [Set IP Address Range for Pods and Services](#set-ip-address-range-for-pods-and-services).</li>
119121
</ul>
120122
<p>To ensure your application's internal cluster communication is not proxied, use fully qualified domain names like `my-service.my-namespace.svc` or `my-service.my-namespace.svc.cluster.local`.</p>
123+
<ProxyEnvVars/>
121124
<ProxyRequirements/>
122125
<ProxyLimitations/>
123126
</td>

0 commit comments

Comments
 (0)