Skip to content

Commit 6b51a3f

Browse files
Release 2.1.0 (#1381)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 145b35e commit 6b51a3f

15 files changed

+434
-79
lines changed

bundle/manifests/atlas.mongodb.com_atlasdatabaseusers.yaml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ spec:
4343
description: AtlasDatabaseUserSpec defines the desired state of Database
4444
User in Atlas
4545
properties:
46+
awsIamType:
47+
default: NONE
48+
description: Human-readable label that indicates whether the new database
49+
user authenticates with the Amazon Web Services (AWS) Identity and
50+
Access Management (IAM) credentials associated with the user or
51+
the user's role
52+
enum:
53+
- NONE
54+
- USER
55+
- ROLE
56+
type: string
4657
databaseName:
4758
default: admin
4859
description: DatabaseName is a Database against which Atlas authenticates
@@ -71,6 +82,15 @@ spec:
7182
- value
7283
type: object
7384
type: array
85+
oidcAuthType:
86+
default: NONE
87+
description: Human-readable label that indicates whether the new database
88+
Username with OIDC federated authentication. To create a federated
89+
authentication user, specify the value of IDP_GROUP for this field
90+
enum:
91+
- NONE
92+
- IDP_GROUP
93+
type: string
7494
passwordSecretRef:
7595
description: PasswordSecret is a reference to the Secret keeping the
7696
user password.
@@ -149,7 +169,13 @@ spec:
149169
type: object
150170
type: array
151171
username:
152-
description: Username is a username for authenticating to MongoDB.
172+
description: 'Username is a username for authenticating to MongoDB
173+
Human-readable label that represents the user that authenticates
174+
to MongoDB. The format of this label depends on the method of authentication:
175+
In case of AWS IAM: the value should be AWS ARN for the IAM User/Role;
176+
In case of OIDC: the value should be the Identity Provider ID; In
177+
case of Plain text auth: the value can be anything'
178+
maxLength: 1024
153179
type: string
154180
x509Type:
155181
description: X509Type is X.509 method by which the database authenticates

bundle/manifests/atlas.mongodb.com_atlasdeployments.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,13 @@ spec:
393393
type: object
394394
maxItems: 50
395395
type: array
396+
terminationProtectionEnabled:
397+
default: false
398+
description: Flag that indicates whether termination protection
399+
is enabled on the cluster. If set to true, MongoDB Cloud won't
400+
delete the cluster. If set to false, MongoDB Cloud will delete
401+
the cluster.
402+
type: boolean
396403
versionReleaseSystem:
397404
type: string
398405
type: object
@@ -597,7 +604,10 @@ spec:
597604
type: array
598605
terminationProtectionEnabled:
599606
default: false
600-
description: TerminationProtectionEnabled flag
607+
description: Flag that indicates whether termination protection
608+
is enabled on the cluster. If set to true, MongoDB Cloud won't
609+
delete the cluster. If set to false, MongoDB Cloud will delete
610+
the cluster.
601611
type: boolean
602612
required:
603613
- name

bundle/manifests/atlas.mongodb.com_atlasprojects.yaml

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ spec:
160160
types.
161161
type: boolean
162162
flowName:
163-
description: Flowdock flow namse in lower-case letters.
163+
description: Flowdock flow name in lower-case letters.
164164
type: string
165165
flowdockApiTokenRef:
166166
description: The Flowdock personal API token. Populated
@@ -188,7 +188,7 @@ spec:
188188
are sent. Populated for the SMS notifications type.
189189
type: string
190190
opsGenieApiKeyRef:
191-
description: Opsgenie API Key. Populated for the OPS_GENIE
191+
description: OpsGenie API Key. Populated for the OPS_GENIE
192192
notifications type. If the key later becomes invalid,
193193
Atlas sends an email to the project owner and eventually
194194
removes the token.
@@ -308,9 +308,32 @@ spec:
308308
type: boolean
309309
type: object
310310
cloudProviderAccessRoles:
311-
description: CloudProviderAccessRoles is a list of Cloud Provider
312-
Access Roles configured for the current Project.
311+
description: 'CloudProviderAccessRoles is a list of Cloud Provider
312+
Access Roles configured for the current Project. Deprecated: This
313+
configuration was deprecated in favor of CloudProviderIntegrations'
313314
items:
315+
description: 'CloudProviderAccessRole define an integration to a
316+
cloud provider Deprecated: This type is deprecated in favor of
317+
CloudProviderIntegration'
318+
properties:
319+
iamAssumedRoleArn:
320+
description: IamAssumedRoleArn is the ARN of the IAM role that
321+
is assumed by the Atlas cluster.
322+
type: string
323+
providerName:
324+
description: ProviderName is the name of the cloud provider.
325+
Currently only AWS is supported.
326+
type: string
327+
required:
328+
- providerName
329+
type: object
330+
type: array
331+
cloudProviderIntegrations:
332+
description: CloudProviderIntegrations is a list of Cloud Provider
333+
Integration configured for the current Project.
334+
items:
335+
description: CloudProviderIntegration define an integration to a
336+
cloud provider
314337
properties:
315338
iamAssumedRoleArn:
316339
description: IamAssumedRoleArn is the ARN of the IAM role that
@@ -1213,8 +1236,8 @@ spec:
12131236
items:
12141237
type: string
12151238
type: array
1216-
cloudProviderAccessRoles:
1217-
description: CloudProviderAccessRoles contains a list of configured
1239+
cloudProviderIntegrations:
1240+
description: CloudProviderIntegrations contains a list of configured
12181241
cloud provider access roles. AWS support only
12191242
items:
12201243
properties:

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ metadata:
127127
description: The MongoDB Atlas Kubernetes Operator enables easy management of Clusters in MongoDB Atlas
128128
operators.operatorframework.io/builder: operator-sdk-v1.15.0+git
129129
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
130-
containerImage: mongodb/mongodb-atlas-kubernetes-operator:2.0.1
130+
containerImage: mongodb/mongodb-atlas-kubernetes-operator:2.1.0
131131
labels:
132132
operatorframework.io/arch.amd64: supported
133133
operatorframework.io/arch.arm64: supported
134134
operatorframework.io/os.linux: supported
135-
name: mongodb-atlas-kubernetes.v2.0.1
135+
name: mongodb-atlas-kubernetes.v2.1.0
136136
namespace: placeholder
137137
spec:
138138
apiservicedefinitions: {}
@@ -515,7 +515,7 @@ spec:
515515
valueFrom:
516516
fieldRef:
517517
fieldPath: metadata.annotations['olm.targetNamespaces']
518-
image: mongodb/mongodb-atlas-kubernetes-operator:2.0.1
518+
image: mongodb/mongodb-atlas-kubernetes-operator:2.1.0
519519
imagePullPolicy: Always
520520
livenessProbe:
521521
httpGet:
@@ -600,5 +600,5 @@ spec:
600600
maturity: beta
601601
provider:
602602
name: MongoDB, Inc
603-
version: 2.0.1
604-
replaces: mongodb-atlas-kubernetes.v2.0.0
603+
version: 2.1.0
604+
replaces: mongodb-atlas-kubernetes.v2.0.1

deploy/all-in-one.yaml

Lines changed: 68 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,17 @@ spec:
413413
description: AtlasDatabaseUserSpec defines the desired state of Database
414414
User in Atlas
415415
properties:
416+
awsIamType:
417+
default: NONE
418+
description: Human-readable label that indicates whether the new database
419+
user authenticates with the Amazon Web Services (AWS) Identity and
420+
Access Management (IAM) credentials associated with the user or
421+
the user's role
422+
enum:
423+
- NONE
424+
- USER
425+
- ROLE
426+
type: string
416427
databaseName:
417428
default: admin
418429
description: DatabaseName is a Database against which Atlas authenticates
@@ -441,6 +452,15 @@ spec:
441452
- value
442453
type: object
443454
type: array
455+
oidcAuthType:
456+
default: NONE
457+
description: Human-readable label that indicates whether the new database
458+
Username with OIDC federated authentication. To create a federated
459+
authentication user, specify the value of IDP_GROUP for this field
460+
enum:
461+
- NONE
462+
- IDP_GROUP
463+
type: string
444464
passwordSecretRef:
445465
description: PasswordSecret is a reference to the Secret keeping the
446466
user password.
@@ -519,7 +539,13 @@ spec:
519539
type: object
520540
type: array
521541
username:
522-
description: Username is a username for authenticating to MongoDB.
542+
description: 'Username is a username for authenticating to MongoDB
543+
Human-readable label that represents the user that authenticates
544+
to MongoDB. The format of this label depends on the method of authentication:
545+
In case of AWS IAM: the value should be AWS ARN for the IAM User/Role;
546+
In case of OIDC: the value should be the Identity Provider ID; In
547+
case of Plain text auth: the value can be anything'
548+
maxLength: 1024
523549
type: string
524550
x509Type:
525551
description: X509Type is X.509 method by which the database authenticates
@@ -1237,6 +1263,13 @@ spec:
12371263
type: object
12381264
maxItems: 50
12391265
type: array
1266+
terminationProtectionEnabled:
1267+
default: false
1268+
description: Flag that indicates whether termination protection
1269+
is enabled on the cluster. If set to true, MongoDB Cloud won't
1270+
delete the cluster. If set to false, MongoDB Cloud will delete
1271+
the cluster.
1272+
type: boolean
12401273
versionReleaseSystem:
12411274
type: string
12421275
type: object
@@ -1441,7 +1474,10 @@ spec:
14411474
type: array
14421475
terminationProtectionEnabled:
14431476
default: false
1444-
description: TerminationProtectionEnabled flag
1477+
description: Flag that indicates whether termination protection
1478+
is enabled on the cluster. If set to true, MongoDB Cloud won't
1479+
delete the cluster. If set to false, MongoDB Cloud will delete
1480+
the cluster.
14451481
type: boolean
14461482
required:
14471483
- name
@@ -2019,7 +2055,7 @@ spec:
20192055
types.
20202056
type: boolean
20212057
flowName:
2022-
description: Flowdock flow namse in lower-case letters.
2058+
description: Flowdock flow name in lower-case letters.
20232059
type: string
20242060
flowdockApiTokenRef:
20252061
description: The Flowdock personal API token. Populated
@@ -2047,7 +2083,7 @@ spec:
20472083
are sent. Populated for the SMS notifications type.
20482084
type: string
20492085
opsGenieApiKeyRef:
2050-
description: Opsgenie API Key. Populated for the OPS_GENIE
2086+
description: OpsGenie API Key. Populated for the OPS_GENIE
20512087
notifications type. If the key later becomes invalid,
20522088
Atlas sends an email to the project owner and eventually
20532089
removes the token.
@@ -2167,9 +2203,32 @@ spec:
21672203
type: boolean
21682204
type: object
21692205
cloudProviderAccessRoles:
2170-
description: CloudProviderAccessRoles is a list of Cloud Provider
2171-
Access Roles configured for the current Project.
2206+
description: 'CloudProviderAccessRoles is a list of Cloud Provider
2207+
Access Roles configured for the current Project. Deprecated: This
2208+
configuration was deprecated in favor of CloudProviderIntegrations'
2209+
items:
2210+
description: 'CloudProviderAccessRole define an integration to a
2211+
cloud provider Deprecated: This type is deprecated in favor of
2212+
CloudProviderIntegration'
2213+
properties:
2214+
iamAssumedRoleArn:
2215+
description: IamAssumedRoleArn is the ARN of the IAM role that
2216+
is assumed by the Atlas cluster.
2217+
type: string
2218+
providerName:
2219+
description: ProviderName is the name of the cloud provider.
2220+
Currently only AWS is supported.
2221+
type: string
2222+
required:
2223+
- providerName
2224+
type: object
2225+
type: array
2226+
cloudProviderIntegrations:
2227+
description: CloudProviderIntegrations is a list of Cloud Provider
2228+
Integration configured for the current Project.
21722229
items:
2230+
description: CloudProviderIntegration define an integration to a
2231+
cloud provider
21732232
properties:
21742233
iamAssumedRoleArn:
21752234
description: IamAssumedRoleArn is the ARN of the IAM role that
@@ -3072,8 +3131,8 @@ spec:
30723131
items:
30733132
type: string
30743133
type: array
3075-
cloudProviderAccessRoles:
3076-
description: CloudProviderAccessRoles contains a list of configured
3134+
cloudProviderIntegrations:
3135+
description: CloudProviderIntegrations contains a list of configured
30773136
cloud provider access roles. AWS support only
30783137
items:
30793138
properties:
@@ -3805,7 +3864,7 @@ spec:
38053864
valueFrom:
38063865
fieldRef:
38073866
fieldPath: metadata.namespace
3808-
image: mongodb/mongodb-atlas-kubernetes-operator:2.0.1
3867+
image: mongodb/mongodb-atlas-kubernetes-operator:2.1.0
38093868
imagePullPolicy: Always
38103869
livenessProbe:
38113870
httpGet:

deploy/clusterwide/clusterwide-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ spec:
326326
valueFrom:
327327
fieldRef:
328328
fieldPath: metadata.namespace
329-
image: mongodb/mongodb-atlas-kubernetes-operator:2.0.1
329+
image: mongodb/mongodb-atlas-kubernetes-operator:2.1.0
330330
imagePullPolicy: Always
331331
livenessProbe:
332332
httpGet:

0 commit comments

Comments
 (0)