Skip to content

Commit c272c84

Browse files
Release 2.4.0 (#1692)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 433ae3e commit c272c84

33 files changed

+2273
-108
lines changed
Lines changed: 235 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,235 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.14.0
6+
creationTimestamp: null
7+
labels:
8+
app.kubernetes.io/component: controller
9+
app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator
10+
app.kubernetes.io/name: mongodb-atlas-kubernetes-operator
11+
name: atlasbackupcompliancepolicies.atlas.mongodb.com
12+
spec:
13+
group: atlas.mongodb.com
14+
names:
15+
categories:
16+
- atlas
17+
kind: AtlasBackupCompliancePolicy
18+
listKind: AtlasBackupCompliancePolicyList
19+
plural: atlasbackupcompliancepolicies
20+
shortNames:
21+
- abcp
22+
singular: atlasbackupcompliancepolicy
23+
scope: Namespaced
24+
versions:
25+
- additionalPrinterColumns:
26+
- jsonPath: .status.conditions[?(@.type=="Ready")].status
27+
name: Ready
28+
type: string
29+
name: v1
30+
schema:
31+
openAPIV3Schema:
32+
description: AtlasBackupCompliancePolicy defines the desired state of a compliance
33+
policy in Atlas.
34+
properties:
35+
apiVersion:
36+
description: |-
37+
APIVersion defines the versioned schema of this representation of an object.
38+
Servers should convert recognized schemas to the latest internal value, and
39+
may reject unrecognized values.
40+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
41+
type: string
42+
kind:
43+
description: |-
44+
Kind is a string value representing the REST resource this object represents.
45+
Servers may infer this from the endpoint the client submits requests to.
46+
Cannot be updated.
47+
In CamelCase.
48+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
49+
type: string
50+
metadata:
51+
type: object
52+
spec:
53+
properties:
54+
authorizedEmail:
55+
description: Email address of the user who authorized to update the
56+
Backup Compliance Policy settings.
57+
type: string
58+
authorizedUserFirstName:
59+
description: First name of the user who authorized to updated the
60+
Backup Compliance Policy settings.
61+
type: string
62+
authorizedUserLastName:
63+
description: Last name of the user who authorized to updated the Backup
64+
Compliance Policy settings.
65+
type: string
66+
copyProtectionEnabled:
67+
description: Flag that indicates whether to prevent cluster users
68+
from deleting backups copied to other regions, even if those additional
69+
snapshot regions are removed.
70+
type: boolean
71+
encryptionAtRestEnabled:
72+
description: Flag that indicates whether Encryption at Rest using
73+
Customer Key Management is required for all clusters with a Backup
74+
Compliance Policy.
75+
type: boolean
76+
onDemandPolicy:
77+
description: Specifications for on-demand policy.
78+
properties:
79+
retentionUnit:
80+
description: 'Scope of the backup policy item: days, weeks, or
81+
months'
82+
enum:
83+
- days
84+
- weeks
85+
- months
86+
type: string
87+
retentionValue:
88+
description: Value to associate with RetentionUnit
89+
type: integer
90+
required:
91+
- retentionUnit
92+
- retentionValue
93+
type: object
94+
overwriteBackupPolicies:
95+
description: Flag that indicates whether to overwrite non complying
96+
backup policies with the new data protection settings or not.
97+
type: boolean
98+
pointInTimeEnabled:
99+
description: Flag that indicates whether the cluster uses Continuous
100+
Cloud Backups with a Backup Compliance Policy.
101+
type: boolean
102+
restoreWindowDays:
103+
description: Number of previous days that you can restore back to
104+
with Continuous Cloud Backup with a Backup Compliance Policy. This
105+
parameter applies only to Continuous Cloud Backups with a Backup
106+
Compliance Policy.
107+
type: integer
108+
scheduledPolicyItems:
109+
description: List that contains the specifications for one scheduled
110+
policy.
111+
items:
112+
properties:
113+
frequencyInterval:
114+
description: |-
115+
Desired frequency of the new backup policy item specified by FrequencyType. A value of 1 specifies the first instance of the corresponding FrequencyType.
116+
The only accepted value you can set for frequency interval with NVMe clusters is 12.
117+
enum:
118+
- 1
119+
- 2
120+
- 3
121+
- 4
122+
- 5
123+
- 6
124+
- 7
125+
- 8
126+
- 9
127+
- 10
128+
- 11
129+
- 12
130+
- 13
131+
- 14
132+
- 15
133+
- 16
134+
- 17
135+
- 18
136+
- 19
137+
- 20
138+
- 21
139+
- 22
140+
- 23
141+
- 24
142+
- 25
143+
- 26
144+
- 27
145+
- 28
146+
- 40
147+
type: integer
148+
frequencyType:
149+
description: 'Frequency associated with the backup policy item.
150+
One of the following values: hourly, daily, weekly or monthly.
151+
You cannot specify multiple hourly and daily backup policy
152+
items.'
153+
enum:
154+
- hourly
155+
- daily
156+
- weekly
157+
- monthly
158+
- yearly
159+
type: string
160+
retentionUnit:
161+
description: 'Scope of the backup policy item: days, weeks,
162+
or months'
163+
enum:
164+
- days
165+
- weeks
166+
- months
167+
- years
168+
type: string
169+
retentionValue:
170+
description: Value to associate with RetentionUnit
171+
type: integer
172+
required:
173+
- frequencyInterval
174+
- frequencyType
175+
- retentionUnit
176+
- retentionValue
177+
type: object
178+
type: array
179+
required:
180+
- authorizedEmail
181+
- authorizedUserFirstName
182+
- authorizedUserLastName
183+
type: object
184+
status:
185+
properties:
186+
conditions:
187+
description: Conditions is the list of statuses showing the current
188+
state of the Atlas Custom Resource
189+
items:
190+
description: Condition describes the state of an Atlas Custom Resource
191+
at a certain point.
192+
properties:
193+
lastTransitionTime:
194+
description: Last time the condition transitioned from one status
195+
to another.
196+
format: date-time
197+
type: string
198+
message:
199+
description: A human readable message indicating details about
200+
the transition.
201+
type: string
202+
reason:
203+
description: The reason for the condition's last transition.
204+
type: string
205+
status:
206+
description: Status of the condition, one of True, False, Unknown.
207+
type: string
208+
type:
209+
description: Type of Atlas Custom Resource condition.
210+
type: string
211+
required:
212+
- status
213+
- type
214+
type: object
215+
type: array
216+
observedGeneration:
217+
description: |-
218+
ObservedGeneration indicates the generation of the resource specification that the Atlas Operator is aware of.
219+
The Atlas Operator updates this field to the 'metadata.generation' as soon as it starts reconciliation of the resource.
220+
format: int64
221+
type: integer
222+
required:
223+
- conditions
224+
type: object
225+
type: object
226+
served: true
227+
storage: true
228+
subresources:
229+
status: {}
230+
status:
231+
acceptedNames:
232+
kind: ""
233+
plural: ""
234+
conditions: null
235+
storedVersions: null

bundle/manifests/atlas.mongodb.com_atlasbackuppolicies.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,21 @@ metadata:
1212
spec:
1313
group: atlas.mongodb.com
1414
names:
15+
categories:
16+
- atlas
1517
kind: AtlasBackupPolicy
1618
listKind: AtlasBackupPolicyList
1719
plural: atlasbackuppolicies
20+
shortNames:
21+
- abp
1822
singular: atlasbackuppolicy
1923
scope: Namespaced
2024
versions:
21-
- name: v1
25+
- additionalPrinterColumns:
26+
- jsonPath: .status.conditions[?(@.type=="Ready")].status
27+
name: Ready
28+
type: string
29+
name: v1
2230
schema:
2331
openAPIV3Schema:
2432
description: AtlasBackupPolicy is the Schema for the atlasbackuppolicies API

bundle/manifests/atlas.mongodb.com_atlasbackupschedules.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,21 @@ metadata:
1212
spec:
1313
group: atlas.mongodb.com
1414
names:
15+
categories:
16+
- atlas
1517
kind: AtlasBackupSchedule
1618
listKind: AtlasBackupScheduleList
1719
plural: atlasbackupschedules
20+
shortNames:
21+
- abs
1822
singular: atlasbackupschedule
1923
scope: Namespaced
2024
versions:
21-
- name: v1
25+
- additionalPrinterColumns:
26+
- jsonPath: .status.conditions[?(@.type=="Ready")].status
27+
name: Ready
28+
type: string
29+
name: v1
2230
schema:
2331
openAPIV3Schema:
2432
description: AtlasBackupSchedule is the Schema for the atlasbackupschedules

bundle/manifests/atlas.mongodb.com_atlasdatabaseusers.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,26 @@ metadata:
1212
spec:
1313
group: atlas.mongodb.com
1414
names:
15+
categories:
16+
- atlas
1517
kind: AtlasDatabaseUser
1618
listKind: AtlasDatabaseUserList
1719
plural: atlasdatabaseusers
20+
shortNames:
21+
- adu
1822
singular: atlasdatabaseuser
1923
scope: Namespaced
2024
versions:
2125
- additionalPrinterColumns:
2226
- jsonPath: .spec.name
2327
name: Name
2428
type: string
29+
- jsonPath: .status.conditions[?(@.type=="Ready")].status
30+
name: Ready
31+
type: string
32+
- jsonPath: .spec.username
33+
name: Username
34+
type: string
2535
name: v1
2636
schema:
2737
openAPIV3Schema:

bundle/manifests/atlas.mongodb.com_atlasdatafederations.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,23 @@ metadata:
1212
spec:
1313
group: atlas.mongodb.com
1414
names:
15+
categories:
16+
- atlas
1517
kind: AtlasDataFederation
1618
listKind: AtlasDataFederationList
1719
plural: atlasdatafederations
20+
shortNames:
21+
- adf
1822
singular: atlasdatafederation
1923
scope: Namespaced
2024
versions:
2125
- additionalPrinterColumns:
2226
- jsonPath: .spec.name
2327
name: Name
2428
type: string
29+
- jsonPath: .status.conditions[?(@.type=="Ready")].status
30+
name: Ready
31+
type: string
2532
name: v1
2633
schema:
2734
openAPIV3Schema:

bundle/manifests/atlas.mongodb.com_atlasdeployments.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,27 @@ metadata:
1212
spec:
1313
group: atlas.mongodb.com
1414
names:
15+
categories:
16+
- atlas
1517
kind: AtlasDeployment
1618
listKind: AtlasDeploymentList
1719
plural: atlasdeployments
20+
shortNames:
21+
- ad
1822
singular: atlasdeployment
1923
scope: Namespaced
2024
versions:
21-
- name: v1
25+
- additionalPrinterColumns:
26+
- jsonPath: .status.conditions[?(@.type=="Ready")].status
27+
name: Ready
28+
type: string
29+
- jsonPath: .status.stateName
30+
name: Atlas State
31+
type: string
32+
- jsonPath: .status.mongoDBVersion
33+
name: MongoDB Version
34+
type: string
35+
name: v1
2236
schema:
2337
openAPIV3Schema:
2438
description: AtlasDeployment is the Schema for the atlasdeployments API

bundle/manifests/atlas.mongodb.com_atlasfederatedauths.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,21 @@ metadata:
1212
spec:
1313
group: atlas.mongodb.com
1414
names:
15+
categories:
16+
- atlas
1517
kind: AtlasFederatedAuth
1618
listKind: AtlasFederatedAuthList
1719
plural: atlasfederatedauths
20+
shortNames:
21+
- afa
1822
singular: atlasfederatedauth
1923
scope: Namespaced
2024
versions:
21-
- name: v1
25+
- additionalPrinterColumns:
26+
- jsonPath: .status.conditions[?(@.type=="Ready")].status
27+
name: Ready
28+
type: string
29+
name: v1
2230
schema:
2331
openAPIV3Schema:
2432
description: AtlasFederatedAuth is the Schema for the Atlasfederatedauth API

0 commit comments

Comments
 (0)