Skip to content

Commit db40116

Browse files
(DOCSP-14230): update crd kind in docs examples (#305)
1 parent e79f95e commit db40116

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/deploy-configure.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Consider the following example MongoDB resource definition:
3939

4040
```yaml
4141
apiVersion: mongodb.com/v1
42-
kind: MongoDB
42+
kind: MongoDBCommunity
4343
metadata:
4444
name: example-mongodb
4545
spec:
@@ -56,7 +56,7 @@ To scale a replica set:
5656

5757
```yaml
5858
apiVersion: mongodb.com/v1
59-
kind: MongoDB
59+
kind: MongoDBCommunity
6060
metadata:
6161
name: example-mongodb
6262
spec:
@@ -90,7 +90,7 @@ Consider the following example MongoDB resource definition:
9090

9191
```yaml
9292
apiVersion: mongodb.com/v1
93-
kind: MongoDB
93+
kind: MongoDBCommunity
9494
metadata:
9595
name: example-mongodb
9696
spec:
@@ -108,7 +108,7 @@ To upgrade this resource from `4.0.6` to `4.2.7`:
108108

109109
```yaml
110110
apiVersion: mongodb.com/v1
111-
kind: MongoDB
111+
kind: MongoDBCommunity
112112
metadata:
113113
name: example-mongodb
114114
spec:
@@ -165,7 +165,7 @@ To define a custom role:
165165
```yaml
166166
---
167167
apiVersion: mongodb.com/v1
168-
kind: MongoDB
168+
kind: MongoDBCommunity
169169
metadata:
170170
name: custom-role-mongodb
171171
spec:

docs/secure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ To secure connections to MongoDB resources using TLS:
7777
7878
```yaml
7979
apiVersion: mongodb.com/v1
80-
kind: MongoDB
80+
kind: MongoDBCommunity
8181
metadata:
8282
name: example-mongodb
8383
spec:

docs/users.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ You cannot disable SCRAM authentication.
88

99
1. Copy the following example secret.
1010

11-
```
11+
```yaml
1212
---
1313
apiVersion: v1
1414
kind: Secret
@@ -43,10 +43,10 @@ You cannot disable SCRAM authentication.
4343
| `spec.users.roles.role.name` | string | Name of the role. Valid values are [built-in roles](https://docs.mongodb.com/manual/reference/built-in-roles/#built-in-roles) and [custom roles](deploy-configure.md#define-a-custom-database-role) that you have defined. | Yes |
4444
| `spec.users.roles.role.db` | string | Database that the role applies to. | Yes |
4545

46-
```
46+
```yaml
4747
---
4848
apiVersion: mongodb.com/v1
49-
kind: MongoDB
49+
kind: MongoDBCommunity
5050
metadata:
5151
name: example-scram-mongodb
5252
spec:

0 commit comments

Comments
 (0)