37
37
type : object
38
38
spec :
39
39
description : AtlasDeploymentSpec defines the desired state of AtlasDeployment
40
+ Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec
41
+ should be defined
40
42
properties :
41
43
advancedDeploymentSpec :
42
- description : Configuration for the advanced deployment API. https://docs.atlas.mongodb.com/reference/api/clusters-advanced/
44
+ description : Configuration for the advanced (v1.5) deployment API
45
+ https://www.mongodb.com/docs/atlas/reference/api/clusters-advanced/
43
46
properties :
44
47
backupEnabled :
45
48
type : boolean
@@ -60,67 +63,10 @@ spec:
60
63
type : object
61
64
clusterType :
62
65
type : string
63
- connectionStrings :
64
- description : ConnectionStrings configuration for applications
65
- use to connect to this deployment.
66
- properties :
67
- awsPrivateLink :
68
- additionalProperties :
69
- type : string
70
- type : object
71
- awsPrivateLinkSrv :
72
- additionalProperties :
73
- type : string
74
- type : object
75
- private :
76
- type : string
77
- privateEndpoint :
78
- items :
79
- description : PrivateEndpointSpec connection strings. Each
80
- object describes the connection strings you can use to
81
- connect to this deployment through a private endpoint.
82
- Atlas returns this parameter only if you deployed a private
83
- endpoint to all regions to which you deployed this deployment's
84
- nodes.
85
- properties :
86
- connectionString :
87
- type : string
88
- endpoints :
89
- items :
90
- description : EndpointSpec through which you connect
91
- to Atlas.
92
- properties :
93
- endpointId :
94
- type : string
95
- providerName :
96
- type : string
97
- region :
98
- type : string
99
- type : object
100
- type : array
101
- srvConnectionString :
102
- type : string
103
- type :
104
- type : string
105
- type : object
106
- type : array
107
- privateSrv :
108
- type : string
109
- standard :
110
- type : string
111
- standardSrv :
112
- type : string
113
- type : object
114
- createDate :
115
- type : string
116
66
diskSizeGB :
117
67
type : integer
118
68
encryptionAtRestProvider :
119
69
type : string
120
- groupId :
121
- type : string
122
- id :
123
- type : string
124
70
labels :
125
71
items :
126
72
description : LabelSpec contains key-value pairs that tag and
@@ -141,6 +87,10 @@ spec:
141
87
mongoDBVersion :
142
88
type : string
143
89
name :
90
+ description : Name of the advanced deployment as it appears in
91
+ Atlas. After Atlas creates the deployment, you can't change
92
+ its name. Can only contain ASCII letters, numbers, and hyphens.
93
+ pattern : ^[a-zA-Z0-9][a-zA-Z0-9-]*$
144
94
type : string
145
95
paused :
146
96
type : boolean
149
99
replicationSpecs :
150
100
items :
151
101
properties :
152
- id :
153
- type : string
154
102
numShards :
155
103
type : integer
156
104
regionConfigs :
@@ -169,14 +117,9 @@ spec:
169
117
type : integer
170
118
type : object
171
119
autoScaling :
172
- description : AutoScalingSpec configures your deployment
173
- to automatically scale its storage
120
+ description : AdvancedAutoScalingSpec configures your
121
+ deployment to automatically scale its storage
174
122
properties :
175
- autoIndexingEnabled :
176
- description : Flag that indicates whether autopilot
177
- mode for Performance Advisor is enabled. The
178
- default is false.
179
- type : boolean
180
123
compute :
181
124
description : Collection of settings that configure
182
125
how a deployment might scale its deployment
@@ -207,10 +150,13 @@ spec:
207
150
: true.'
208
151
type : boolean
209
152
type : object
210
- diskGBEnabled :
153
+ diskGB :
211
154
description : Flag that indicates whether disk
212
155
auto-scaling is enabled. The default is true.
213
- type : boolean
156
+ properties :
157
+ enabled :
158
+ type : boolean
159
+ type : object
214
160
type : object
215
161
backingProviderName :
216
162
type : string
@@ -252,8 +198,6 @@ spec:
252
198
type : array
253
199
rootCertType :
254
200
type : string
255
- stateName :
256
- type : string
257
201
versionReleaseSystem :
258
202
type : string
259
203
type : object
@@ -270,7 +214,7 @@ spec:
270
214
- name
271
215
type : object
272
216
deploymentSpec :
273
- description : Configuration for the advanced deployment API
217
+ description : Configuration for the normal (v1) deployment API https://www.mongodb.com/docs/atlas/reference/api/clusters/
274
218
properties :
275
219
autoScaling :
276
220
description : Collection of settings that configures auto-scaling
@@ -378,7 +322,9 @@ spec:
378
322
type : string
379
323
name :
380
324
description : Name of the deployment as it appears in Atlas. After
381
- Atlas creates the deployment, you can't change its name.
325
+ Atlas creates the deployment, you can't change its name. Can
326
+ only contain ASCII letters, numbers, and hyphens.
327
+ pattern : ^[a-zA-Z0-9][a-zA-Z0-9-]*$
382
328
type : string
383
329
numShards :
384
330
description : Positive integer that specifies the number of shards
@@ -600,11 +546,13 @@ spec:
600
546
- name
601
547
type : object
602
548
serverlessSpec :
603
- description : Configuration for the advanced deployment API. https://docs.atlas. mongodb.com/reference/api/clusters-advanced /
549
+ description : Configuration for the serverless deployment API. https://www. mongodb.com/docs/atlas/ reference/api/serverless-instances /
604
550
properties :
605
551
name :
606
- description : Name of the deployment as it appears in Atlas. After
607
- Atlas creates the deployment, you can't change its name.
552
+ description : Name of the serverless deployment as it appears in
553
+ Atlas. After Atlas creates the deployment, you can't change
554
+ its name. Can only contain ASCII letters, numbers, and hyphens.
555
+ pattern : ^[a-zA-Z0-9][a-zA-Z0-9-]*$
608
556
type : string
609
557
providerSettings :
610
558
description : Configuration for the provisioned hosts on which
0 commit comments