@@ -290,10 +290,9 @@ namespace
290
290
needsCAInfrastructure
291
291
---------------------
292
292
293
- Flag that determines whether |k8s| creates a |k8s-cr| that allows the
294
- |k8s-op-short| to sign |tls| certificates using the
295
- :k8sdocs:`certificates.k8s.io </tasks/tls/managing-tls-in-a-cluster/>`
296
- API.
293
+ Determines whether |k8s| creates a |k8s-cr| that allows the |k8s-op-short|
294
+ to sign |tls| certificates using
295
+ the :k8sdocs:`certificates.k8s.io </tasks/tls/managing-tls-in-a-cluster/>` API.
297
296
298
297
.. example::
299
298
@@ -376,6 +375,48 @@ The default value is **mongodb-enterprise-operator**.
376
375
operator:
377
376
name: mongodb-enterprise-operator
378
377
378
+ .. _helm-vault-secret-enabled:
379
+
380
+ operator.vaultSecretBackend.enabled
381
+ ------------------------------------
382
+
383
+ Determines whether the |k8s-op-short| stores secrets in |hashicorp-vault|.
384
+ To learn more, see :ref:`k8s-set-secret-storage-tool`.
385
+ If you are using |tls| with |vault-short|, you must also specify
386
+ :ref:`operator.vaultSecretBackend.tlsSecretRef <helm-vault-secret-ref>`.
387
+
388
+ The default value is **false**.
389
+
390
+ .. example::
391
+
392
+ .. code-block:: yaml
393
+
394
+ operator:
395
+ # Set the following setting to "true" so that the MongoDB Kubernetes Operator stores secrets in Vault.
396
+ vaultSecretBackend: false
397
+
398
+ .. _helm-vault-secret-ref:
399
+
400
+ operator.vaultSecretBackend.tlsSecretRef
401
+ ----------------------------------------
402
+
403
+ Required if you are using |tls| with |vault-short|. The TLS secret used in
404
+ your |vault-short| configuration that contains a ``ca.crt`` entry.
405
+ The content of the ``ca.crt`` entry must match the certificate of
406
+ the |certauth| used to generate the |vault-short| TLS certificates.
407
+ The |k8s-op-short| stores this TLS secret in its |secret-store|.
408
+ To learn more, see :ref:`Configure Secret Storage <k8s-set-secret-storage-tool>`.
409
+ Requires that :ref:`operator.vaultSecretBackend.enabled <helm-vault-secret-enabled>`
410
+ is set to ``true``.
411
+
412
+ .. example::
413
+
414
+ .. code-block:: yaml
415
+
416
+ operator:
417
+ vaultSecretBackend: true
418
+ tlsSecretRef: "vault-tls-secret"
419
+
379
420
operator.version
380
421
----------------
381
422
@@ -640,4 +681,4 @@ The default value is **true**.
640
681
641
682
.. code-block:: yaml
642
683
643
- subresourceEnabled: true
684
+ subresourceEnabled: true
0 commit comments