File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,12 @@ contains the following information about the new database user:
7
7
- ``connectionString.standard ``: :manual: `Standard connection string </reference/connection-string/#std-label-connections-standard-connection-string-format> `
8
8
that can connect you to the database as this database user.
9
9
- ``connectionString.standardSrv ``: :manual: `DNS seed list connection string </reference/connection-string/#dns-seed-list-connection-format> ` that can
10
- connect you to the database as this database user.
10
+ connect you to the database as this database user.
11
+
12
+ .. note ::
13
+
14
+ Alternatively, you can specify an optional
15
+ ``spec.connectionStringSecretName `` field in the
16
+ ``MongoDBUser``custom resource to specify
17
+ the name of the connection string secret that the
18
+ |k8s-op-short| creates.
Original file line number Diff line number Diff line change @@ -102,11 +102,11 @@ content: |
102
102
103
103
kubectl apply -f <database-user-conf>.yaml
104
104
105
- .. note::
106
-
107
- .. include:: /includes/facts/fact-if-create-user-creates-secret.rst
105
+ .. include:: /includes/facts/fact-if-create-user-creates-secret.rst
108
106
109
- You can use these credentials to :ref:`Connect to a MongoDB Database Resource from Inside Kubernetes <connect-from-inside-k8s>`.
107
+ You can use these credentials to
108
+ :ref:`Connect to a MongoDB Database Resource from Inside Kubernetes
109
+ <connect-from-inside-k8s>`.
110
110
---
111
111
title : " View the newly created user in |com|."
112
112
level : 4
Original file line number Diff line number Diff line change @@ -136,11 +136,9 @@ content: |
136
136
137
137
kubectl apply -f <database-user-conf>.yaml
138
138
139
- .. note::
139
+ .. include:: /includes/facts/fact-if-create-user-creates-secret.rst
140
140
141
- .. include:: /includes/facts/fact-if-create-user-creates-secret.rst
142
-
143
- You can use these credentials to :ref:`Connect to a MongoDB Database Resource from Inside Kubernetes <connect-from-inside-k8s>`.
141
+ You can use these credentials to :ref:`Connect to a MongoDB Database Resource from Inside Kubernetes <connect-from-inside-k8s>`.
144
142
---
145
143
title : " View the newly created user in |com|."
146
144
level : 4
You can’t perform that action at this time.
0 commit comments