File tree Expand file tree Collapse file tree 4 files changed +58
-2
lines changed Expand file tree Collapse file tree 4 files changed +58
-2
lines changed Original file line number Diff line number Diff line change @@ -338,6 +338,20 @@ inherit:
338
338
file : options-k8s-shared.yaml
339
339
---
340
340
program : k8sRsConf
341
+ name : spec.security.authentication.requireClientTLSAuthentication
342
+ inherit :
343
+ name : spec.security.authentication.requireClientTLSAuthentication
344
+ program : _shared
345
+ file : options-k8s-shared.yaml
346
+ ---
347
+ program : k8sRsConf
348
+ name : spec.security.authentication.agents.clientCertificateSecretRef.name
349
+ inherit :
350
+ name : spec.security.authentication.agents.clientCertificateSecretRef.name
351
+ program : _shared
352
+ file : options-k8s-shared.yaml
353
+ ---
354
+ program : k8sRsConf
341
355
name : spec.security.authentication.enabled
342
356
inherit :
343
357
name : spec.security.authentication.enabled
Original file line number Diff line number Diff line change @@ -579,6 +579,21 @@ description: |
579
579
Omit this setting if you want to manage authentication using the
580
580
|com| UI or APIs.
581
581
582
+ ---
583
+ program : _shared
584
+ name : spec.security.authentication.requireClientTLSAuthentication
585
+ type : boolean
586
+ directive : setting
587
+ optional : true
588
+ default : " ``false``"
589
+ description : |
590
+
591
+ Specifies whether the MongoDB host requires clients to connect using a |tls| certificate. If ``true``, you must:
592
+
593
+ - Specify a certificate for the {+mdbagent+} in
594
+ :setting:`spec.security.authentication.agents.clientCertificateSecretRef.name`.
595
+ - Set :setting:`spec.security.tls.enabled` to ``true``.
596
+
582
597
---
583
598
program : _shared
584
599
name : spec.security.authentication.ignoreUnknownUsers
@@ -1043,6 +1058,31 @@ description: |
1043
1058
``LDAP``.
1044
1059
---
1045
1060
program : _shared
1061
+ name : spec.security.authentication.agents.clientCertificateSecretRef.name
1062
+ type : string
1063
+ directive : setting
1064
+ optional : true
1065
+ description : |
1066
+
1067
+ Specifies the |k8s-secret| that contains the {+mdbagent+}'s
1068
+ |tls| certificate.
1069
+
1070
+ You must create this secret in the same namespace to which you
1071
+ deploy the |k8s-op-short|:
1072
+
1073
+ .. code-block:: sh
1074
+
1075
+ kubectl create secret generic agent-cert \
1076
+ --from-file=mms-automation-agent-pem=agent-cert.pem -n <namespace>
1077
+
1078
+ This secret must contain a ``mms-automation-agent-pem`` key, the value
1079
+ of which is a |tls| certificate that can be validated by the server.
1080
+
1081
+ This setting is required if
1082
+ :setting:`spec.security.authentication.requireClientTLSAuthentication` is ``true``.
1083
+
1084
+ ---
1085
+ program : _shared
1046
1086
name : spec.additionalMongodConfig.net.ssl.mode
1047
1087
type : string
1048
1088
directive : setting
Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ cluster resource types:
224
224
.. include:: /includes/option/setting-k8sRsConf-spec.security.authentication.enabled.rst
225
225
.. include:: /includes/option/setting-k8sRsConf-spec.security.authentication.modes.rst
226
226
.. include:: /includes/option/setting-k8sRsConf-spec.security.authentication.internalCluster.rst
227
+ .. include:: /includes/option/setting-k8sRsConf-spec.security.authentication.requireClientTLSAuthentication.rst
227
228
.. include:: /includes/option/setting-k8sRsConf-spec.security.authentication.ldap.rst
228
229
.. include:: /includes/option/setting-k8sRsConf-spec.security.authentication.ldap.servers.rst
229
230
.. include:: /includes/option/setting-k8sRsConf-spec.security.authentication.ldap.transportSecurity.rst
@@ -242,6 +243,7 @@ cluster resource types:
242
243
.. include:: /includes/option/setting-k8sRsConf-spec.security.authentication.agents.automationPasswordSecretRef.rst
243
244
.. include:: /includes/option/setting-k8sRsConf-spec.security.authentication.agents.automationPasswordSecretRef.name.rst
244
245
.. include:: /includes/option/setting-k8sRsConf-spec.security.authentication.agents.automationPasswordSecretRef.key.rst
246
+ .. include:: /includes/option/setting-k8sRsConf-spec.security.authentication.agents.clientCertificateSecretRef.name.rst
245
247
.. include:: /includes/option/setting-k8sRsConf-spec.security.roles.rst
246
248
.. include:: /includes/option/setting-k8sRsConf-spec.security.roles.role.rst
247
249
.. include:: /includes/option/setting-k8sRsConf-spec.security.roles.db.rst
Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ MongoDB Resource Changes
40
40
41
41
- Introduces new configuration fields:
42
42
43
- - `` spec.security.authentication.requireClientTLSAuthentication` ` for using
43
+ - :setting:` spec.security.authentication.requireClientTLSAuthentication` for using
44
44
the MongoDB Agent client certificate authentication in conjunction with any
45
45
other authentication mechanism.
46
- - `` spec.security.authentication.agents.clientCertificateSecretRef` ` for
46
+ - :setting:` spec.security.authentication.agents.clientCertificateSecretRef` for
47
47
configuring the client TLS certificate used by the MongoDB Agent when
48
48
enabling ClientTLSAuthentication.
49
49
You can’t perform that action at this time.
0 commit comments