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

Commit 4c2489a

Browse files
authored
CLOUDP-81292: Remove placeholder passwords from crs (#317)
1 parent 6ee37df commit 4c2489a

5 files changed

+8
-7
lines changed

deploy/crds/mongodb.com_v1_mongodbcommunity_cr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ metadata:
3131
name: my-user-password
3232
type: Opaque
3333
stringData:
34-
password: 58LObjiMpxcjP1sMDW
34+
password: <your-password-here>

deploy/crds/mongodb.com_v1_mongodbcommunity_custom_role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ metadata:
4343
name: my-user-password
4444
type: Opaque
4545
stringData:
46-
password: 58LObjiMpxcjP1sMDW
46+
password: <your-password-here>

deploy/crds/mongodb.com_v1_mongodbcommunity_openshift_cr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ metadata:
4444
name: my-user-password
4545
type: Opaque
4646
stringData:
47-
password: 58LObjiMpxcjP1sMDW
47+
password: <your-password-here>

deploy/crds/mongodb.com_v1_mongodbcommunity_tls_cr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ metadata:
3737
name: my-user-password
3838
type: Opaque
3939
stringData:
40-
password: 58LObjiMpxcjP1sMDW
40+
password: <your-password-here>

docs/deploy-configure.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ The [`/deploy/crds`](../deploy/crds) directory contains example MongoDB resource
1515

1616
To deploy your first replica set:
1717

18-
1. Invoke the following `kubectl` command:
18+
1. Replace `<your-password-here>` in deploy/crds/mongodb.com_v1_mongodbcommunity_cr.yaml to the password you wish to use.
19+
2. Invoke the following `kubectl` command:
1920
```
2021
kubectl apply -f deploy/crds/mongodb.com_v1_mongodbcommunity_cr.yaml --namespace <my-namespace>
2122
```
22-
2. Verify that the MongoDB resource deployed:
23+
3. Verify that the MongoDB resource deployed:
2324
```
2425
kubectl get mongodbcommunity --namespace <my-namespace>
2526
```
26-
3. Connect clients to the MongoDB replica set:
27+
4. Connect clients to the MongoDB replica set:
2728
```
2829
mongo "mongodb://<service-object-name>.<namespace>.svc.cluster.local:27017/?replicaSet=<replica-set-name>"
2930
```

0 commit comments

Comments
 (0)