You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deploy-configure.md
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,12 +38,18 @@ To deploy your first replica set:
38
38
|`<auth-db>`|[Authentication database](https://www.mongodb.com/docs/manual/core/security-users/#std-label-user-authentication-database) where you defined the database user. |`admin`|
39
39
|`<username>`| Username of the database user. |`my-user`|
40
40
41
+
**NOTE**: Alternatively, you can specify an optional
42
+
`users[i].connectionStringSecretName` field in the
43
+
``MongoDBCommunity`` custom resource to specify
44
+
the name of the connection string secret that the
45
+
Community Kubernetes Operator creates.
46
+
41
47
Update the variables in the following command, then run it to retrieve a user's connection strings to the replica set from the secret:
42
48
43
49
**NOTE**: The following command requires [jq](https://stedolan.github.io/jq/) version 1.6 or higher.</br></br>
44
50
45
51
```sh
46
-
kubectl get secret <metadata.name>-<auth-db>-<username> -n <my-namespace>\
52
+
kubectl get secret <connection-string-secret-name> -n <my-namespace>\
0 commit comments