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:
77- ``connectionString.standard ``: :manual: `Standard connection string </reference/connection-string/#std-label-connections-standard-connection-string-format> `
88 that can connect you to the database as this database user.
99- ``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: |
102102
103103 kubectl apply -f <database-user-conf>.yaml
104104
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
108106
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>`.
110110 ---
111111title : " View the newly created user in |com|."
112112level : 4
Original file line number Diff line number Diff line change @@ -136,11 +136,9 @@ content: |
136136
137137 kubectl apply -f <database-user-conf>.yaml
138138
139- .. note::
139+ .. include:: /includes/facts/fact-if-create-user-creates-secret.rst
140140
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>`.
144142 ---
145143title : " View the newly created user in |com|."
146144level : 4
You can’t perform that action at this time.
0 commit comments