Skip to content

Commit 21b6f25

Browse files
Release 2.7.0 (#2096)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 4fbc3e9 commit 21b6f25

19 files changed

+1854
-112
lines changed

bundle/manifests/atlas.mongodb.com_atlascustomroles.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ spec:
6868
- name
6969
type: object
7070
externalProjectRef:
71-
description: Optional ID of the Atlas Project this role is attached
72-
to. Mutually exclusive with "projectRef" field
71+
description: |-
72+
"externalProjectRef" holds the parent Atlas project ID.
73+
Mutually exclusive with the "projectRef" field
7374
properties:
7475
id:
7576
description: ID is the Atlas project ID
@@ -78,8 +79,9 @@ spec:
7879
- id
7980
type: object
8081
projectRef:
81-
description: Optional reference to an AtlasProject custom resource.
82-
Mutually exclusive with "externalProjectRef" field
82+
description: |-
83+
"projectRef" is a reference to the parent AtlasProject resource.
84+
Mutually exclusive with the "externalProjectRef" field
8385
properties:
8486
name:
8587
description: Name is the name of the Kubernetes Resource

bundle/manifests/atlas.mongodb.com_atlasdatabaseusers.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ spec:
9696
The specified date must be in the future and within one week.
9797
type: string
9898
externalProjectRef:
99-
description: ExternalProjectRef holds the Atlas project ID the user
100-
belongs to
99+
description: |-
100+
"externalProjectRef" holds the parent Atlas project ID.
101+
Mutually exclusive with the "projectRef" field
101102
properties:
102103
id:
103104
description: ID is the Atlas project ID
@@ -145,8 +146,9 @@ spec:
145146
- name
146147
type: object
147148
projectRef:
148-
description: Project is a reference to AtlasProject resource the user
149-
belongs to
149+
description: |-
150+
"projectRef" is a reference to the parent AtlasProject resource.
151+
Mutually exclusive with the "externalProjectRef" field
150152
properties:
151153
name:
152154
description: Name is the name of the Kubernetes Resource

bundle/manifests/atlas.mongodb.com_atlasdeployments.yaml

Lines changed: 76 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -622,15 +622,83 @@ spec:
622622
- name
623623
type: object
624624
externalProjectRef:
625-
description: ExternalProjectRef holds the Atlas project ID the user
626-
belongs to
625+
description: |-
626+
"externalProjectRef" holds the parent Atlas project ID.
627+
Mutually exclusive with the "projectRef" field
627628
properties:
628629
id:
629630
description: ID is the Atlas project ID
630631
type: string
631632
required:
632633
- id
633634
type: object
635+
flexSpec:
636+
description: Configuration for the Flex cluster API. https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters
637+
properties:
638+
name:
639+
description: Human-readable label that identifies the instance.
640+
type: string
641+
providerSettings:
642+
description: Group of cloud provider settings that configure the
643+
provisioned MongoDB flex cluster.
644+
properties:
645+
backingProviderName:
646+
description: Cloud service provider on which MongoDB Atlas
647+
provisions the flex cluster.
648+
enum:
649+
- AWS
650+
- GCP
651+
- AZURE
652+
type: string
653+
x-kubernetes-validations:
654+
- message: Backing Provider cannot be modified after cluster
655+
creation
656+
rule: self == oldSelf
657+
regionName:
658+
description: |-
659+
Human-readable label that identifies the geographic location of your MongoDB flex cluster.
660+
The region you choose can affect network latency for clients accessing your databases.
661+
type: string
662+
x-kubernetes-validations:
663+
- message: Region Name cannot be modified after cluster creation
664+
rule: self == oldSelf
665+
required:
666+
- backingProviderName
667+
- regionName
668+
type: object
669+
tags:
670+
description: List that contains key-value pairs between 1 to 255
671+
characters in length for tagging and categorizing the instance.
672+
items:
673+
description: TagSpec holds a key-value pair for resource tagging
674+
on this deployment.
675+
properties:
676+
key:
677+
maxLength: 255
678+
minLength: 1
679+
pattern: ^[a-zA-Z0-9][a-zA-Z0-9 @_.+`;`-]*$
680+
type: string
681+
value:
682+
maxLength: 255
683+
minLength: 1
684+
pattern: ^[a-zA-Z0-9][a-zA-Z0-9@_.+`;`-]*$
685+
type: string
686+
required:
687+
- key
688+
- value
689+
type: object
690+
maxItems: 50
691+
type: array
692+
terminationProtectionEnabled:
693+
default: false
694+
description: |-
695+
Flag that indicates whether termination protection is enabled on the cluster.
696+
If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
697+
type: boolean
698+
required:
699+
- name
700+
- providerSettings
701+
type: object
634702
processArgs:
635703
description: ProcessArgs allows to modify Advanced Configuration Options
636704
properties:
@@ -659,8 +727,9 @@ spec:
659727
type: integer
660728
type: object
661729
projectRef:
662-
description: Project is a reference to AtlasProject resource the deployment
663-
belongs to
730+
description: |-
731+
"projectRef" is a reference to the parent AtlasProject resource.
732+
Mutually exclusive with the "externalProjectRef" field
664733
properties:
665734
name:
666735
description: Name is the name of the Kubernetes Resource
@@ -672,7 +741,9 @@ spec:
672741
- name
673742
type: object
674743
serverlessSpec:
675-
description: Configuration for the serverless deployment API. https://www.mongodb.com/docs/atlas/reference/api/serverless-instances/
744+
description: |-
745+
Configuration for the serverless deployment API. https://www.mongodb.com/docs/atlas/reference/api/serverless-instances/
746+
DEPRECATED FIELD: Serverless instances are deprecated. See https://dochub.mongodb.org/core/atlas-flex-migration for details.
676747
properties:
677748
backupOptions:
678749
description: Serverless Backup Options
Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.16.1
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: atlasipaccesslists.atlas.mongodb.com
12+
spec:
13+
group: atlas.mongodb.com
14+
names:
15+
categories:
16+
- atlas
17+
kind: AtlasIPAccessList
18+
listKind: AtlasIPAccessListList
19+
plural: atlasipaccesslists
20+
shortNames:
21+
- aip
22+
singular: atlasipaccesslist
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: AtlasIPAccessList is the Schema for the atlasipaccesslists API.
33+
properties:
34+
apiVersion:
35+
description: |-
36+
APIVersion defines the versioned schema of this representation of an object.
37+
Servers should convert recognized schemas to the latest internal value, and
38+
may reject unrecognized values.
39+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
40+
type: string
41+
kind:
42+
description: |-
43+
Kind is a string value representing the REST resource this object represents.
44+
Servers may infer this from the endpoint the client submits requests to.
45+
Cannot be updated.
46+
In CamelCase.
47+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
48+
type: string
49+
metadata:
50+
type: object
51+
spec:
52+
description: AtlasIPAccessListSpec defines the desired state of AtlasIPAccessList.
53+
properties:
54+
connectionSecret:
55+
description: Name of the secret containing Atlas API private and public
56+
keys
57+
properties:
58+
name:
59+
description: |-
60+
Name of the resource being referred to
61+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
62+
type: string
63+
required:
64+
- name
65+
type: object
66+
entries:
67+
description: Entries is the list of IP Access to be managed
68+
items:
69+
properties:
70+
awsSecurityGroup:
71+
description: Unique identifier of AWS security group in this
72+
access list entry.
73+
type: string
74+
cidrBlock:
75+
description: Range of IP addresses in CIDR notation in this
76+
access list entry.
77+
type: string
78+
comment:
79+
description: Comment associated with this access list entry.
80+
type: string
81+
deleteAfterDate:
82+
description: Date and time after which Atlas deletes the temporary
83+
access list entry.
84+
format: date-time
85+
type: string
86+
ipAddress:
87+
description: Entry using an IP address in this access list entry.
88+
type: string
89+
type: object
90+
x-kubernetes-validations:
91+
- message: Only one of ipAddress, cidrBlock, or awsSecurityGroup
92+
may be set.
93+
rule: '!(has(self.ipAddress) && (has(self.cidrBlock) || has(self.awsSecurityGroup)))
94+
&& !(has(self.cidrBlock) && has(self.awsSecurityGroup))'
95+
minItems: 1
96+
type: array
97+
externalProjectRef:
98+
description: |-
99+
"externalProjectRef" holds the parent Atlas project ID.
100+
Mutually exclusive with the "projectRef" field
101+
properties:
102+
id:
103+
description: ID is the Atlas project ID
104+
type: string
105+
required:
106+
- id
107+
type: object
108+
projectRef:
109+
description: |-
110+
"projectRef" is a reference to the parent AtlasProject resource.
111+
Mutually exclusive with the "externalProjectRef" field
112+
properties:
113+
name:
114+
description: Name is the name of the Kubernetes Resource
115+
type: string
116+
namespace:
117+
description: Namespace is the namespace of the Kubernetes Resource
118+
type: string
119+
required:
120+
- name
121+
type: object
122+
required:
123+
- entries
124+
type: object
125+
x-kubernetes-validations:
126+
- message: must define only one project reference through externalProjectRef
127+
or projectRef
128+
rule: (has(self.externalProjectRef) && !has(self.projectRef)) || (!has(self.externalProjectRef)
129+
&& has(self.projectRef))
130+
- message: must define a local connection secret when referencing an external
131+
project
132+
rule: (has(self.externalProjectRef) && has(self.connectionSecret)) ||
133+
!has(self.externalProjectRef)
134+
status:
135+
description: AtlasIPAccessListStatus is the most recent observed status
136+
of the AtlasIPAccessList cluster. Read-only.
137+
properties:
138+
conditions:
139+
description: Conditions is the list of statuses showing the current
140+
state of the Atlas Custom Resource
141+
items:
142+
description: Condition describes the state of an Atlas Custom Resource
143+
at a certain point.
144+
properties:
145+
lastTransitionTime:
146+
description: Last time the condition transitioned from one status
147+
to another.
148+
format: date-time
149+
type: string
150+
message:
151+
description: A human readable message indicating details about
152+
the transition.
153+
type: string
154+
reason:
155+
description: The reason for the condition's last transition.
156+
type: string
157+
status:
158+
description: Status of the condition, one of True, False, Unknown.
159+
type: string
160+
type:
161+
description: Type of Atlas Custom Resource condition.
162+
type: string
163+
required:
164+
- status
165+
- type
166+
type: object
167+
type: array
168+
entries:
169+
description: Status is the state of the ip access list
170+
items:
171+
properties:
172+
entry:
173+
description: Entry is the ip access Atlas is managing
174+
type: string
175+
status:
176+
description: Status is the correspondent state of the entry
177+
type: string
178+
required:
179+
- entry
180+
- status
181+
type: object
182+
type: array
183+
observedGeneration:
184+
description: |-
185+
ObservedGeneration indicates the generation of the resource specification that the Atlas Operator is aware of.
186+
The Atlas Operator updates this field to the 'metadata.generation' as soon as it starts reconciliation of the resource.
187+
format: int64
188+
type: integer
189+
required:
190+
- conditions
191+
type: object
192+
type: object
193+
served: true
194+
storage: true
195+
subresources:
196+
status: {}
197+
status:
198+
acceptedNames:
199+
kind: ""
200+
plural: ""
201+
conditions: null
202+
storedVersions: null

bundle/manifests/atlas.mongodb.com_atlasprivateendpoints.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ spec:
116116
- name
117117
type: object
118118
externalProjectRef:
119-
description: ExternalProject holds the Atlas project ID the user belongs
120-
to
119+
description: |-
120+
"externalProjectRef" holds the parent Atlas project ID.
121+
Mutually exclusive with the "projectRef" field
121122
properties:
122123
id:
123124
description: ID is the Atlas project ID
@@ -170,8 +171,9 @@ spec:
170171
- groupName
171172
x-kubernetes-list-type: map
172173
projectRef:
173-
description: Project is a reference to AtlasProject resource the user
174-
belongs to
174+
description: |-
175+
"projectRef" is a reference to the parent AtlasProject resource.
176+
Mutually exclusive with the "externalProjectRef" field
175177
properties:
176178
name:
177179
description: Name is the name of the Kubernetes Resource

0 commit comments

Comments
 (0)