Skip to content

Commit 6424c8c

Browse files
jdestefano-mongojwilliams-mongo
authored andcommitted
DOCSP-5046 - Update lingering references to old CRDs. (#21)
* DOCSP-5046 - Update lingering references to old CRDs. * DOCSP-5046 - Fix field name
1 parent 334688d commit 6424c8c

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

source/reference/k8s/replicasetpodspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
apiVersion: mongodb.com/v1
3-
kind: MongoDbReplicaSet
3+
kind: MongoDB
44
metadata:
55
name: my-replica-set
66
namespace: mongodb
@@ -11,6 +11,7 @@ spec:
1111
project: my-project
1212
credentials: my-credentials
1313
persistent: true
14+
type: ReplicaSet
1415
podSpec:
1516
cpu: '0.25'
1617
memory: 512M

source/reference/k8s/shardedclusterpodspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
apiVersion: mongodb.com/v1
3-
kind: MongoDbShardedCluster
3+
kind: MongoDB
44
metadata:
55
name: my-sharded-cluster
66
namespace: mongodb
@@ -11,6 +11,7 @@ spec:
1111
configServerCount: 3
1212
version: 4.0.0
1313
service: my-service
14+
type: ShardedCluster
1415

1516
## Please Note: The default Kubernetes cluster name is
1617
## `cluster.local`.

source/reference/k8s/standalonepodspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: mongodb.com/v1
2-
kind: MongoDbStandalone
2+
kind: MongoDB
33
metadata:
44
name: my-standalone
55
namespace: mongodb
@@ -9,6 +9,7 @@ spec:
99
project: my-project
1010
credentials: my-credentials
1111
persistent: true
12+
type: Standalone
1213
podSpec:
1314
cpu: '0.25'
1415
memory: 512M

source/reference/troubleshooting.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ To view all |k8s-mdbrsc| specifications in the provided
177177
metadata:
178178
annotations:
179179
kubectl.kubernetes.io/last-applied-configuration: |
180-
{"apiVersion":"mongodb.com/v1","kind":"MongoDbStandalone","metadata":{"annotations":{},"name":"dublin","namespace":"mongodb"},"spec":{"credentials":"alis-credentials","persistent":false,"podSpec":{"memory":"1G"},"project":"my-om-config","version":"4.0.0-ent"}}
180+
{"apiVersion":"mongodb.com/v1","kind":"MongoDB","metadata":{"annotations":{},"name":"dublin","namespace":"mongodb"},"spec":{"credentials":"alis-credentials","persistent":false,"podSpec":{"memory":"1G"},"project":"my-om-config","type":"Standalone","version":"4.0.0-ent"}}
181181
clusterName: ""
182182
creationTimestamp: 2018-09-12T17:15:32Z
183183
generation: 1

0 commit comments

Comments
 (0)