Skip to content

Commit 96bdef3

Browse files
authored
(DOCSP-47121) Adds env var MDB_PROPOGATE_PROXY_ENV. (#2049)
1 parent 015f0ba commit 96bdef3

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

source/reference/kubectl-operator-settings.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,37 @@ MDB_MAX_CONCURRENT_RECONCILES
565565
- name: MDB_MAX_CONCURRENT_RECONCILES
566566
value: "10"
567567

568+
.. _mdb-propogate-proxy-env:
569+
570+
MDB_PROPAGATE_PROXY_ENV
571+
-----------------------
572+
573+
Enables the |k8s-op-short| to function in proxy-restricted environments. Set
574+
this variable to ``true`` along with the standard proxy settings (``HTTP_PROXY``,
575+
``HTTPS_PROXY``, ``NO_PROXY``) to propagate these proxy settings from your
576+
|k8s-op-short| Pod to the {+mdbagent+}s, allowing all components to communicate
577+
effectively through the specified proxies.
578+
579+
.. example::
580+
581+
.. code-block:: yaml
582+
:linenos:
583+
584+
spec:
585+
template:
586+
spec:
587+
serviceAccountName: mongodb-enterprise-operator
588+
containers:
589+
- env:
590+
- name: MDB_PROPAGATE_PROXY_ENV
591+
value: "true"
592+
- name: HTTP_PROXY
593+
value: "http://example-http-proxy:7312"
594+
- name: HTTPS_PROXY
595+
value: "https://secure-proxy:3242"
596+
- name: NO_PROXY
597+
value: "google.com"
598+
568599
MONGODB_ENTERPRISE_DATABASE_IMAGE
569600
---------------------------------
570601

0 commit comments

Comments
 (0)