@@ -526,14 +526,29 @@ description: |
526
526
Provide the name of the |k8s-secret| that store the |certauth|.
527
527
---
528
528
program : _shared
529
+ name : spec.security.authentication
530
+ type : collection
531
+ directive : setting
532
+ optional : true
533
+ description : |
534
+ Authentication specifications for your MongoDB deployment.
535
+ ---
536
+ program : _shared
529
537
name : spec.security.authentication.modes
530
538
type : array
531
539
directive : setting
532
540
optional : true
533
541
description : |
534
- Set to ``["X509"]`` to enable
535
- :ref:`X.509 internal cluster authentication
536
- <x509-internal-authentication>` for the |com| project.
542
+ Specifies the authentication mechanism that your MongoDB deployment
543
+ uses. Valid values are ``SCRAM`` and ``X509``.
544
+
545
+ To enable :ref:`X.509 internal cluster authentication
546
+ <x509-internal-authentication>` for the |com| project, set this value
547
+ to ``["X509"]`` and specify the following settings:
548
+
549
+ - :setting:`spec.security.authentication.internalCluster` ``: "X509"``
550
+ - :setting:`spec.security.tls.enabled` ``: true``
551
+
537
552
---
538
553
program : _shared
539
554
name : spec.security.authentication.enabled
@@ -542,8 +557,11 @@ directive: setting
542
557
optional : true
543
558
default : " ``false``"
544
559
description : |
545
- Specifies whether x.509 authentication is enabled on the |com|
546
- project.
560
+ Specifies whether authentication is enabled on the |com|
561
+ project. Requires that you set an authentication mechanism in
562
+ :setting:`spec.security.authentication.modes`.
563
+
564
+ To disable authentication in |com|, explicitly set to ``false``.
547
565
---
548
566
program : _shared
549
567
name : spec.security.authentication.ignoreUnknownUsers
@@ -555,8 +573,7 @@ description: |
555
573
Determines whether you can modify database users that were not
556
574
configured through the |k8s-op-short| or the |com| UI.
557
575
558
- Set to ``true`` if you need to manage database users directly through
559
- the |mongod| or |mongos|.
576
+ To manage database users directly through the |mongod| or |mongos|, set to ``true``.
560
577
---
561
578
program : _shared
562
579
name : spec.additionalMongodConfig.net.ssl.mode
@@ -576,9 +593,14 @@ type: string
576
593
directive : setting
577
594
optional : true
578
595
description : |
579
- Set to ``X509`` to enable :ref:`X.509 internal cluster authentication
580
- <x509-internal-authentication>`. Requires |tls| on the resource by
581
- setting :setting:`spec.security.tls.enabled` to ``true``.
596
+ Specifies whether :ref:`X.509 internal cluster authentication
597
+ <x509-internal-authentication>` is enabled.
598
+
599
+ To enable X.509 internal cluster authentication, set to ``"X509"``.
600
+ Requires that the following settings be specified:
601
+
602
+ - :setting:`spec.security.authentication.modes` ``: ["X509"]``
603
+ - :setting:`spec.security.tls.enabled` ``: true``
582
604
583
605
.. important::
584
606
0 commit comments