Skip to content

Commit 75632f2

Browse files
Release 0.7.0 (#369)
* Pushing deploy/all-in-one.yaml using GitHub API * Pushing deploy/crds/atlas.mongodb.com_atlasclusters.yaml using GitHub API * Pushing deploy/crds/atlas.mongodb.com_atlasdatabaseusers.yaml using GitHub API * Pushing deploy/crds/atlas.mongodb.com_atlasprojects.yaml using GitHub API * Pushing deploy/clusterwide/clusterwide-config.yaml using GitHub API * Pushing deploy/clusterwide/crds.yaml using GitHub API * Pushing deploy/namespaced/namespaced-config.yaml using GitHub API * Pushing deploy/namespaced/crds.yaml using GitHub API * Pushing bundle/metadata/annotations.yaml using GitHub API * Pushing bundle/manifests/mongodb-atlas-controller-manager-metrics-service_v1_service.yaml using GitHub API * Pushing bundle/manifests/atlas.mongodb.com_atlasclusters.yaml using GitHub API * Pushing bundle/manifests/mongodb-atlas-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml using GitHub API * Pushing bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml using GitHub API * Pushing bundle/manifests/mongodb-atlas-operator_v1_serviceaccount.yaml using GitHub API * Pushing bundle/manifests/atlas.mongodb.com_atlasdatabaseusers.yaml using GitHub API * Pushing bundle/manifests/atlas.mongodb.com_atlasprojects.yaml using GitHub API * Pushing bundle/tests/scorecard/config.yaml using GitHub API * Pushing bundle.Dockerfile using GitHub API Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 22405a7 commit 75632f2

10 files changed

+339
-195
lines changed

bundle/manifests/atlas.mongodb.com_atlasclusters.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ spec:
300300
endpointId:
301301
description: Unique identifier of the private endpoint.
302302
type: string
303+
ip:
304+
description: Private IP address of the private endpoint network interface you created in your Azure VNet.
305+
type: string
303306
providerName:
304307
description: Cloud provider to which you deployed the private endpoint. Atlas returns AWS or AZURE.
305308
type: string

bundle/manifests/atlas.mongodb.com_atlasprojects.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,32 @@ spec:
5050
name:
5151
description: Name is the name of the Project that is created in Atlas by the Operator if it doesn't exist yet.
5252
type: string
53+
privateEndpoints:
54+
description: PrivateEndpoints is a list of Private Endpoints configured for the current Project.
55+
items:
56+
properties:
57+
id:
58+
description: Unique identifier of the private endpoint you created in your AWS VPC or Azure Vnet.
59+
type: string
60+
ip:
61+
description: Private IP address of the private endpoint network interface you created in your Azure VNet.
62+
type: string
63+
provider:
64+
description: Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts AWS or AZURE.
65+
enum:
66+
- AWS
67+
- GCP
68+
- AZURE
69+
- TENANT
70+
type: string
71+
region:
72+
description: Cloud provider region for which you want to create the private endpoint service.
73+
type: string
74+
required:
75+
- provider
76+
- region
77+
type: object
78+
type: array
5379
projectIpAccessList:
5480
description: ProjectIPAccessList allows to enable the IP Access List for the Project. See more information at https://docs.atlas.mongodb.com/reference/api/ip-access-list/add-entries-to-access-list/
5581
items:
@@ -131,6 +157,33 @@ spec:
131157
description: ObservedGeneration indicates the generation of the resource specification that the Atlas Operator is aware of. The Atlas Operator updates this field to the 'metadata.generation' as soon as it starts reconciliation of the resource.
132158
format: int64
133159
type: integer
160+
privateEndpoints:
161+
description: The list of private endpoints configured for current project
162+
items:
163+
properties:
164+
id:
165+
description: Unique identifier for AWS or AZURE Private Link Connection.
166+
type: string
167+
interfaceEndpointId:
168+
description: Unique identifier of the AWS or Azure Private Link Interface Endpoint.
169+
type: string
170+
provider:
171+
description: Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts AWS or AZURE.
172+
type: string
173+
region:
174+
description: Cloud provider region for which you want to create the private endpoint service.
175+
type: string
176+
serviceName:
177+
description: Name of the AWS or Azure Private Link Service that Atlas manages.
178+
type: string
179+
serviceResourceId:
180+
description: Unique identifier of the Azure Private Link Service (for AWS the same as ID).
181+
type: string
182+
required:
183+
- provider
184+
- region
185+
type: object
186+
type: array
134187
required:
135188
- conditions
136189
type: object

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

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ metadata:
6767
description: The MongoDB Atlas Kubernetes Operator enables easy management of Clusters in MongoDB Atlas
6868
operators.operatorframework.io/builder: operator-sdk-v1.4.2
6969
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
70-
name: mongodb-atlas-kubernetes.v0.6.1
70+
name: mongodb-atlas-kubernetes.v0.7.0
7171
namespace: placeholder
7272
spec:
7373
apiservicedefinitions: {}
@@ -286,18 +286,6 @@ spec:
286286
- get
287287
- patch
288288
- update
289-
- apiGroups:
290-
- authentication.k8s.io
291-
resources:
292-
- tokenreviews
293-
verbs:
294-
- create
295-
- apiGroups:
296-
- authorization.k8s.io
297-
resources:
298-
- subjectaccessreviews
299-
verbs:
300-
- create
301289
serviceAccountName: mongodb-atlas-operator
302290
deployments:
303291
- name: mongodb-atlas-operator
@@ -333,7 +321,7 @@ spec:
333321
valueFrom:
334322
fieldRef:
335323
fieldPath: metadata.namespace
336-
image: registry.connect.redhat.com/mongodb/mongodb-atlas-kubernetes-operator:0.6.1
324+
image: registry.connect.redhat.com/mongodb/mongodb-atlas-kubernetes-operator:0.7.0
337325
imagePullPolicy: Always
338326
livenessProbe:
339327
httpGet:
@@ -408,5 +396,5 @@ spec:
408396
maturity: beta
409397
provider:
410398
name: MongoDB, Inc
411-
version: 0.6.1
412-
replaces: mongodb-atlas-kubernetes.v0.6.0
399+
version: 0.7.0
400+
replaces: mongodb-atlas-kubernetes.v0.6.1

deploy/all-in-one.yaml

Lines changed: 70 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,10 @@ spec:
411411
endpointId:
412412
description: Unique identifier of the private endpoint.
413413
type: string
414+
ip:
415+
description: Private IP address of the private endpoint
416+
network interface you created in your Azure VNet.
417+
type: string
414418
providerName:
415419
description: Cloud provider to which you deployed
416420
the private endpoint. Atlas returns AWS or AZURE.
@@ -764,6 +768,37 @@ spec:
764768
description: Name is the name of the Project that is created in Atlas
765769
by the Operator if it doesn't exist yet.
766770
type: string
771+
privateEndpoints:
772+
description: PrivateEndpoints is a list of Private Endpoints configured
773+
for the current Project.
774+
items:
775+
properties:
776+
id:
777+
description: Unique identifier of the private endpoint you created
778+
in your AWS VPC or Azure Vnet.
779+
type: string
780+
ip:
781+
description: Private IP address of the private endpoint network
782+
interface you created in your Azure VNet.
783+
type: string
784+
provider:
785+
description: Cloud provider for which you want to retrieve a
786+
private endpoint service. Atlas accepts AWS or AZURE.
787+
enum:
788+
- AWS
789+
- GCP
790+
- AZURE
791+
- TENANT
792+
type: string
793+
region:
794+
description: Cloud provider region for which you want to create
795+
the private endpoint service.
796+
type: string
797+
required:
798+
- provider
799+
- region
800+
type: object
801+
type: array
767802
projectIpAccessList:
768803
description: ProjectIPAccessList allows to enable the IP Access List
769804
for the Project. See more information at https://docs.atlas.mongodb.com/reference/api/ip-access-list/add-entries-to-access-list/
@@ -862,6 +897,40 @@ spec:
862897
reconciliation of the resource.
863898
format: int64
864899
type: integer
900+
privateEndpoints:
901+
description: The list of private endpoints configured for current
902+
project
903+
items:
904+
properties:
905+
id:
906+
description: Unique identifier for AWS or AZURE Private Link
907+
Connection.
908+
type: string
909+
interfaceEndpointId:
910+
description: Unique identifier of the AWS or Azure Private Link
911+
Interface Endpoint.
912+
type: string
913+
provider:
914+
description: Cloud provider for which you want to retrieve a
915+
private endpoint service. Atlas accepts AWS or AZURE.
916+
type: string
917+
region:
918+
description: Cloud provider region for which you want to create
919+
the private endpoint service.
920+
type: string
921+
serviceName:
922+
description: Name of the AWS or Azure Private Link Service that
923+
Atlas manages.
924+
type: string
925+
serviceResourceId:
926+
description: Unique identifier of the Azure Private Link Service
927+
(for AWS the same as ID).
928+
type: string
929+
required:
930+
- provider
931+
- region
932+
type: object
933+
type: array
865934
required:
866935
- conditions
867936
type: object
@@ -1010,28 +1079,6 @@ rules:
10101079
- update
10111080
---
10121081
apiVersion: rbac.authorization.k8s.io/v1
1013-
kind: ClusterRole
1014-
metadata:
1015-
labels:
1016-
app.kubernetes.io/component: controller
1017-
app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator
1018-
app.kubernetes.io/name: mongodb-atlas-kubernetes-operator
1019-
name: mongodb-atlas-proxy-role
1020-
rules:
1021-
- apiGroups:
1022-
- authentication.k8s.io
1023-
resources:
1024-
- tokenreviews
1025-
verbs:
1026-
- create
1027-
- apiGroups:
1028-
- authorization.k8s.io
1029-
resources:
1030-
- subjectaccessreviews
1031-
verbs:
1032-
- create
1033-
---
1034-
apiVersion: rbac.authorization.k8s.io/v1
10351082
kind: RoleBinding
10361083
metadata:
10371084
labels:
@@ -1066,42 +1113,6 @@ subjects:
10661113
name: mongodb-atlas-operator
10671114
namespace: mongodb-atlas-system
10681115
---
1069-
apiVersion: rbac.authorization.k8s.io/v1
1070-
kind: ClusterRoleBinding
1071-
metadata:
1072-
labels:
1073-
app.kubernetes.io/component: controller
1074-
app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator
1075-
app.kubernetes.io/name: mongodb-atlas-kubernetes-operator
1076-
name: mongodb-atlas-proxy-rolebinding
1077-
roleRef:
1078-
apiGroup: rbac.authorization.k8s.io
1079-
kind: ClusterRole
1080-
name: mongodb-atlas-proxy-role
1081-
subjects:
1082-
- kind: ServiceAccount
1083-
name: mongodb-atlas-operator
1084-
namespace: mongodb-atlas-system
1085-
---
1086-
apiVersion: v1
1087-
kind: Service
1088-
metadata:
1089-
labels:
1090-
app.kubernetes.io/component: controller
1091-
app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator
1092-
app.kubernetes.io/name: mongodb-atlas-kubernetes-operator
1093-
name: mongodb-atlas-controller-manager-metrics-service
1094-
namespace: mongodb-atlas-system
1095-
spec:
1096-
ports:
1097-
- name: https
1098-
port: 8443
1099-
targetPort: https
1100-
selector:
1101-
app.kubernetes.io/component: controller
1102-
app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator
1103-
app.kubernetes.io/name: mongodb-atlas-kubernetes-operator
1104-
---
11051116
apiVersion: apps/v1
11061117
kind: Deployment
11071118
metadata:
@@ -1142,7 +1153,7 @@ spec:
11421153
valueFrom:
11431154
fieldRef:
11441155
fieldPath: metadata.namespace
1145-
image: mongodb/mongodb-atlas-kubernetes-operator:0.6.1
1156+
image: mongodb/mongodb-atlas-kubernetes-operator:0.7.0
11461157
imagePullPolicy: Always
11471158
livenessProbe:
11481159
httpGet:

deploy/clusterwide/clusterwide-config.yaml

Lines changed: 1 addition & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -140,28 +140,6 @@ rules:
140140
- update
141141
---
142142
apiVersion: rbac.authorization.k8s.io/v1
143-
kind: ClusterRole
144-
metadata:
145-
labels:
146-
app.kubernetes.io/component: controller
147-
app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator
148-
app.kubernetes.io/name: mongodb-atlas-kubernetes-operator
149-
name: mongodb-atlas-proxy-role
150-
rules:
151-
- apiGroups:
152-
- authentication.k8s.io
153-
resources:
154-
- tokenreviews
155-
verbs:
156-
- create
157-
- apiGroups:
158-
- authorization.k8s.io
159-
resources:
160-
- subjectaccessreviews
161-
verbs:
162-
- create
163-
---
164-
apiVersion: rbac.authorization.k8s.io/v1
165143
kind: RoleBinding
166144
metadata:
167145
labels:
@@ -196,42 +174,6 @@ subjects:
196174
name: mongodb-atlas-operator
197175
namespace: mongodb-atlas-system
198176
---
199-
apiVersion: rbac.authorization.k8s.io/v1
200-
kind: ClusterRoleBinding
201-
metadata:
202-
labels:
203-
app.kubernetes.io/component: controller
204-
app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator
205-
app.kubernetes.io/name: mongodb-atlas-kubernetes-operator
206-
name: mongodb-atlas-proxy-rolebinding
207-
roleRef:
208-
apiGroup: rbac.authorization.k8s.io
209-
kind: ClusterRole
210-
name: mongodb-atlas-proxy-role
211-
subjects:
212-
- kind: ServiceAccount
213-
name: mongodb-atlas-operator
214-
namespace: mongodb-atlas-system
215-
---
216-
apiVersion: v1
217-
kind: Service
218-
metadata:
219-
labels:
220-
app.kubernetes.io/component: controller
221-
app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator
222-
app.kubernetes.io/name: mongodb-atlas-kubernetes-operator
223-
name: mongodb-atlas-controller-manager-metrics-service
224-
namespace: mongodb-atlas-system
225-
spec:
226-
ports:
227-
- name: https
228-
port: 8443
229-
targetPort: https
230-
selector:
231-
app.kubernetes.io/component: controller
232-
app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator
233-
app.kubernetes.io/name: mongodb-atlas-kubernetes-operator
234-
---
235177
apiVersion: apps/v1
236178
kind: Deployment
237179
metadata:
@@ -272,7 +214,7 @@ spec:
272214
valueFrom:
273215
fieldRef:
274216
fieldPath: metadata.namespace
275-
image: mongodb/mongodb-atlas-kubernetes-operator:0.6.1
217+
image: mongodb/mongodb-atlas-kubernetes-operator:0.7.0
276218
imagePullPolicy: Always
277219
livenessProbe:
278220
httpGet:

0 commit comments

Comments
 (0)