Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit 76214a6

Browse files
authored
Minor fixes to documentation (#227)
Also resolves: #223
1 parent e035ebc commit 76214a6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/deploy-configure.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ To deploy your first replica set:
2222
```
2323
3. Connect clients to the MongoDB replica set:
2424
```
25-
mongodb://<metadata.name of the MongoDB resource>-svc.<namespace>.svc.cluster.local:27017/?replicaSet=<replica set name>
25+
mongo "mongodb://<service-object-name>.<namespace>.svc.cluster.local:27017/?replicaSet=<replica-set-name>"
2626
```
27+
<em>NOTE: You can access the mongodb instance only from within a pod running in the cluster.</em>
2728

2829
## Upgrade your MongoDB Resource Version and Feature Compatibility Version
2930

docs/install-upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ To install the MongoDB Community Kubernetes Operator:
3232

3333
a. Invoke the following `kubectl` command:
3434
```
35-
kubectl create -f deploy/crds/mongodb.com_mongodb_scram_crd.yaml
35+
kubectl create -f deploy/crds/mongodb.com_mongodb_crd.yaml.yaml
3636
```
3737
b. Verify that the Custom Resource Definitions installed successfully:
3838
```

docs/users.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ You cannot disable SCRAM authentication.
8383
8484
- To authenticate to your MongoDB resource, run the following command:
8585
```
86-
mongo "mongodb://<mongodb-resource-metadata.name>-svc.<my-namespace>.svc.cluster.local:27017/?replicaSet=<replica-set-name>" --username <username> --password <password> --authenticationDatabase <authentication-database>
86+
mongo "mongodb://<service-object-name>.<my-namespace>.svc.cluster.local:27017/?replicaSet=<replica-set-name>" --username <username> --password <password> --authenticationDatabase <authentication-database>
8787
```
8888
- To change a user's password, create and apply a new secret resource definition with a `metadata.name` that is the same as the name specified in `passwordSecretRef.name` of the MongoDB CRD. The Operator will automatically regenerate credentials.

0 commit comments

Comments
 (0)