Skip to content

Commit 5755aa9

Browse files
Release 1.7.0 (#885)
1 parent 7464d3c commit 5755aa9

16 files changed

+377
-61
lines changed

bundle/manifests/atlas.mongodb.com_atlasbackupschedules.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,41 @@ spec:
4545
snapshots to the AWS bucket. You must also define the export policy
4646
using export. If omitted, defaults to false.
4747
type: boolean
48+
copySettings:
49+
description: Copy backups to other regions for increased resiliency
50+
and faster restores.
51+
items:
52+
properties:
53+
cloudProvider:
54+
default: AWS
55+
description: Identifies the cloud provider that stores the snapshot
56+
copy.
57+
enum:
58+
- AWS
59+
- GCP
60+
- AZURE
61+
type: string
62+
frequencies:
63+
description: List that describes which types of snapshots to
64+
copy.
65+
items:
66+
type: string
67+
minItems: 1
68+
type: array
69+
regionName:
70+
description: Target region to copy snapshots belonging to replicationSpecId
71+
to.
72+
type: string
73+
replicationSpecId:
74+
description: Unique identifier that identifies the replication
75+
object for a zone in a cluster.
76+
type: string
77+
shouldCopyOplogs:
78+
description: Flag that indicates whether to copy the oplogs
79+
to the target region.
80+
type: boolean
81+
type: object
82+
type: array
4883
export:
4984
description: Export policy for automatically exporting cloud backup
5085
snapshots to AWS bucket.

bundle/manifests/atlas.mongodb.com_atlasdeployments.yaml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,9 @@ spec:
259259
object.
260260
properties:
261261
autoIndexingEnabled:
262-
description: Flag that indicates whether autopilot mode for
263-
Performance Advisor is enabled. The default is false.
262+
description: 'Deprecated: This flag is not supported anymore.
263+
Flag that indicates whether autopilot mode for Performance
264+
Advisor is enabled. The default is false.'
264265
type: boolean
265266
compute:
266267
description: Collection of settings that configure how a deployment
@@ -427,8 +428,9 @@ spec:
427428
can scale.
428429
properties:
429430
autoIndexingEnabled:
430-
description: Flag that indicates whether autopilot mode
431-
for Performance Advisor is enabled. The default is false.
431+
description: 'Deprecated: This flag is not supported anymore.
432+
Flag that indicates whether autopilot mode for Performance
433+
Advisor is enabled. The default is false.'
432434
type: boolean
433435
compute:
434436
description: Collection of settings that configure how
@@ -656,8 +658,9 @@ spec:
656658
can scale.
657659
properties:
658660
autoIndexingEnabled:
659-
description: Flag that indicates whether autopilot mode
660-
for Performance Advisor is enabled. The default is false.
661+
description: 'Deprecated: This flag is not supported anymore.
662+
Flag that indicates whether autopilot mode for Performance
663+
Advisor is enabled. The default is false.'
661664
type: boolean
662665
compute:
663666
description: Collection of settings that configure how
@@ -917,6 +920,17 @@ spec:
917920
reconciliation of the resource.
918921
format: int64
919922
type: integer
923+
replicaSets:
924+
items:
925+
properties:
926+
id:
927+
type: string
928+
zoneName:
929+
type: string
930+
required:
931+
- id
932+
type: object
933+
type: array
920934
serverlessPrivateEndpoints:
921935
items:
922936
properties:

bundle/manifests/atlas.mongodb.com_atlasprojects.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ spec:
277277
name:
278278
description: Name is the name of the Kubernetes Resource
279279
type: string
280+
namespace:
281+
description: Namespace is the namespace of the Kubernetes Resource
282+
type: string
280283
required:
281284
- name
282285
type: object

bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ metadata:
1111
"name": "atlasbackuppolicy-sample"
1212
},
1313
"spec": {
14-
"id": "1",
1514
"items": [
1615
{
17-
"frequencyInterval": 6,
18-
"frequencyType": "WEEKLY",
19-
"id": "2",
20-
"retentionUnit": "DAYS",
21-
"retentionValue": 6
16+
"frequencyInterval": 3,
17+
"frequencyType": "daily",
18+
"retentionUnit": "weeks",
19+
"retentionValue": 2
2220
}
2321
]
2422
}
@@ -30,20 +28,25 @@ metadata:
3028
"name": "atlasbackupschedule-sample"
3129
},
3230
"spec": {
33-
"autoExportEnabled": true,
34-
"policies": [
31+
"autoExportEnabled": false,
32+
"copySettings": [
3533
{
36-
"name": "atlas-default-backuppolicy",
37-
"namespace": "mongodb-atlas-system"
38-
},
39-
{
40-
"name": "atlas-default-backuppolicy2",
41-
"namespace": "mongodb-atlas-system"
34+
"cloudProvider": "AWS",
35+
"frequencies": [
36+
"WEEKLY"
37+
],
38+
"regionName": "US_WEST_1",
39+
"replicationSpecId": "a1b2c3",
40+
"shouldCopyOplogs": false
4241
}
4342
],
43+
"policy": {
44+
"name": "atlasbackuppolicy-sample"
45+
},
4446
"referenceHourOfDay": 10,
4547
"referenceMinuteOfHour": 10,
46-
"restoreWindowDays": 2
48+
"restoreWindowDays": 2,
49+
"useOrgAndGroupNamesInExportPrefix": true
4750
}
4851
},
4952
{
@@ -124,12 +127,12 @@ metadata:
124127
description: The MongoDB Atlas Kubernetes Operator enables easy management of Clusters in MongoDB Atlas
125128
operators.operatorframework.io/builder: operator-sdk-v1.15.0+git
126129
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
127-
containerImage: mongodb/mongodb-atlas-kubernetes-operator:1.6.1
130+
containerImage: mongodb/mongodb-atlas-kubernetes-operator:1.7.0
128131
labels:
129132
operatorframework.io/arch.amd64: supported
130133
operatorframework.io/arch.arm64: supported
131134
operatorframework.io/os.linux: supported
132-
name: mongodb-atlas-kubernetes.v1.6.1
135+
name: mongodb-atlas-kubernetes.v1.7.0
133136
namespace: placeholder
134137
spec:
135138
apiservicedefinitions: {}
@@ -462,7 +465,7 @@ spec:
462465
valueFrom:
463466
fieldRef:
464467
fieldPath: metadata.annotations['olm.targetNamespaces']
465-
image: mongodb/mongodb-atlas-kubernetes-operator:1.6.1
468+
image: mongodb/mongodb-atlas-kubernetes-operator:1.7.0
466469
imagePullPolicy: Always
467470
livenessProbe:
468471
httpGet:
@@ -537,5 +540,5 @@ spec:
537540
maturity: beta
538541
provider:
539542
name: MongoDB, Inc
540-
version: 1.6.1
541-
replaces: mongodb-atlas-kubernetes.v1.6.0
543+
version: 1.7.0
544+
replaces: mongodb-atlas-kubernetes.v1.6.1

bundle/metadata/annotations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ annotations:
1414
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
1515
operators.operatorframework.io.test.config.v1: tests/scorecard/
1616

17-
com.redhat.openshift.versions: "v4.8-4.11"
17+
com.redhat.openshift.versions: "v4.8"

deploy/all-in-one.yaml

Lines changed: 59 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,41 @@ spec:
220220
snapshots to the AWS bucket. You must also define the export policy
221221
using export. If omitted, defaults to false.
222222
type: boolean
223+
copySettings:
224+
description: Copy backups to other regions for increased resiliency
225+
and faster restores.
226+
items:
227+
properties:
228+
cloudProvider:
229+
default: AWS
230+
description: Identifies the cloud provider that stores the snapshot
231+
copy.
232+
enum:
233+
- AWS
234+
- GCP
235+
- AZURE
236+
type: string
237+
frequencies:
238+
description: List that describes which types of snapshots to
239+
copy.
240+
items:
241+
type: string
242+
minItems: 1
243+
type: array
244+
regionName:
245+
description: Target region to copy snapshots belonging to replicationSpecId
246+
to.
247+
type: string
248+
replicationSpecId:
249+
description: Unique identifier that identifies the replication
250+
object for a zone in a cluster.
251+
type: string
252+
shouldCopyOplogs:
253+
description: Flag that indicates whether to copy the oplogs
254+
to the target region.
255+
type: boolean
256+
type: object
257+
type: array
223258
export:
224259
description: Export policy for automatically exporting cloud backup
225260
snapshots to AWS bucket.
@@ -816,8 +851,9 @@ spec:
816851
object.
817852
properties:
818853
autoIndexingEnabled:
819-
description: Flag that indicates whether autopilot mode for
820-
Performance Advisor is enabled. The default is false.
854+
description: 'Deprecated: This flag is not supported anymore.
855+
Flag that indicates whether autopilot mode for Performance
856+
Advisor is enabled. The default is false.'
821857
type: boolean
822858
compute:
823859
description: Collection of settings that configure how a deployment
@@ -984,8 +1020,9 @@ spec:
9841020
can scale.
9851021
properties:
9861022
autoIndexingEnabled:
987-
description: Flag that indicates whether autopilot mode
988-
for Performance Advisor is enabled. The default is false.
1023+
description: 'Deprecated: This flag is not supported anymore.
1024+
Flag that indicates whether autopilot mode for Performance
1025+
Advisor is enabled. The default is false.'
9891026
type: boolean
9901027
compute:
9911028
description: Collection of settings that configure how
@@ -1213,8 +1250,9 @@ spec:
12131250
can scale.
12141251
properties:
12151252
autoIndexingEnabled:
1216-
description: Flag that indicates whether autopilot mode
1217-
for Performance Advisor is enabled. The default is false.
1253+
description: 'Deprecated: This flag is not supported anymore.
1254+
Flag that indicates whether autopilot mode for Performance
1255+
Advisor is enabled. The default is false.'
12181256
type: boolean
12191257
compute:
12201258
description: Collection of settings that configure how
@@ -1474,6 +1512,17 @@ spec:
14741512
reconciliation of the resource.
14751513
format: int64
14761514
type: integer
1515+
replicaSets:
1516+
items:
1517+
properties:
1518+
id:
1519+
type: string
1520+
zoneName:
1521+
type: string
1522+
required:
1523+
- id
1524+
type: object
1525+
type: array
14771526
serverlessPrivateEndpoints:
14781527
items:
14791528
properties:
@@ -1810,6 +1859,9 @@ spec:
18101859
name:
18111860
description: Name is the name of the Kubernetes Resource
18121861
type: string
1862+
namespace:
1863+
description: Namespace is the namespace of the Kubernetes Resource
1864+
type: string
18131865
required:
18141866
- name
18151867
type: object
@@ -3335,7 +3387,7 @@ spec:
33353387
valueFrom:
33363388
fieldRef:
33373389
fieldPath: metadata.namespace
3338-
image: mongodb/mongodb-atlas-kubernetes-operator:1.6.1
3390+
image: mongodb/mongodb-atlas-kubernetes-operator:1.7.0
33393391
imagePullPolicy: Always
33403392
livenessProbe:
33413393
httpGet:

deploy/clusterwide/clusterwide-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ spec:
276276
valueFrom:
277277
fieldRef:
278278
fieldPath: metadata.namespace
279-
image: mongodb/mongodb-atlas-kubernetes-operator:1.6.1
279+
image: mongodb/mongodb-atlas-kubernetes-operator:1.7.0
280280
imagePullPolicy: Always
281281
livenessProbe:
282282
httpGet:

0 commit comments

Comments
 (0)