Skip to content

Commit 40556c5

Browse files
authored
Update and clarify documentation
1 parent 51761b9 commit 40556c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/deploy-configure.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ To deploy your first replica set:
7272

7373
**NOTE**: The Community Kubernetes Operator sets the [`ssl` connection option](https://www.mongodb.com/docs/manual/reference/connection-string/#connection-options) to `true` if you [Secure MongoDBCommunity Resource Connections using TLS](secure.md#secure-mongodbcommunity-resource-connections-using-tls).</br></br>
7474

75-
You can use the connection strings in this secret in your application:
75+
To connect your application you can reference the connection string directly from the secret:
7676

7777
```yaml
7878
containers:
@@ -84,7 +84,7 @@ To deploy your first replica set:
8484
name: <metadata.name>-<auth-db>-<username>
8585
key: connectionString.standardSrv
8686

87-
5. Connect to one of your application's pods in the Kubernetes cluster:
87+
6. Connect to one of your application's pods in the Kubernetes cluster:
8888

8989
**NOTE**: You can access your replica set only from a pod in the same Kubernetes cluster. You can't access your replica set from outside of the Kubernetes cluster.
9090

@@ -98,7 +98,7 @@ To deploy your first replica set:
9898
user@app:~$
9999
```
100100
101-
6. Use one of the connection strings returned in step 4 to connect to the replica set. The following example uses [`mongosh`](https://www.mongodb.com/docs/mongodb-shell/) to connect to a replica set:
101+
7. Use one of the connection strings returned in step 4 to connect to the replica set. The following example uses [`mongosh`](https://www.mongodb.com/docs/mongodb-shell/) to connect to a replica set:
102102
103103
```
104104
mongosh "mongodb+srv://<username>:<password>@example-mongodb-svc.mongodb.svc.cluster.local/admin?ssl=true"
@@ -392,4 +392,4 @@ For ex:
392392
env:
393393
- name: CLUSTER_DOMAIN
394394
value: $CUSTOM_DOMAIN
395-
```
395+
```

0 commit comments

Comments
 (0)