From 0acfcefcf4880c2bebe192cb9e69a3b907af0fd4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Apr 2024 11:52:53 +0000 Subject: [PATCH] Release 2.2.1 --- bundle.Dockerfile | 4 +- ...atlas.mongodb.com_atlasbackuppolicies.yaml | 34 +- ...tlas.mongodb.com_atlasbackupschedules.yaml | 26 +- .../atlas.mongodb.com_atlasdatabaseusers.yaml | 90 +-- ...tlas.mongodb.com_atlasdatafederations.yaml | 26 +- .../atlas.mongodb.com_atlasdeployments.yaml | 305 ++++---- ...atlas.mongodb.com_atlasfederatedauths.yaml | 39 +- .../atlas.mongodb.com_atlasprojects.yaml | 121 ++-- .../atlas.mongodb.com_atlasteams.yaml | 26 +- ...tlas-kubernetes.clusterserviceversion.yaml | 26 +- bundle/metadata/annotations.yaml | 4 +- deploy/all-in-one.yaml | 682 +++++++++--------- deploy/clusterwide/clusterwide-config.yaml | 7 +- deploy/clusterwide/crds.yaml | 675 ++++++++--------- ...atlas.mongodb.com_atlasbackuppolicies.yaml | 35 +- ...tlas.mongodb.com_atlasbackupschedules.yaml | 27 +- .../atlas.mongodb.com_atlasdatabaseusers.yaml | 91 +-- ...tlas.mongodb.com_atlasdatafederations.yaml | 27 +- .../atlas.mongodb.com_atlasdeployments.yaml | 306 ++++---- ...atlas.mongodb.com_atlasfederatedauths.yaml | 40 +- .../crds/atlas.mongodb.com_atlasprojects.yaml | 122 ++-- deploy/crds/atlas.mongodb.com_atlasteams.yaml | 27 +- deploy/namespaced/crds.yaml | 675 ++++++++--------- deploy/namespaced/namespaced-config.yaml | 7 +- deploy/openshift/crds.yaml | 675 ++++++++--------- deploy/openshift/openshift.yaml | 7 +- 26 files changed, 2137 insertions(+), 1967 deletions(-) diff --git a/bundle.Dockerfile b/bundle.Dockerfile index 1ab413dac8..bd1a9930d4 100644 --- a/bundle.Dockerfile +++ b/bundle.Dockerfile @@ -11,9 +11,9 @@ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ LABEL operators.operatorframework.io.bundle.package.v1=mongodb-atlas-kubernetes LABEL operators.operatorframework.io.bundle.channels.v1=stable LABEL operators.operatorframework.io.bundle.channel.default.v1=stable -LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.15.0+git +LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.34.1 LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1 -LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v2 +LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4 # Labels for testing. LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1 diff --git a/bundle/manifests/atlas.mongodb.com_atlasbackuppolicies.yaml b/bundle/manifests/atlas.mongodb.com_atlasbackuppolicies.yaml index 2e0e0f1bf4..834667792f 100644 --- a/bundle/manifests/atlas.mongodb.com_atlasbackuppolicies.yaml +++ b/bundle/manifests/atlas.mongodb.com_atlasbackuppolicies.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 + controller-gen.kubebuilder.io/version: v0.14.0 creationTimestamp: null labels: app.kubernetes.io/component: controller @@ -24,14 +24,19 @@ spec: description: AtlasBackupPolicy is the Schema for the atlasbackuppolicies API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -43,11 +48,9 @@ spec: items: properties: frequencyInterval: - description: Desired frequency of the new backup policy item - specified by FrequencyType. A value of 1 specifies the first - instance of the corresponding FrequencyType. The only accepted - value you can set for frequency interval with NVMe clusters - is 12. + description: |- + Desired frequency of the new backup policy item specified by FrequencyType. A value of 1 specifies the first instance of the corresponding FrequencyType. + The only accepted value you can set for frequency interval with NVMe clusters is 12. enum: - 1 - 2 @@ -151,10 +154,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: diff --git a/bundle/manifests/atlas.mongodb.com_atlasbackupschedules.yaml b/bundle/manifests/atlas.mongodb.com_atlasbackupschedules.yaml index 647d54bf64..c05e1a9f63 100644 --- a/bundle/manifests/atlas.mongodb.com_atlasbackupschedules.yaml +++ b/bundle/manifests/atlas.mongodb.com_atlasbackupschedules.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 + controller-gen.kubebuilder.io/version: v0.14.0 creationTimestamp: null labels: app.kubernetes.io/component: controller @@ -25,14 +25,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -178,10 +183,9 @@ spec: type: string type: array observedGeneration: - 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. + 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. format: int64 type: integer required: diff --git a/bundle/manifests/atlas.mongodb.com_atlasdatabaseusers.yaml b/bundle/manifests/atlas.mongodb.com_atlasdatabaseusers.yaml index 3c0fbdf500..cd1860ae66 100644 --- a/bundle/manifests/atlas.mongodb.com_atlasdatabaseusers.yaml +++ b/bundle/manifests/atlas.mongodb.com_atlasdatabaseusers.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 + controller-gen.kubebuilder.io/version: v0.14.0 creationTimestamp: null labels: app.kubernetes.io/component: controller @@ -28,14 +28,19 @@ spec: description: AtlasDatabaseUser is the Schema for the Atlas Database User API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -45,10 +50,11 @@ spec: properties: awsIamType: default: NONE - description: Human-readable label that indicates whether the new database - user authenticates with the Amazon Web Services (AWS) Identity and - Access Management (IAM) credentials associated with the user or - the user's role + description: |- + Human-readable label that indicates whether the new database + user authenticates with the Amazon Web Services (AWS) + Identity and Access Management (IAM) credentials associated with + the user or the user's role enum: - NONE - USER @@ -60,14 +66,14 @@ spec: the user. Default value is 'admin'. type: string deleteAfterDate: - description: DeleteAfterDate is a timestamp in ISO 8601 date and time - format in UTC after which Atlas deletes the user. The specified - date must be in the future and within one week. + description: |- + DeleteAfterDate is a timestamp in ISO 8601 date and time format in UTC after which Atlas deletes the user. + The specified date must be in the future and within one week. type: string labels: - description: Labels is an array containing key-value pairs that tag - and categorize the database user. Each key and value has a maximum - length of 255 characters. + description: |- + Labels is an array containing key-value pairs that tag and categorize the database user. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -84,9 +90,11 @@ spec: type: array oidcAuthType: default: NONE - description: Human-readable label that indicates whether the new database - Username with OIDC federated authentication. To create a federated - authentication user, specify the value of IDP_GROUP for this field + description: |- + Human-readable label that indicates whether the new database Username + with OIDC federated authentication. + To create a federated authentication user, specify the value + of IDP_GROUP for this field enum: - NONE - IDP_GROUP @@ -115,21 +123,21 @@ spec: - name type: object roles: - description: Roles is an array of this user's roles and the databases - / collections on which the roles apply. A role allows the user to - perform particular actions on the specified database. + description: |- + Roles is an array of this user's roles and the databases / collections on which the roles apply. A role allows + the user to perform particular actions on the specified database. items: - description: RoleSpec allows the user to perform particular actions - on the specified database. A role on the admin database can include - privileges that apply to the other databases as well. + description: |- + RoleSpec allows the user to perform particular actions on the specified database. + A role on the admin database can include privileges that apply to the other databases as well. properties: collectionName: description: CollectionName is a collection for which the role applies. type: string databaseName: - description: DatabaseName is a database on which the user has - the specified role. A role on the admin database can include + description: |- + DatabaseName is a database on which the user has the specified role. A role on the admin database can include privileges that apply to the other databases. type: string roleName: @@ -146,11 +154,10 @@ spec: description: Scopes is an array of clusters and Atlas Data Lakes that this user has access to. items: - description: ScopeSpec if present a database user only have access - to the indicated resource (Cluster or Atlas Data Lake) if none - is given then it has access to all. It's highly recommended to - restrict the access of the database users only to a limited set - of resources. + description: |- + ScopeSpec if present a database user only have access to the indicated resource (Cluster or Atlas Data Lake) + if none is given then it has access to all. + It's highly recommended to restrict the access of the database users only to a limited set of resources. properties: name: description: Name is a name of the cluster or Atlas Data Lake @@ -169,12 +176,12 @@ spec: type: object type: array username: - description: 'Username is a username for authenticating to MongoDB - Human-readable label that represents the user that authenticates - to MongoDB. The format of this label depends on the method of authentication: + description: |- + Username is a username for authenticating to MongoDB + Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication: In case of AWS IAM: the value should be AWS ARN for the IAM User/Role; - In case of OIDC: the value should be the Identity Provider ID; In - case of Plain text auth: the value can be anything' + In case of OIDC: the value should be the Identity Provider ID; + In case of Plain text auth: the value can be anything maxLength: 1024 type: string x509Type: @@ -223,10 +230,9 @@ spec: description: UserName is the current name of database user. type: string observedGeneration: - 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. + 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. format: int64 type: integer passwordVersion: diff --git a/bundle/manifests/atlas.mongodb.com_atlasdatafederations.yaml b/bundle/manifests/atlas.mongodb.com_atlasdatafederations.yaml index 5a929550da..01af01b995 100644 --- a/bundle/manifests/atlas.mongodb.com_atlasdatafederations.yaml +++ b/bundle/manifests/atlas.mongodb.com_atlasdatafederations.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 + controller-gen.kubebuilder.io/version: v0.14.0 creationTimestamp: null labels: app.kubernetes.io/component: controller @@ -29,14 +29,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -239,10 +244,9 @@ spec: runs, in . format. type: string observedGeneration: - 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. + 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. format: int64 type: integer required: diff --git a/bundle/manifests/atlas.mongodb.com_atlasdeployments.yaml b/bundle/manifests/atlas.mongodb.com_atlasdeployments.yaml index 2c9e2fe577..0e81aa0461 100644 --- a/bundle/manifests/atlas.mongodb.com_atlasdeployments.yaml +++ b/bundle/manifests/atlas.mongodb.com_atlasdeployments.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 + controller-gen.kubebuilder.io/version: v0.14.0 creationTimestamp: null labels: app.kubernetes.io/component: controller @@ -24,21 +24,26 @@ spec: description: AtlasDeployment is the Schema for the atlasdeployments API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: AtlasDeploymentSpec defines the desired state of AtlasDeployment - Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec - should be defined + description: |- + AtlasDeploymentSpec defines the desired state of AtlasDeployment + Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec should be defined properties: backupRef: description: Backup schedule for the AtlasDeployment @@ -57,13 +62,14 @@ spec: https://www.mongodb.com/docs/atlas/reference/api/clusters/ properties: backupEnabled: - description: Applicable only for M10+ deployments. Flag that indicates - if the deployment uses Cloud Backups for backups. + description: |- + Applicable only for M10+ deployments. + Flag that indicates if the deployment uses Cloud Backups for backups. type: boolean biConnector: - description: Configuration of BI Connector for Atlas on this deployment. - The MongoDB Connector for Business Intelligence for Atlas (BI - Connector) is only available for M10 and larger deployments. + description: |- + Configuration of BI Connector for Atlas on this deployment. + The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger deployments. properties: enabled: description: Flag that indicates whether or not BI Connector @@ -77,9 +83,9 @@ spec: type: string type: object clusterType: - description: Type of the deployment that you want to create. The - parameter is required if replicationSpecs are set or if Global - Deployments are deployed. + description: |- + Type of the deployment that you want to create. + The parameter is required if replicationSpecs are set or if Global Deployments are deployed. enum: - REPLICASET - SHARDED @@ -98,9 +104,10 @@ spec: type: object type: array diskSizeGB: - description: Capacity, in gigabytes, of the host's root volume. - Increase this number to add capacity, up to a maximum possible - value of 4096 (i.e., 4 TB). This value must be a positive integer. + description: |- + Capacity, in gigabytes, of the host's root volume. + Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). + This value must be a positive integer. The parameter is required if replicationSpecs are configured. maximum: 4096 minimum: 0 @@ -115,9 +122,9 @@ spec: - NONE type: string labels: - description: Collection of key-value pairs that tag and categorize - the deployment. Each key and value has a maximum length of 255 - characters. + description: |- + Collection of key-value pairs that tag and categorize the deployment. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -162,9 +169,10 @@ spec: mongoDBVersion: type: string name: - description: Name of the advanced deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the advanced deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string paused: @@ -180,50 +188,42 @@ spec: items: properties: numShards: - description: Positive integer that specifies the number - of shards to deploy in each specified zone. If you set - this value to 1 and clusterType is SHARDED, MongoDB Cloud - deploys a single-shard sharded cluster. Don't create a - sharded cluster with a single shard for production environments. - Single-shard sharded clusters don't provide the same benefits - as multi-shard configurations + description: |- + Positive integer that specifies the number of shards to deploy in each specified zone. + If you set this value to 1 and clusterType is SHARDED, MongoDB Cloud deploys a single-shard sharded cluster. + Don't create a sharded cluster with a single shard for production environments. + Single-shard sharded clusters don't provide the same benefits as multi-shard configurations type: integer regionConfigs: - description: Hardware specifications for nodes set for a - given region. Each regionConfigs object describes the - region's priority in elections and the number and type - of MongoDB nodes that MongoDB Cloud deploys to the region. - Each regionConfigs object must have either an analyticsSpecs - object, electableSpecs object, or readOnlySpecs object. - Tenant clusters only require electableSpecs. Dedicated - clusters can specify any of these specifications, but - must have at least one electableSpecs object within a - replicationSpec. Every hardware specification must use - the same instanceSize. + description: |- + Hardware specifications for nodes set for a given region. + Each regionConfigs object describes the region's priority in elections and the number and type of MongoDB nodes that MongoDB Cloud deploys to the region. + Each regionConfigs object must have either an analyticsSpecs object, electableSpecs object, or readOnlySpecs object. + Tenant clusters only require electableSpecs. Dedicated clusters can specify any of these specifications, but must have at least one electableSpecs object within a replicationSpec. + Every hardware specification must use the same instanceSize. items: properties: analyticsSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -273,11 +273,10 @@ spec: type: object type: object backingProviderName: - description: 'Cloud service provider on which the - host for a multi-tenant deployment is provisioned. - This setting only works when "providerName" : "TENANT" - and "providerSetting.instanceSizeName" : M2 or M5. - Otherwise it should be equal to "providerName" value' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. + Otherwise it should be equal to "providerName" value enum: - AWS - GCP @@ -286,25 +285,24 @@ spec: electableSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -312,13 +310,11 @@ spec: type: integer type: object priority: - description: Precedence is given to this region when - a primary election occurs. If your regionConfigs - has only readOnlySpecs, analyticsSpecs, or both, - set this value to 0. If you have multiple regionConfigs - objects (your cluster is multi-region or multi-cloud), - they must have priorities in descending order. The - highest priority is 7 + description: |- + Precedence is given to this region when a primary election occurs. + If your regionConfigs has only readOnlySpecs, analyticsSpecs, or both, set this value to 0. + If you have multiple regionConfigs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. + The highest priority is 7 type: integer providerName: enum: @@ -331,25 +327,24 @@ spec: readOnlySpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -357,9 +352,9 @@ spec: type: integer type: object regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency - for clients accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string type: object type: array @@ -455,9 +450,10 @@ spec: type: boolean type: object name: - description: Name of the serverless deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the serverless deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string privateEndpoints: @@ -484,13 +480,15 @@ spec: service provider. properties: autoScaling: - description: Range of instance sizes to which your deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Range of instance sizes to which your deployment can scale. properties: autoIndexingEnabled: - description: 'Deprecated: This flag is not supported anymore. - Flag that indicates whether autopilot mode for Performance - Advisor is enabled. The default is false.' + description: |- + Deprecated: This flag is not supported anymore. + Flag that indicates whether autopilot mode for Performance Advisor is enabled. + The default is false. type: boolean compute: description: Collection of settings that configure how @@ -525,33 +523,36 @@ spec: type: boolean type: object backingProviderName: - description: 'Cloud service provider on which the host for - a multi-tenant deployment is provisioned. This setting only - works when "providerSetting.providerName" : "TENANT" and - "providerSetting.instanceSizeName" : M2 or M5.' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerSetting.providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. enum: - AWS - GCP - AZURE type: string diskIOPS: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer diskTypeName: - description: Type of disk if you selected Azure as your cloud - service provider. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Type of disk if you selected Azure as your + cloud service provider. type: string encryptEBSVolume: - description: Flag that indicates whether the Amazon EBS encryption - feature encrypts the host's root volume for both data at - rest within the volume and for data moving between the volume - and the deployment. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Flag that indicates whether the Amazon + EBS encryption feature encrypts the host's root volume for + both data at rest within the volume and for data moving + between the volume and the deployment. type: boolean instanceSizeName: - description: Atlas provides different deployment tiers, each - with a default storage capacity and RAM size. The deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Atlas provides different deployment tiers, + each with a default storage capacity and RAM size. The deployment you select is used for all the data-bearing hosts in your deployment tier. type: string @@ -566,13 +567,14 @@ spec: - SERVERLESS type: string regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency for clients - accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string volumeType: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED @@ -654,22 +656,20 @@ spec: your applications use to connect to this cluster. properties: private: - description: Network-peering-endpoint-aware mongodb:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. + description: |- + Network-peering-endpoint-aware mongodb:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. type: string privateEndpoint: - description: Private endpoint connection strings. Each object - describes the connection strings you can use to connect to this - cluster through a private endpoint. Atlas returns this parameter - only if you deployed a private endpoint to all regions to which - you deployed this cluster's nodes. + description: |- + Private endpoint connection strings. + Each object describes the connection strings you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. items: - description: PrivateEndpoint connection strings. Each object - describes the connection strings you can use to connect to - this cluster through a private endpoint. Atlas returns this - parameter only if you deployed a private endpoint to all regions + description: |- + PrivateEndpoint connection strings. Each object describes the connection strings + you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. properties: connectionString: @@ -705,18 +705,25 @@ spec: string for this private endpoint. type: string type: - description: "Type of MongoDB process that you connect to - with the connection strings \n Atlas returns: \n • MONGOD - for replica sets, or \n • MONGOS for sharded clusters" + description: |- + Type of MongoDB process that you connect to with the connection strings + + + Atlas returns: + + + • MONGOD for replica sets, or + + + • MONGOS for sharded clusters type: string type: object type: array privateSrv: - description: Network-peering-endpoint-aware mongodb+srv:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. Use this URI format - if your driver supports it. If it doesn't, use connectionStrings.private. + description: |- + Network-peering-endpoint-aware mongodb+srv:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. + Use this URI format if your driver supports it. If it doesn't, use connectionStrings.private. type: string standard: description: Public mongodb:// connection string for this cluster. @@ -768,15 +775,14 @@ spec: runs, in . format. type: string mongoURIUpdated: - description: MongoURIUpdated is a timestamp in ISO 8601 date and time - format in UTC when the connection string was last updated. The connection - string changes if you update any of the other values. + description: |- + MongoURIUpdated is a timestamp in ISO 8601 date and time format in UTC when the connection string was last updated. + The connection string changes if you update any of the other values. type: string observedGeneration: - 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. + 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. format: int64 type: integer replicaSets: @@ -835,8 +841,9 @@ spec: type: object type: array stateName: - description: 'StateName is the current state of the cluster. The possible - states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING' + description: |- + StateName is the current state of the cluster. + The possible states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING type: string required: - conditions diff --git a/bundle/manifests/atlas.mongodb.com_atlasfederatedauths.yaml b/bundle/manifests/atlas.mongodb.com_atlasfederatedauths.yaml index db75750f90..8b600200fa 100644 --- a/bundle/manifests/atlas.mongodb.com_atlasfederatedauths.yaml +++ b/bundle/manifests/atlas.mongodb.com_atlasfederatedauths.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 + controller-gen.kubebuilder.io/version: v0.14.0 creationTimestamp: null labels: app.kubernetes.io/component: controller @@ -24,22 +24,28 @@ spec: description: AtlasFederatedAuth is the Schema for the Atlasfederatedauth API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: properties: connectionSecretRef: - description: Connection secret with API credentials for configuring - the federation. These credentials must have OrganizationOwner permissions. + description: |- + Connection secret with API credentials for configuring the federation. + These credentials must have OrganizationOwner permissions. properties: name: description: Name is the name of the Kubernetes Resource @@ -58,10 +64,10 @@ spec: type: array domainRestrictionEnabled: default: false - description: Prevent users in the federation from accessing organizations - outside of the federation, and creating new organizations. This - option applies to the entire federation. See more information at - https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation + description: |- + Prevent users in the federation from accessing organizations outside of the federation, and creating new organizations. + This option applies to the entire federation. + See more information at https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation type: boolean enabled: default: false @@ -159,10 +165,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: diff --git a/bundle/manifests/atlas.mongodb.com_atlasprojects.yaml b/bundle/manifests/atlas.mongodb.com_atlasprojects.yaml index 8ce5f23898..32cb403abb 100644 --- a/bundle/manifests/atlas.mongodb.com_atlasprojects.yaml +++ b/bundle/manifests/atlas.mongodb.com_atlasprojects.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 + controller-gen.kubebuilder.io/version: v0.14.0 creationTimestamp: null labels: app.kubernetes.io/component: controller @@ -28,14 +28,19 @@ spec: description: AtlasProject is the Schema for the atlasprojects API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -44,11 +49,10 @@ spec: Atlas properties: alertConfigurationSyncEnabled: - description: AlertConfigurationSyncEnabled is a flag that enables/disables - Alert Configurations sync for the current Project. If true - project - alert configurations will be synced according to AlertConfigurations. - If not - alert configurations will not be modified by the operator. - They can be managed through API, cli, UI. + description: |- + AlertConfigurationSyncEnabled is a flag that enables/disables Alert Configurations sync for the current Project. + If true - project alert configurations will be synced according to AlertConfigurations. + If not - alert configurations will not be modified by the operator. They can be managed through API, cli, UI. type: boolean alertConfigurations: description: AlertConfiguration is a list of Alert Configurations @@ -308,13 +312,13 @@ spec: type: boolean type: object cloudProviderAccessRoles: - description: 'CloudProviderAccessRoles is a list of Cloud Provider - Access Roles configured for the current Project. Deprecated: This - configuration was deprecated in favor of CloudProviderIntegrations' + description: |- + CloudProviderAccessRoles is a list of Cloud Provider Access Roles configured for the current Project. + Deprecated: This configuration was deprecated in favor of CloudProviderIntegrations items: - description: 'CloudProviderAccessRole define an integration to a - cloud provider Deprecated: This type is deprecated in favor of - CloudProviderIntegration' + description: |- + CloudProviderAccessRole define an integration to a cloud provider + Deprecated: This type is deprecated in favor of CloudProviderIntegration properties: iamAssumedRoleArn: description: IamAssumedRoleArn is the ARN of the IAM role that @@ -348,10 +352,9 @@ spec: type: object type: array connectionSecretRef: - description: ConnectionSecret is the name of the Kubernetes Secret - which contains the information about the way to connect to Atlas - (organization ID, API keys). The default Operator connection configuration - will be used if not provided. + description: |- + ConnectionSecret is the name of the Kubernetes Secret which contains the information about the way to connect to + Atlas (organization ID, API keys). The default Operator connection configuration will be used if not provided. properties: name: description: Name is the name of the Kubernetes Resource @@ -687,37 +690,37 @@ spec: type: object type: array maintenanceWindow: - description: MaintenanceWindow allows to specify a preferred time - in the week to run maintenance operations. See more information - at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ + description: |- + MaintenanceWindow allows to specify a preferred time in the week to run maintenance operations. See more + information at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ properties: autoDefer: description: Flag indicating whether any scheduled project maintenance should be deferred automatically for one week. type: boolean dayOfWeek: - description: Day of the week when you would like the maintenance - window to start as a 1-based integer. Sunday 1, Monday 2, Tuesday - 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 + description: |- + Day of the week when you would like the maintenance window to start as a 1-based integer. + Sunday 1, Monday 2, Tuesday 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 maximum: 7 minimum: 1 type: integer defer: - description: Flag indicating whether the next scheduled project - maintenance should be deferred for one week. Cannot be specified - if startASAP is true + description: |- + Flag indicating whether the next scheduled project maintenance should be deferred for one week. + Cannot be specified if startASAP is true type: boolean hourOfDay: - description: Hour of the day when you would like the maintenance - window to start. This parameter uses the 24-hour clock, where - midnight is 0, noon is 12. + description: |- + Hour of the day when you would like the maintenance window to start. + This parameter uses the 24-hour clock, where midnight is 0, noon is 12. maximum: 23 minimum: 0 type: integer startASAP: - description: Flag indicating whether project maintenance has been - directed to start immediately. Cannot be specified if defer - is true + description: |- + Flag indicating whether project maintenance has been directed to start immediately. + Cannot be specified if defer is true type: boolean type: object name: @@ -841,8 +844,9 @@ spec: type: object type: array projectIpAccessList: - 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/ + 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/ items: properties: awsSecurityGroup: @@ -867,10 +871,10 @@ spec: type: array regionUsageRestrictions: default: NONE - description: RegionUsageRestrictions designate the project's AWS region - when using Atlas for Government. This parameter should not be used - with commercial Atlas. In Atlas for Government, not setting this - field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY + description: |- + RegionUsageRestrictions designate the project's AWS region when using Atlas for Government. + This parameter should not be used with commercial Atlas. + In Atlas for Government, not setting this field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY enum: - NONE - GOV_REGIONS_ONLY @@ -1229,10 +1233,10 @@ spec: type: object type: array authModes: - description: AuthModes contains a list of configured authentication - modes "SCRAM" is default authentication method and requires a password - for each user "X509" signifies that self-managed X.509 authentication - is configured + description: |- + AuthModes contains a list of configured authentication modes + "SCRAM" is default authentication method and requires a password for each user + "X509" signifies that self-managed X.509 authentication is configured items: type: string type: array @@ -1323,10 +1327,9 @@ spec: type: object type: array expiredIpAccessList: - description: The list of IP Access List entries that are expired due - to 'deleteAfterDate' being less than the current date. Note, that - this field is updated by the Atlas Operator only after specification - changes + description: |- + The list of IP Access List entries that are expired due to 'deleteAfterDate' being less than the current date. + Note, that this field is updated by the Atlas Operator only after specification changes items: properties: awsSecurityGroup: @@ -1408,9 +1411,9 @@ spec: AWS. type: string vpc: - description: VPC is general purpose field for storing the name - of the VPC. VPC is vpcID for AWS, user networkName for GCP, - and vnetName for Azure. + description: |- + VPC is general purpose field for storing the name of the VPC. + VPC is vpcID for AWS, user networkName for GCP, and vnetName for Azure. type: string required: - id @@ -1419,10 +1422,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer privateEndpoints: @@ -1484,7 +1486,8 @@ spec: type: object type: array prometheus: - description: Prometheus contains the status for Prometheus integration + description: |- + Prometheus contains the status for Prometheus integration including the prometheusDiscoveryURL properties: prometheusDiscoveryURL: diff --git a/bundle/manifests/atlas.mongodb.com_atlasteams.yaml b/bundle/manifests/atlas.mongodb.com_atlasteams.yaml index 94bd2d1ba9..12fa15de8d 100644 --- a/bundle/manifests/atlas.mongodb.com_atlasteams.yaml +++ b/bundle/manifests/atlas.mongodb.com_atlasteams.yaml @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 + controller-gen.kubebuilder.io/version: v0.14.0 creationTimestamp: null labels: app.kubernetes.io/component: controller @@ -28,14 +28,19 @@ spec: description: AtlasTeam is the Schema for the Atlas Teams API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -91,10 +96,9 @@ spec: description: ID of the team type: string observedGeneration: - 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. + 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. format: int64 type: integer projects: diff --git a/bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml b/bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml index 25b73a2c17..85b03b6e7f 100644 --- a/bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml +++ b/bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml @@ -168,6 +168,7 @@ metadata: ] capabilities: Full Lifecycle categories: Database + createdAt: "2024-04-12T11:52:34Z" description: The MongoDB Atlas Kubernetes Operator enables easy management of Clusters in MongoDB Atlas features.operators.openshift.io/disconnected: "false" features.operators.openshift.io/fips-compliant: "false" @@ -176,14 +177,14 @@ metadata: features.operators.openshift.io/token-auth-aws: "false" features.operators.openshift.io/token-auth-azure: "false" features.operators.openshift.io/token-auth-gcp: "false" - operators.operatorframework.io/builder: operator-sdk-v1.15.0+git - operators.operatorframework.io/project_layout: go.kubebuilder.io/v2 - containerImage: mongodb/mongodb-atlas-kubernetes-operator:2.2.0 + operators.operatorframework.io/builder: operator-sdk-v1.34.1 + operators.operatorframework.io/project_layout: go.kubebuilder.io/v4 + containerImage: mongodb/mongodb-atlas-kubernetes-operator:2.2.1 labels: operatorframework.io/arch.amd64: supported operatorframework.io/arch.arm64: supported operatorframework.io/os.linux: supported - name: mongodb-atlas-kubernetes.v2.2.0 + name: mongodb-atlas-kubernetes.v2.2.1 namespace: placeholder spec: apiservicedefinitions: {} @@ -443,7 +444,11 @@ spec: - update serviceAccountName: mongodb-atlas-operator deployments: - - name: mongodb-atlas-operator + - label: + app.kubernetes.io/component: controller + app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator + app.kubernetes.io/name: mongodb-atlas-kubernetes-operator + name: mongodb-atlas-operator spec: replicas: 1 selector: @@ -482,7 +487,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.annotations['olm.targetNamespaces'] - image: mongodb/mongodb-atlas-kubernetes-operator:2.2.0 + image: mongodb/mongodb-atlas-kubernetes-operator:2.2.1 imagePullPolicy: Always livenessProbe: httpGet: @@ -499,11 +504,10 @@ spec: periodSeconds: 10 resources: limits: - cpu: 500m - memory: 256Mi + memory: 1Gi requests: cpu: 100m - memory: 50Mi + memory: 256Mi securityContext: allowPrivilegeEscalation: false serviceAccountName: mongodb-atlas-operator @@ -567,5 +571,5 @@ spec: maturity: beta provider: name: MongoDB, Inc - version: 2.2.0 - replaces: mongodb-atlas-kubernetes.v2.1.0 + version: 2.2.1 + replaces: mongodb-atlas-kubernetes.v2.2.0 diff --git a/bundle/metadata/annotations.yaml b/bundle/metadata/annotations.yaml index dae31a6cbe..371b1baa7d 100644 --- a/bundle/metadata/annotations.yaml +++ b/bundle/metadata/annotations.yaml @@ -6,9 +6,9 @@ annotations: operators.operatorframework.io.bundle.package.v1: mongodb-atlas-kubernetes operators.operatorframework.io.bundle.channels.v1: stable operators.operatorframework.io.bundle.channel.default.v1: stable - operators.operatorframework.io.metrics.builder: operator-sdk-v1.15.0+git + operators.operatorframework.io.metrics.builder: operator-sdk-v1.34.1 operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 - operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v2 + operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v4 # Annotations for testing. operators.operatorframework.io.test.mediatype.v1: scorecard+v1 diff --git a/deploy/all-in-one.yaml b/deploy/all-in-one.yaml index 20f33e78c0..6f213ddc5a 100644 --- a/deploy/all-in-one.yaml +++ b/deploy/all-in-one.yaml @@ -11,8 +11,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 labels: app.kubernetes.io/component: controller app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator @@ -33,14 +32,19 @@ spec: description: AtlasBackupPolicy is the Schema for the atlasbackuppolicies API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -52,11 +56,9 @@ spec: items: properties: frequencyInterval: - description: Desired frequency of the new backup policy item - specified by FrequencyType. A value of 1 specifies the first - instance of the corresponding FrequencyType. The only accepted - value you can set for frequency interval with NVMe clusters - is 12. + description: |- + Desired frequency of the new backup policy item specified by FrequencyType. A value of 1 specifies the first instance of the corresponding FrequencyType. + The only accepted value you can set for frequency interval with NVMe clusters is 12. enum: - 1 - 2 @@ -160,10 +162,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -179,8 +180,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 labels: app.kubernetes.io/component: controller app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator @@ -202,14 +202,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -355,10 +360,9 @@ spec: type: string type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -374,8 +378,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 labels: app.kubernetes.io/component: controller app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator @@ -400,14 +403,19 @@ spec: description: AtlasDatabaseUser is the Schema for the Atlas Database User API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -417,10 +425,11 @@ spec: properties: awsIamType: default: NONE - description: Human-readable label that indicates whether the new database - user authenticates with the Amazon Web Services (AWS) Identity and - Access Management (IAM) credentials associated with the user or - the user's role + description: |- + Human-readable label that indicates whether the new database + user authenticates with the Amazon Web Services (AWS) + Identity and Access Management (IAM) credentials associated with + the user or the user's role enum: - NONE - USER @@ -432,14 +441,14 @@ spec: the user. Default value is 'admin'. type: string deleteAfterDate: - description: DeleteAfterDate is a timestamp in ISO 8601 date and time - format in UTC after which Atlas deletes the user. The specified - date must be in the future and within one week. + description: |- + DeleteAfterDate is a timestamp in ISO 8601 date and time format in UTC after which Atlas deletes the user. + The specified date must be in the future and within one week. type: string labels: - description: Labels is an array containing key-value pairs that tag - and categorize the database user. Each key and value has a maximum - length of 255 characters. + description: |- + Labels is an array containing key-value pairs that tag and categorize the database user. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -456,9 +465,11 @@ spec: type: array oidcAuthType: default: NONE - description: Human-readable label that indicates whether the new database - Username with OIDC federated authentication. To create a federated - authentication user, specify the value of IDP_GROUP for this field + description: |- + Human-readable label that indicates whether the new database Username + with OIDC federated authentication. + To create a federated authentication user, specify the value + of IDP_GROUP for this field enum: - NONE - IDP_GROUP @@ -487,21 +498,21 @@ spec: - name type: object roles: - description: Roles is an array of this user's roles and the databases - / collections on which the roles apply. A role allows the user to - perform particular actions on the specified database. + description: |- + Roles is an array of this user's roles and the databases / collections on which the roles apply. A role allows + the user to perform particular actions on the specified database. items: - description: RoleSpec allows the user to perform particular actions - on the specified database. A role on the admin database can include - privileges that apply to the other databases as well. + description: |- + RoleSpec allows the user to perform particular actions on the specified database. + A role on the admin database can include privileges that apply to the other databases as well. properties: collectionName: description: CollectionName is a collection for which the role applies. type: string databaseName: - description: DatabaseName is a database on which the user has - the specified role. A role on the admin database can include + description: |- + DatabaseName is a database on which the user has the specified role. A role on the admin database can include privileges that apply to the other databases. type: string roleName: @@ -518,11 +529,10 @@ spec: description: Scopes is an array of clusters and Atlas Data Lakes that this user has access to. items: - description: ScopeSpec if present a database user only have access - to the indicated resource (Cluster or Atlas Data Lake) if none - is given then it has access to all. It's highly recommended to - restrict the access of the database users only to a limited set - of resources. + description: |- + ScopeSpec if present a database user only have access to the indicated resource (Cluster or Atlas Data Lake) + if none is given then it has access to all. + It's highly recommended to restrict the access of the database users only to a limited set of resources. properties: name: description: Name is a name of the cluster or Atlas Data Lake @@ -541,12 +551,12 @@ spec: type: object type: array username: - description: 'Username is a username for authenticating to MongoDB - Human-readable label that represents the user that authenticates - to MongoDB. The format of this label depends on the method of authentication: + description: |- + Username is a username for authenticating to MongoDB + Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication: In case of AWS IAM: the value should be AWS ARN for the IAM User/Role; - In case of OIDC: the value should be the Identity Provider ID; In - case of Plain text auth: the value can be anything' + In case of OIDC: the value should be the Identity Provider ID; + In case of Plain text auth: the value can be anything maxLength: 1024 type: string x509Type: @@ -595,10 +605,9 @@ spec: description: UserName is the current name of database user. type: string observedGeneration: - 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. + 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. format: int64 type: integer passwordVersion: @@ -618,8 +627,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 labels: app.kubernetes.io/component: controller app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator @@ -645,14 +653,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -855,10 +868,9 @@ spec: runs, in . format. type: string observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -874,8 +886,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 labels: app.kubernetes.io/component: controller app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator @@ -896,21 +907,26 @@ spec: description: AtlasDeployment is the Schema for the atlasdeployments API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: AtlasDeploymentSpec defines the desired state of AtlasDeployment - Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec - should be defined + description: |- + AtlasDeploymentSpec defines the desired state of AtlasDeployment + Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec should be defined properties: backupRef: description: Backup schedule for the AtlasDeployment @@ -929,13 +945,14 @@ spec: https://www.mongodb.com/docs/atlas/reference/api/clusters/ properties: backupEnabled: - description: Applicable only for M10+ deployments. Flag that indicates - if the deployment uses Cloud Backups for backups. + description: |- + Applicable only for M10+ deployments. + Flag that indicates if the deployment uses Cloud Backups for backups. type: boolean biConnector: - description: Configuration of BI Connector for Atlas on this deployment. - The MongoDB Connector for Business Intelligence for Atlas (BI - Connector) is only available for M10 and larger deployments. + description: |- + Configuration of BI Connector for Atlas on this deployment. + The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger deployments. properties: enabled: description: Flag that indicates whether or not BI Connector @@ -949,9 +966,9 @@ spec: type: string type: object clusterType: - description: Type of the deployment that you want to create. The - parameter is required if replicationSpecs are set or if Global - Deployments are deployed. + description: |- + Type of the deployment that you want to create. + The parameter is required if replicationSpecs are set or if Global Deployments are deployed. enum: - REPLICASET - SHARDED @@ -970,9 +987,10 @@ spec: type: object type: array diskSizeGB: - description: Capacity, in gigabytes, of the host's root volume. - Increase this number to add capacity, up to a maximum possible - value of 4096 (i.e., 4 TB). This value must be a positive integer. + description: |- + Capacity, in gigabytes, of the host's root volume. + Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). + This value must be a positive integer. The parameter is required if replicationSpecs are configured. maximum: 4096 minimum: 0 @@ -987,9 +1005,9 @@ spec: - NONE type: string labels: - description: Collection of key-value pairs that tag and categorize - the deployment. Each key and value has a maximum length of 255 - characters. + description: |- + Collection of key-value pairs that tag and categorize the deployment. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -1034,9 +1052,10 @@ spec: mongoDBVersion: type: string name: - description: Name of the advanced deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the advanced deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string paused: @@ -1052,50 +1071,42 @@ spec: items: properties: numShards: - description: Positive integer that specifies the number - of shards to deploy in each specified zone. If you set - this value to 1 and clusterType is SHARDED, MongoDB Cloud - deploys a single-shard sharded cluster. Don't create a - sharded cluster with a single shard for production environments. - Single-shard sharded clusters don't provide the same benefits - as multi-shard configurations + description: |- + Positive integer that specifies the number of shards to deploy in each specified zone. + If you set this value to 1 and clusterType is SHARDED, MongoDB Cloud deploys a single-shard sharded cluster. + Don't create a sharded cluster with a single shard for production environments. + Single-shard sharded clusters don't provide the same benefits as multi-shard configurations type: integer regionConfigs: - description: Hardware specifications for nodes set for a - given region. Each regionConfigs object describes the - region's priority in elections and the number and type - of MongoDB nodes that MongoDB Cloud deploys to the region. - Each regionConfigs object must have either an analyticsSpecs - object, electableSpecs object, or readOnlySpecs object. - Tenant clusters only require electableSpecs. Dedicated - clusters can specify any of these specifications, but - must have at least one electableSpecs object within a - replicationSpec. Every hardware specification must use - the same instanceSize. + description: |- + Hardware specifications for nodes set for a given region. + Each regionConfigs object describes the region's priority in elections and the number and type of MongoDB nodes that MongoDB Cloud deploys to the region. + Each regionConfigs object must have either an analyticsSpecs object, electableSpecs object, or readOnlySpecs object. + Tenant clusters only require electableSpecs. Dedicated clusters can specify any of these specifications, but must have at least one electableSpecs object within a replicationSpec. + Every hardware specification must use the same instanceSize. items: properties: analyticsSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1145,11 +1156,10 @@ spec: type: object type: object backingProviderName: - description: 'Cloud service provider on which the - host for a multi-tenant deployment is provisioned. - This setting only works when "providerName" : "TENANT" - and "providerSetting.instanceSizeName" : M2 or M5. - Otherwise it should be equal to "providerName" value' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. + Otherwise it should be equal to "providerName" value enum: - AWS - GCP @@ -1158,25 +1168,24 @@ spec: electableSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1184,13 +1193,11 @@ spec: type: integer type: object priority: - description: Precedence is given to this region when - a primary election occurs. If your regionConfigs - has only readOnlySpecs, analyticsSpecs, or both, - set this value to 0. If you have multiple regionConfigs - objects (your cluster is multi-region or multi-cloud), - they must have priorities in descending order. The - highest priority is 7 + description: |- + Precedence is given to this region when a primary election occurs. + If your regionConfigs has only readOnlySpecs, analyticsSpecs, or both, set this value to 0. + If you have multiple regionConfigs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. + The highest priority is 7 type: integer providerName: enum: @@ -1203,25 +1210,24 @@ spec: readOnlySpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1229,9 +1235,9 @@ spec: type: integer type: object regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency - for clients accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string type: object type: array @@ -1327,9 +1333,10 @@ spec: type: boolean type: object name: - description: Name of the serverless deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the serverless deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string privateEndpoints: @@ -1356,13 +1363,15 @@ spec: service provider. properties: autoScaling: - description: Range of instance sizes to which your deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Range of instance sizes to which your deployment can scale. properties: autoIndexingEnabled: - description: 'Deprecated: This flag is not supported anymore. - Flag that indicates whether autopilot mode for Performance - Advisor is enabled. The default is false.' + description: |- + Deprecated: This flag is not supported anymore. + Flag that indicates whether autopilot mode for Performance Advisor is enabled. + The default is false. type: boolean compute: description: Collection of settings that configure how @@ -1397,33 +1406,36 @@ spec: type: boolean type: object backingProviderName: - description: 'Cloud service provider on which the host for - a multi-tenant deployment is provisioned. This setting only - works when "providerSetting.providerName" : "TENANT" and - "providerSetting.instanceSizeName" : M2 or M5.' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerSetting.providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. enum: - AWS - GCP - AZURE type: string diskIOPS: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer diskTypeName: - description: Type of disk if you selected Azure as your cloud - service provider. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Type of disk if you selected Azure as your + cloud service provider. type: string encryptEBSVolume: - description: Flag that indicates whether the Amazon EBS encryption - feature encrypts the host's root volume for both data at - rest within the volume and for data moving between the volume - and the deployment. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Flag that indicates whether the Amazon + EBS encryption feature encrypts the host's root volume for + both data at rest within the volume and for data moving + between the volume and the deployment. type: boolean instanceSizeName: - description: Atlas provides different deployment tiers, each - with a default storage capacity and RAM size. The deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Atlas provides different deployment tiers, + each with a default storage capacity and RAM size. The deployment you select is used for all the data-bearing hosts in your deployment tier. type: string @@ -1438,13 +1450,14 @@ spec: - SERVERLESS type: string regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency for clients - accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string volumeType: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED @@ -1526,22 +1539,20 @@ spec: your applications use to connect to this cluster. properties: private: - description: Network-peering-endpoint-aware mongodb:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. + description: |- + Network-peering-endpoint-aware mongodb:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. type: string privateEndpoint: - description: Private endpoint connection strings. Each object - describes the connection strings you can use to connect to this - cluster through a private endpoint. Atlas returns this parameter - only if you deployed a private endpoint to all regions to which - you deployed this cluster's nodes. + description: |- + Private endpoint connection strings. + Each object describes the connection strings you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. items: - description: PrivateEndpoint connection strings. Each object - describes the connection strings you can use to connect to - this cluster through a private endpoint. Atlas returns this - parameter only if you deployed a private endpoint to all regions + description: |- + PrivateEndpoint connection strings. Each object describes the connection strings + you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. properties: connectionString: @@ -1577,18 +1588,25 @@ spec: string for this private endpoint. type: string type: - description: "Type of MongoDB process that you connect to - with the connection strings \n Atlas returns: \n • MONGOD - for replica sets, or \n • MONGOS for sharded clusters" + description: |- + Type of MongoDB process that you connect to with the connection strings + + + Atlas returns: + + + • MONGOD for replica sets, or + + + • MONGOS for sharded clusters type: string type: object type: array privateSrv: - description: Network-peering-endpoint-aware mongodb+srv:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. Use this URI format - if your driver supports it. If it doesn't, use connectionStrings.private. + description: |- + Network-peering-endpoint-aware mongodb+srv:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. + Use this URI format if your driver supports it. If it doesn't, use connectionStrings.private. type: string standard: description: Public mongodb:// connection string for this cluster. @@ -1640,15 +1658,14 @@ spec: runs, in . format. type: string mongoURIUpdated: - description: MongoURIUpdated is a timestamp in ISO 8601 date and time - format in UTC when the connection string was last updated. The connection - string changes if you update any of the other values. + description: |- + MongoURIUpdated is a timestamp in ISO 8601 date and time format in UTC when the connection string was last updated. + The connection string changes if you update any of the other values. type: string observedGeneration: - 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. + 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. format: int64 type: integer replicaSets: @@ -1707,8 +1724,9 @@ spec: type: object type: array stateName: - description: 'StateName is the current state of the cluster. The possible - states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING' + description: |- + StateName is the current state of the cluster. + The possible states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING type: string required: - conditions @@ -1723,8 +1741,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 labels: app.kubernetes.io/component: controller app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator @@ -1745,22 +1762,28 @@ spec: description: AtlasFederatedAuth is the Schema for the Atlasfederatedauth API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: properties: connectionSecretRef: - description: Connection secret with API credentials for configuring - the federation. These credentials must have OrganizationOwner permissions. + description: |- + Connection secret with API credentials for configuring the federation. + These credentials must have OrganizationOwner permissions. properties: name: description: Name is the name of the Kubernetes Resource @@ -1779,10 +1802,10 @@ spec: type: array domainRestrictionEnabled: default: false - description: Prevent users in the federation from accessing organizations - outside of the federation, and creating new organizations. This - option applies to the entire federation. See more information at - https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation + description: |- + Prevent users in the federation from accessing organizations outside of the federation, and creating new organizations. + This option applies to the entire federation. + See more information at https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation type: boolean enabled: default: false @@ -1880,10 +1903,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -1899,8 +1921,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 labels: app.kubernetes.io/component: controller app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator @@ -1925,14 +1946,19 @@ spec: description: AtlasProject is the Schema for the atlasprojects API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1941,11 +1967,10 @@ spec: Atlas properties: alertConfigurationSyncEnabled: - description: AlertConfigurationSyncEnabled is a flag that enables/disables - Alert Configurations sync for the current Project. If true - project - alert configurations will be synced according to AlertConfigurations. - If not - alert configurations will not be modified by the operator. - They can be managed through API, cli, UI. + description: |- + AlertConfigurationSyncEnabled is a flag that enables/disables Alert Configurations sync for the current Project. + If true - project alert configurations will be synced according to AlertConfigurations. + If not - alert configurations will not be modified by the operator. They can be managed through API, cli, UI. type: boolean alertConfigurations: description: AlertConfiguration is a list of Alert Configurations @@ -2205,13 +2230,13 @@ spec: type: boolean type: object cloudProviderAccessRoles: - description: 'CloudProviderAccessRoles is a list of Cloud Provider - Access Roles configured for the current Project. Deprecated: This - configuration was deprecated in favor of CloudProviderIntegrations' + description: |- + CloudProviderAccessRoles is a list of Cloud Provider Access Roles configured for the current Project. + Deprecated: This configuration was deprecated in favor of CloudProviderIntegrations items: - description: 'CloudProviderAccessRole define an integration to a - cloud provider Deprecated: This type is deprecated in favor of - CloudProviderIntegration' + description: |- + CloudProviderAccessRole define an integration to a cloud provider + Deprecated: This type is deprecated in favor of CloudProviderIntegration properties: iamAssumedRoleArn: description: IamAssumedRoleArn is the ARN of the IAM role that @@ -2245,10 +2270,9 @@ spec: type: object type: array connectionSecretRef: - description: ConnectionSecret is the name of the Kubernetes Secret - which contains the information about the way to connect to Atlas - (organization ID, API keys). The default Operator connection configuration - will be used if not provided. + description: |- + ConnectionSecret is the name of the Kubernetes Secret which contains the information about the way to connect to + Atlas (organization ID, API keys). The default Operator connection configuration will be used if not provided. properties: name: description: Name is the name of the Kubernetes Resource @@ -2584,37 +2608,37 @@ spec: type: object type: array maintenanceWindow: - description: MaintenanceWindow allows to specify a preferred time - in the week to run maintenance operations. See more information - at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ + description: |- + MaintenanceWindow allows to specify a preferred time in the week to run maintenance operations. See more + information at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ properties: autoDefer: description: Flag indicating whether any scheduled project maintenance should be deferred automatically for one week. type: boolean dayOfWeek: - description: Day of the week when you would like the maintenance - window to start as a 1-based integer. Sunday 1, Monday 2, Tuesday - 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 + description: |- + Day of the week when you would like the maintenance window to start as a 1-based integer. + Sunday 1, Monday 2, Tuesday 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 maximum: 7 minimum: 1 type: integer defer: - description: Flag indicating whether the next scheduled project - maintenance should be deferred for one week. Cannot be specified - if startASAP is true + description: |- + Flag indicating whether the next scheduled project maintenance should be deferred for one week. + Cannot be specified if startASAP is true type: boolean hourOfDay: - description: Hour of the day when you would like the maintenance - window to start. This parameter uses the 24-hour clock, where - midnight is 0, noon is 12. + description: |- + Hour of the day when you would like the maintenance window to start. + This parameter uses the 24-hour clock, where midnight is 0, noon is 12. maximum: 23 minimum: 0 type: integer startASAP: - description: Flag indicating whether project maintenance has been - directed to start immediately. Cannot be specified if defer - is true + description: |- + Flag indicating whether project maintenance has been directed to start immediately. + Cannot be specified if defer is true type: boolean type: object name: @@ -2738,8 +2762,9 @@ spec: type: object type: array projectIpAccessList: - 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/ + 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/ items: properties: awsSecurityGroup: @@ -2764,10 +2789,10 @@ spec: type: array regionUsageRestrictions: default: NONE - description: RegionUsageRestrictions designate the project's AWS region - when using Atlas for Government. This parameter should not be used - with commercial Atlas. In Atlas for Government, not setting this - field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY + description: |- + RegionUsageRestrictions designate the project's AWS region when using Atlas for Government. + This parameter should not be used with commercial Atlas. + In Atlas for Government, not setting this field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY enum: - NONE - GOV_REGIONS_ONLY @@ -3126,10 +3151,10 @@ spec: type: object type: array authModes: - description: AuthModes contains a list of configured authentication - modes "SCRAM" is default authentication method and requires a password - for each user "X509" signifies that self-managed X.509 authentication - is configured + description: |- + AuthModes contains a list of configured authentication modes + "SCRAM" is default authentication method and requires a password for each user + "X509" signifies that self-managed X.509 authentication is configured items: type: string type: array @@ -3220,10 +3245,9 @@ spec: type: object type: array expiredIpAccessList: - description: The list of IP Access List entries that are expired due - to 'deleteAfterDate' being less than the current date. Note, that - this field is updated by the Atlas Operator only after specification - changes + description: |- + The list of IP Access List entries that are expired due to 'deleteAfterDate' being less than the current date. + Note, that this field is updated by the Atlas Operator only after specification changes items: properties: awsSecurityGroup: @@ -3305,9 +3329,9 @@ spec: AWS. type: string vpc: - description: VPC is general purpose field for storing the name - of the VPC. VPC is vpcID for AWS, user networkName for GCP, - and vnetName for Azure. + description: |- + VPC is general purpose field for storing the name of the VPC. + VPC is vpcID for AWS, user networkName for GCP, and vnetName for Azure. type: string required: - id @@ -3316,10 +3340,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer privateEndpoints: @@ -3381,7 +3404,8 @@ spec: type: object type: array prometheus: - description: Prometheus contains the status for Prometheus integration + description: |- + Prometheus contains the status for Prometheus integration including the prometheusDiscoveryURL properties: prometheusDiscoveryURL: @@ -3426,8 +3450,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 labels: app.kubernetes.io/component: controller app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator @@ -3452,14 +3475,19 @@ spec: description: AtlasTeam is the Schema for the Atlas Teams API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3515,10 +3543,9 @@ spec: description: ID of the team type: string observedGeneration: - 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. + 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. format: int64 type: integer projects: @@ -3866,7 +3893,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: mongodb/mongodb-atlas-kubernetes-operator:2.2.0 + image: mongodb/mongodb-atlas-kubernetes-operator:2.2.1 imagePullPolicy: Always livenessProbe: httpGet: @@ -3883,11 +3910,10 @@ spec: periodSeconds: 10 resources: limits: - cpu: 500m - memory: 256Mi + memory: 1Gi requests: cpu: 100m - memory: 50Mi + memory: 256Mi securityContext: allowPrivilegeEscalation: false serviceAccountName: mongodb-atlas-operator diff --git a/deploy/clusterwide/clusterwide-config.yaml b/deploy/clusterwide/clusterwide-config.yaml index b4097a2b05..cabae1aec1 100644 --- a/deploy/clusterwide/clusterwide-config.yaml +++ b/deploy/clusterwide/clusterwide-config.yaml @@ -326,7 +326,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: mongodb/mongodb-atlas-kubernetes-operator:2.2.0 + image: mongodb/mongodb-atlas-kubernetes-operator:2.2.1 imagePullPolicy: Always livenessProbe: httpGet: @@ -343,11 +343,10 @@ spec: periodSeconds: 10 resources: limits: - cpu: 500m - memory: 256Mi + memory: 1Gi requests: cpu: 100m - memory: 50Mi + memory: 256Mi securityContext: allowPrivilegeEscalation: false serviceAccountName: mongodb-atlas-operator diff --git a/deploy/clusterwide/crds.yaml b/deploy/clusterwide/crds.yaml index 25ea71faf9..84cb3f44da 100644 --- a/deploy/clusterwide/crds.yaml +++ b/deploy/clusterwide/crds.yaml @@ -2,8 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasbackuppolicies.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -20,14 +19,19 @@ spec: description: AtlasBackupPolicy is the Schema for the atlasbackuppolicies API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -39,11 +43,9 @@ spec: items: properties: frequencyInterval: - description: Desired frequency of the new backup policy item - specified by FrequencyType. A value of 1 specifies the first - instance of the corresponding FrequencyType. The only accepted - value you can set for frequency interval with NVMe clusters - is 12. + description: |- + Desired frequency of the new backup policy item specified by FrequencyType. A value of 1 specifies the first instance of the corresponding FrequencyType. + The only accepted value you can set for frequency interval with NVMe clusters is 12. enum: - 1 - 2 @@ -147,10 +149,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -166,8 +167,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasbackupschedules.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -185,14 +185,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -338,10 +343,9 @@ spec: type: string type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -357,8 +361,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdatabaseusers.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -379,14 +382,19 @@ spec: description: AtlasDatabaseUser is the Schema for the Atlas Database User API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -396,10 +404,11 @@ spec: properties: awsIamType: default: NONE - description: Human-readable label that indicates whether the new database - user authenticates with the Amazon Web Services (AWS) Identity and - Access Management (IAM) credentials associated with the user or - the user's role + description: |- + Human-readable label that indicates whether the new database + user authenticates with the Amazon Web Services (AWS) + Identity and Access Management (IAM) credentials associated with + the user or the user's role enum: - NONE - USER @@ -411,14 +420,14 @@ spec: the user. Default value is 'admin'. type: string deleteAfterDate: - description: DeleteAfterDate is a timestamp in ISO 8601 date and time - format in UTC after which Atlas deletes the user. The specified - date must be in the future and within one week. + description: |- + DeleteAfterDate is a timestamp in ISO 8601 date and time format in UTC after which Atlas deletes the user. + The specified date must be in the future and within one week. type: string labels: - description: Labels is an array containing key-value pairs that tag - and categorize the database user. Each key and value has a maximum - length of 255 characters. + description: |- + Labels is an array containing key-value pairs that tag and categorize the database user. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -435,9 +444,11 @@ spec: type: array oidcAuthType: default: NONE - description: Human-readable label that indicates whether the new database - Username with OIDC federated authentication. To create a federated - authentication user, specify the value of IDP_GROUP for this field + description: |- + Human-readable label that indicates whether the new database Username + with OIDC federated authentication. + To create a federated authentication user, specify the value + of IDP_GROUP for this field enum: - NONE - IDP_GROUP @@ -466,21 +477,21 @@ spec: - name type: object roles: - description: Roles is an array of this user's roles and the databases - / collections on which the roles apply. A role allows the user to - perform particular actions on the specified database. + description: |- + Roles is an array of this user's roles and the databases / collections on which the roles apply. A role allows + the user to perform particular actions on the specified database. items: - description: RoleSpec allows the user to perform particular actions - on the specified database. A role on the admin database can include - privileges that apply to the other databases as well. + description: |- + RoleSpec allows the user to perform particular actions on the specified database. + A role on the admin database can include privileges that apply to the other databases as well. properties: collectionName: description: CollectionName is a collection for which the role applies. type: string databaseName: - description: DatabaseName is a database on which the user has - the specified role. A role on the admin database can include + description: |- + DatabaseName is a database on which the user has the specified role. A role on the admin database can include privileges that apply to the other databases. type: string roleName: @@ -497,11 +508,10 @@ spec: description: Scopes is an array of clusters and Atlas Data Lakes that this user has access to. items: - description: ScopeSpec if present a database user only have access - to the indicated resource (Cluster or Atlas Data Lake) if none - is given then it has access to all. It's highly recommended to - restrict the access of the database users only to a limited set - of resources. + description: |- + ScopeSpec if present a database user only have access to the indicated resource (Cluster or Atlas Data Lake) + if none is given then it has access to all. + It's highly recommended to restrict the access of the database users only to a limited set of resources. properties: name: description: Name is a name of the cluster or Atlas Data Lake @@ -520,12 +530,12 @@ spec: type: object type: array username: - description: 'Username is a username for authenticating to MongoDB - Human-readable label that represents the user that authenticates - to MongoDB. The format of this label depends on the method of authentication: + description: |- + Username is a username for authenticating to MongoDB + Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication: In case of AWS IAM: the value should be AWS ARN for the IAM User/Role; - In case of OIDC: the value should be the Identity Provider ID; In - case of Plain text auth: the value can be anything' + In case of OIDC: the value should be the Identity Provider ID; + In case of Plain text auth: the value can be anything maxLength: 1024 type: string x509Type: @@ -574,10 +584,9 @@ spec: description: UserName is the current name of database user. type: string observedGeneration: - 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. + 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. format: int64 type: integer passwordVersion: @@ -597,8 +606,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdatafederations.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -620,14 +628,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -830,10 +843,9 @@ spec: runs, in . format. type: string observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -849,8 +861,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdeployments.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -867,21 +878,26 @@ spec: description: AtlasDeployment is the Schema for the atlasdeployments API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: AtlasDeploymentSpec defines the desired state of AtlasDeployment - Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec - should be defined + description: |- + AtlasDeploymentSpec defines the desired state of AtlasDeployment + Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec should be defined properties: backupRef: description: Backup schedule for the AtlasDeployment @@ -900,13 +916,14 @@ spec: https://www.mongodb.com/docs/atlas/reference/api/clusters/ properties: backupEnabled: - description: Applicable only for M10+ deployments. Flag that indicates - if the deployment uses Cloud Backups for backups. + description: |- + Applicable only for M10+ deployments. + Flag that indicates if the deployment uses Cloud Backups for backups. type: boolean biConnector: - description: Configuration of BI Connector for Atlas on this deployment. - The MongoDB Connector for Business Intelligence for Atlas (BI - Connector) is only available for M10 and larger deployments. + description: |- + Configuration of BI Connector for Atlas on this deployment. + The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger deployments. properties: enabled: description: Flag that indicates whether or not BI Connector @@ -920,9 +937,9 @@ spec: type: string type: object clusterType: - description: Type of the deployment that you want to create. The - parameter is required if replicationSpecs are set or if Global - Deployments are deployed. + description: |- + Type of the deployment that you want to create. + The parameter is required if replicationSpecs are set or if Global Deployments are deployed. enum: - REPLICASET - SHARDED @@ -941,9 +958,10 @@ spec: type: object type: array diskSizeGB: - description: Capacity, in gigabytes, of the host's root volume. - Increase this number to add capacity, up to a maximum possible - value of 4096 (i.e., 4 TB). This value must be a positive integer. + description: |- + Capacity, in gigabytes, of the host's root volume. + Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). + This value must be a positive integer. The parameter is required if replicationSpecs are configured. maximum: 4096 minimum: 0 @@ -958,9 +976,9 @@ spec: - NONE type: string labels: - description: Collection of key-value pairs that tag and categorize - the deployment. Each key and value has a maximum length of 255 - characters. + description: |- + Collection of key-value pairs that tag and categorize the deployment. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -1005,9 +1023,10 @@ spec: mongoDBVersion: type: string name: - description: Name of the advanced deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the advanced deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string paused: @@ -1023,50 +1042,42 @@ spec: items: properties: numShards: - description: Positive integer that specifies the number - of shards to deploy in each specified zone. If you set - this value to 1 and clusterType is SHARDED, MongoDB Cloud - deploys a single-shard sharded cluster. Don't create a - sharded cluster with a single shard for production environments. - Single-shard sharded clusters don't provide the same benefits - as multi-shard configurations + description: |- + Positive integer that specifies the number of shards to deploy in each specified zone. + If you set this value to 1 and clusterType is SHARDED, MongoDB Cloud deploys a single-shard sharded cluster. + Don't create a sharded cluster with a single shard for production environments. + Single-shard sharded clusters don't provide the same benefits as multi-shard configurations type: integer regionConfigs: - description: Hardware specifications for nodes set for a - given region. Each regionConfigs object describes the - region's priority in elections and the number and type - of MongoDB nodes that MongoDB Cloud deploys to the region. - Each regionConfigs object must have either an analyticsSpecs - object, electableSpecs object, or readOnlySpecs object. - Tenant clusters only require electableSpecs. Dedicated - clusters can specify any of these specifications, but - must have at least one electableSpecs object within a - replicationSpec. Every hardware specification must use - the same instanceSize. + description: |- + Hardware specifications for nodes set for a given region. + Each regionConfigs object describes the region's priority in elections and the number and type of MongoDB nodes that MongoDB Cloud deploys to the region. + Each regionConfigs object must have either an analyticsSpecs object, electableSpecs object, or readOnlySpecs object. + Tenant clusters only require electableSpecs. Dedicated clusters can specify any of these specifications, but must have at least one electableSpecs object within a replicationSpec. + Every hardware specification must use the same instanceSize. items: properties: analyticsSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1116,11 +1127,10 @@ spec: type: object type: object backingProviderName: - description: 'Cloud service provider on which the - host for a multi-tenant deployment is provisioned. - This setting only works when "providerName" : "TENANT" - and "providerSetting.instanceSizeName" : M2 or M5. - Otherwise it should be equal to "providerName" value' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. + Otherwise it should be equal to "providerName" value enum: - AWS - GCP @@ -1129,25 +1139,24 @@ spec: electableSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1155,13 +1164,11 @@ spec: type: integer type: object priority: - description: Precedence is given to this region when - a primary election occurs. If your regionConfigs - has only readOnlySpecs, analyticsSpecs, or both, - set this value to 0. If you have multiple regionConfigs - objects (your cluster is multi-region or multi-cloud), - they must have priorities in descending order. The - highest priority is 7 + description: |- + Precedence is given to this region when a primary election occurs. + If your regionConfigs has only readOnlySpecs, analyticsSpecs, or both, set this value to 0. + If you have multiple regionConfigs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. + The highest priority is 7 type: integer providerName: enum: @@ -1174,25 +1181,24 @@ spec: readOnlySpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1200,9 +1206,9 @@ spec: type: integer type: object regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency - for clients accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string type: object type: array @@ -1298,9 +1304,10 @@ spec: type: boolean type: object name: - description: Name of the serverless deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the serverless deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string privateEndpoints: @@ -1327,13 +1334,15 @@ spec: service provider. properties: autoScaling: - description: Range of instance sizes to which your deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Range of instance sizes to which your deployment can scale. properties: autoIndexingEnabled: - description: 'Deprecated: This flag is not supported anymore. - Flag that indicates whether autopilot mode for Performance - Advisor is enabled. The default is false.' + description: |- + Deprecated: This flag is not supported anymore. + Flag that indicates whether autopilot mode for Performance Advisor is enabled. + The default is false. type: boolean compute: description: Collection of settings that configure how @@ -1368,33 +1377,36 @@ spec: type: boolean type: object backingProviderName: - description: 'Cloud service provider on which the host for - a multi-tenant deployment is provisioned. This setting only - works when "providerSetting.providerName" : "TENANT" and - "providerSetting.instanceSizeName" : M2 or M5.' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerSetting.providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. enum: - AWS - GCP - AZURE type: string diskIOPS: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer diskTypeName: - description: Type of disk if you selected Azure as your cloud - service provider. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Type of disk if you selected Azure as your + cloud service provider. type: string encryptEBSVolume: - description: Flag that indicates whether the Amazon EBS encryption - feature encrypts the host's root volume for both data at - rest within the volume and for data moving between the volume - and the deployment. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Flag that indicates whether the Amazon + EBS encryption feature encrypts the host's root volume for + both data at rest within the volume and for data moving + between the volume and the deployment. type: boolean instanceSizeName: - description: Atlas provides different deployment tiers, each - with a default storage capacity and RAM size. The deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Atlas provides different deployment tiers, + each with a default storage capacity and RAM size. The deployment you select is used for all the data-bearing hosts in your deployment tier. type: string @@ -1409,13 +1421,14 @@ spec: - SERVERLESS type: string regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency for clients - accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string volumeType: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED @@ -1497,22 +1510,20 @@ spec: your applications use to connect to this cluster. properties: private: - description: Network-peering-endpoint-aware mongodb:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. + description: |- + Network-peering-endpoint-aware mongodb:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. type: string privateEndpoint: - description: Private endpoint connection strings. Each object - describes the connection strings you can use to connect to this - cluster through a private endpoint. Atlas returns this parameter - only if you deployed a private endpoint to all regions to which - you deployed this cluster's nodes. + description: |- + Private endpoint connection strings. + Each object describes the connection strings you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. items: - description: PrivateEndpoint connection strings. Each object - describes the connection strings you can use to connect to - this cluster through a private endpoint. Atlas returns this - parameter only if you deployed a private endpoint to all regions + description: |- + PrivateEndpoint connection strings. Each object describes the connection strings + you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. properties: connectionString: @@ -1548,18 +1559,25 @@ spec: string for this private endpoint. type: string type: - description: "Type of MongoDB process that you connect to - with the connection strings \n Atlas returns: \n • MONGOD - for replica sets, or \n • MONGOS for sharded clusters" + description: |- + Type of MongoDB process that you connect to with the connection strings + + + Atlas returns: + + + • MONGOD for replica sets, or + + + • MONGOS for sharded clusters type: string type: object type: array privateSrv: - description: Network-peering-endpoint-aware mongodb+srv:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. Use this URI format - if your driver supports it. If it doesn't, use connectionStrings.private. + description: |- + Network-peering-endpoint-aware mongodb+srv:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. + Use this URI format if your driver supports it. If it doesn't, use connectionStrings.private. type: string standard: description: Public mongodb:// connection string for this cluster. @@ -1611,15 +1629,14 @@ spec: runs, in . format. type: string mongoURIUpdated: - description: MongoURIUpdated is a timestamp in ISO 8601 date and time - format in UTC when the connection string was last updated. The connection - string changes if you update any of the other values. + description: |- + MongoURIUpdated is a timestamp in ISO 8601 date and time format in UTC when the connection string was last updated. + The connection string changes if you update any of the other values. type: string observedGeneration: - 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. + 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. format: int64 type: integer replicaSets: @@ -1678,8 +1695,9 @@ spec: type: object type: array stateName: - description: 'StateName is the current state of the cluster. The possible - states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING' + description: |- + StateName is the current state of the cluster. + The possible states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING type: string required: - conditions @@ -1694,8 +1712,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasfederatedauths.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -1712,22 +1729,28 @@ spec: description: AtlasFederatedAuth is the Schema for the Atlasfederatedauth API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: properties: connectionSecretRef: - description: Connection secret with API credentials for configuring - the federation. These credentials must have OrganizationOwner permissions. + description: |- + Connection secret with API credentials for configuring the federation. + These credentials must have OrganizationOwner permissions. properties: name: description: Name is the name of the Kubernetes Resource @@ -1746,10 +1769,10 @@ spec: type: array domainRestrictionEnabled: default: false - description: Prevent users in the federation from accessing organizations - outside of the federation, and creating new organizations. This - option applies to the entire federation. See more information at - https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation + description: |- + Prevent users in the federation from accessing organizations outside of the federation, and creating new organizations. + This option applies to the entire federation. + See more information at https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation type: boolean enabled: default: false @@ -1847,10 +1870,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -1866,8 +1888,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasprojects.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -1888,14 +1909,19 @@ spec: description: AtlasProject is the Schema for the atlasprojects API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1904,11 +1930,10 @@ spec: Atlas properties: alertConfigurationSyncEnabled: - description: AlertConfigurationSyncEnabled is a flag that enables/disables - Alert Configurations sync for the current Project. If true - project - alert configurations will be synced according to AlertConfigurations. - If not - alert configurations will not be modified by the operator. - They can be managed through API, cli, UI. + description: |- + AlertConfigurationSyncEnabled is a flag that enables/disables Alert Configurations sync for the current Project. + If true - project alert configurations will be synced according to AlertConfigurations. + If not - alert configurations will not be modified by the operator. They can be managed through API, cli, UI. type: boolean alertConfigurations: description: AlertConfiguration is a list of Alert Configurations @@ -2168,13 +2193,13 @@ spec: type: boolean type: object cloudProviderAccessRoles: - description: 'CloudProviderAccessRoles is a list of Cloud Provider - Access Roles configured for the current Project. Deprecated: This - configuration was deprecated in favor of CloudProviderIntegrations' + description: |- + CloudProviderAccessRoles is a list of Cloud Provider Access Roles configured for the current Project. + Deprecated: This configuration was deprecated in favor of CloudProviderIntegrations items: - description: 'CloudProviderAccessRole define an integration to a - cloud provider Deprecated: This type is deprecated in favor of - CloudProviderIntegration' + description: |- + CloudProviderAccessRole define an integration to a cloud provider + Deprecated: This type is deprecated in favor of CloudProviderIntegration properties: iamAssumedRoleArn: description: IamAssumedRoleArn is the ARN of the IAM role that @@ -2208,10 +2233,9 @@ spec: type: object type: array connectionSecretRef: - description: ConnectionSecret is the name of the Kubernetes Secret - which contains the information about the way to connect to Atlas - (organization ID, API keys). The default Operator connection configuration - will be used if not provided. + description: |- + ConnectionSecret is the name of the Kubernetes Secret which contains the information about the way to connect to + Atlas (organization ID, API keys). The default Operator connection configuration will be used if not provided. properties: name: description: Name is the name of the Kubernetes Resource @@ -2547,37 +2571,37 @@ spec: type: object type: array maintenanceWindow: - description: MaintenanceWindow allows to specify a preferred time - in the week to run maintenance operations. See more information - at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ + description: |- + MaintenanceWindow allows to specify a preferred time in the week to run maintenance operations. See more + information at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ properties: autoDefer: description: Flag indicating whether any scheduled project maintenance should be deferred automatically for one week. type: boolean dayOfWeek: - description: Day of the week when you would like the maintenance - window to start as a 1-based integer. Sunday 1, Monday 2, Tuesday - 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 + description: |- + Day of the week when you would like the maintenance window to start as a 1-based integer. + Sunday 1, Monday 2, Tuesday 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 maximum: 7 minimum: 1 type: integer defer: - description: Flag indicating whether the next scheduled project - maintenance should be deferred for one week. Cannot be specified - if startASAP is true + description: |- + Flag indicating whether the next scheduled project maintenance should be deferred for one week. + Cannot be specified if startASAP is true type: boolean hourOfDay: - description: Hour of the day when you would like the maintenance - window to start. This parameter uses the 24-hour clock, where - midnight is 0, noon is 12. + description: |- + Hour of the day when you would like the maintenance window to start. + This parameter uses the 24-hour clock, where midnight is 0, noon is 12. maximum: 23 minimum: 0 type: integer startASAP: - description: Flag indicating whether project maintenance has been - directed to start immediately. Cannot be specified if defer - is true + description: |- + Flag indicating whether project maintenance has been directed to start immediately. + Cannot be specified if defer is true type: boolean type: object name: @@ -2701,8 +2725,9 @@ spec: type: object type: array projectIpAccessList: - 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/ + 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/ items: properties: awsSecurityGroup: @@ -2727,10 +2752,10 @@ spec: type: array regionUsageRestrictions: default: NONE - description: RegionUsageRestrictions designate the project's AWS region - when using Atlas for Government. This parameter should not be used - with commercial Atlas. In Atlas for Government, not setting this - field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY + description: |- + RegionUsageRestrictions designate the project's AWS region when using Atlas for Government. + This parameter should not be used with commercial Atlas. + In Atlas for Government, not setting this field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY enum: - NONE - GOV_REGIONS_ONLY @@ -3089,10 +3114,10 @@ spec: type: object type: array authModes: - description: AuthModes contains a list of configured authentication - modes "SCRAM" is default authentication method and requires a password - for each user "X509" signifies that self-managed X.509 authentication - is configured + description: |- + AuthModes contains a list of configured authentication modes + "SCRAM" is default authentication method and requires a password for each user + "X509" signifies that self-managed X.509 authentication is configured items: type: string type: array @@ -3183,10 +3208,9 @@ spec: type: object type: array expiredIpAccessList: - description: The list of IP Access List entries that are expired due - to 'deleteAfterDate' being less than the current date. Note, that - this field is updated by the Atlas Operator only after specification - changes + description: |- + The list of IP Access List entries that are expired due to 'deleteAfterDate' being less than the current date. + Note, that this field is updated by the Atlas Operator only after specification changes items: properties: awsSecurityGroup: @@ -3268,9 +3292,9 @@ spec: AWS. type: string vpc: - description: VPC is general purpose field for storing the name - of the VPC. VPC is vpcID for AWS, user networkName for GCP, - and vnetName for Azure. + description: |- + VPC is general purpose field for storing the name of the VPC. + VPC is vpcID for AWS, user networkName for GCP, and vnetName for Azure. type: string required: - id @@ -3279,10 +3303,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer privateEndpoints: @@ -3344,7 +3367,8 @@ spec: type: object type: array prometheus: - description: Prometheus contains the status for Prometheus integration + description: |- + Prometheus contains the status for Prometheus integration including the prometheusDiscoveryURL properties: prometheusDiscoveryURL: @@ -3389,8 +3413,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasteams.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -3411,14 +3434,19 @@ spec: description: AtlasTeam is the Schema for the Atlas Teams API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3474,10 +3502,9 @@ spec: description: ID of the team type: string observedGeneration: - 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. + 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. format: int64 type: integer projects: diff --git a/deploy/crds/atlas.mongodb.com_atlasbackuppolicies.yaml b/deploy/crds/atlas.mongodb.com_atlasbackuppolicies.yaml index 8e568e4062..bfbb576e1c 100644 --- a/deploy/crds/atlas.mongodb.com_atlasbackuppolicies.yaml +++ b/deploy/crds/atlas.mongodb.com_atlasbackuppolicies.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasbackuppolicies.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -21,14 +20,19 @@ spec: description: AtlasBackupPolicy is the Schema for the atlasbackuppolicies API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -40,11 +44,9 @@ spec: items: properties: frequencyInterval: - description: Desired frequency of the new backup policy item - specified by FrequencyType. A value of 1 specifies the first - instance of the corresponding FrequencyType. The only accepted - value you can set for frequency interval with NVMe clusters - is 12. + description: |- + Desired frequency of the new backup policy item specified by FrequencyType. A value of 1 specifies the first instance of the corresponding FrequencyType. + The only accepted value you can set for frequency interval with NVMe clusters is 12. enum: - 1 - 2 @@ -148,10 +150,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: diff --git a/deploy/crds/atlas.mongodb.com_atlasbackupschedules.yaml b/deploy/crds/atlas.mongodb.com_atlasbackupschedules.yaml index 7f282f935e..99c8a28668 100644 --- a/deploy/crds/atlas.mongodb.com_atlasbackupschedules.yaml +++ b/deploy/crds/atlas.mongodb.com_atlasbackupschedules.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasbackupschedules.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -22,14 +21,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -175,10 +179,9 @@ spec: type: string type: array observedGeneration: - 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. + 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. format: int64 type: integer required: diff --git a/deploy/crds/atlas.mongodb.com_atlasdatabaseusers.yaml b/deploy/crds/atlas.mongodb.com_atlasdatabaseusers.yaml index f56c5a0553..f1df6a2ab3 100644 --- a/deploy/crds/atlas.mongodb.com_atlasdatabaseusers.yaml +++ b/deploy/crds/atlas.mongodb.com_atlasdatabaseusers.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdatabaseusers.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -25,14 +24,19 @@ spec: description: AtlasDatabaseUser is the Schema for the Atlas Database User API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -42,10 +46,11 @@ spec: properties: awsIamType: default: NONE - description: Human-readable label that indicates whether the new database - user authenticates with the Amazon Web Services (AWS) Identity and - Access Management (IAM) credentials associated with the user or - the user's role + description: |- + Human-readable label that indicates whether the new database + user authenticates with the Amazon Web Services (AWS) + Identity and Access Management (IAM) credentials associated with + the user or the user's role enum: - NONE - USER @@ -57,14 +62,14 @@ spec: the user. Default value is 'admin'. type: string deleteAfterDate: - description: DeleteAfterDate is a timestamp in ISO 8601 date and time - format in UTC after which Atlas deletes the user. The specified - date must be in the future and within one week. + description: |- + DeleteAfterDate is a timestamp in ISO 8601 date and time format in UTC after which Atlas deletes the user. + The specified date must be in the future and within one week. type: string labels: - description: Labels is an array containing key-value pairs that tag - and categorize the database user. Each key and value has a maximum - length of 255 characters. + description: |- + Labels is an array containing key-value pairs that tag and categorize the database user. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -81,9 +86,11 @@ spec: type: array oidcAuthType: default: NONE - description: Human-readable label that indicates whether the new database - Username with OIDC federated authentication. To create a federated - authentication user, specify the value of IDP_GROUP for this field + description: |- + Human-readable label that indicates whether the new database Username + with OIDC federated authentication. + To create a federated authentication user, specify the value + of IDP_GROUP for this field enum: - NONE - IDP_GROUP @@ -112,21 +119,21 @@ spec: - name type: object roles: - description: Roles is an array of this user's roles and the databases - / collections on which the roles apply. A role allows the user to - perform particular actions on the specified database. + description: |- + Roles is an array of this user's roles and the databases / collections on which the roles apply. A role allows + the user to perform particular actions on the specified database. items: - description: RoleSpec allows the user to perform particular actions - on the specified database. A role on the admin database can include - privileges that apply to the other databases as well. + description: |- + RoleSpec allows the user to perform particular actions on the specified database. + A role on the admin database can include privileges that apply to the other databases as well. properties: collectionName: description: CollectionName is a collection for which the role applies. type: string databaseName: - description: DatabaseName is a database on which the user has - the specified role. A role on the admin database can include + description: |- + DatabaseName is a database on which the user has the specified role. A role on the admin database can include privileges that apply to the other databases. type: string roleName: @@ -143,11 +150,10 @@ spec: description: Scopes is an array of clusters and Atlas Data Lakes that this user has access to. items: - description: ScopeSpec if present a database user only have access - to the indicated resource (Cluster or Atlas Data Lake) if none - is given then it has access to all. It's highly recommended to - restrict the access of the database users only to a limited set - of resources. + description: |- + ScopeSpec if present a database user only have access to the indicated resource (Cluster or Atlas Data Lake) + if none is given then it has access to all. + It's highly recommended to restrict the access of the database users only to a limited set of resources. properties: name: description: Name is a name of the cluster or Atlas Data Lake @@ -166,12 +172,12 @@ spec: type: object type: array username: - description: 'Username is a username for authenticating to MongoDB - Human-readable label that represents the user that authenticates - to MongoDB. The format of this label depends on the method of authentication: + description: |- + Username is a username for authenticating to MongoDB + Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication: In case of AWS IAM: the value should be AWS ARN for the IAM User/Role; - In case of OIDC: the value should be the Identity Provider ID; In - case of Plain text auth: the value can be anything' + In case of OIDC: the value should be the Identity Provider ID; + In case of Plain text auth: the value can be anything maxLength: 1024 type: string x509Type: @@ -220,10 +226,9 @@ spec: description: UserName is the current name of database user. type: string observedGeneration: - 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. + 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. format: int64 type: integer passwordVersion: diff --git a/deploy/crds/atlas.mongodb.com_atlasdatafederations.yaml b/deploy/crds/atlas.mongodb.com_atlasdatafederations.yaml index a9921bee07..28dad0ddc2 100644 --- a/deploy/crds/atlas.mongodb.com_atlasdatafederations.yaml +++ b/deploy/crds/atlas.mongodb.com_atlasdatafederations.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdatafederations.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -26,14 +25,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -236,10 +240,9 @@ spec: runs, in . format. type: string observedGeneration: - 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. + 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. format: int64 type: integer required: diff --git a/deploy/crds/atlas.mongodb.com_atlasdeployments.yaml b/deploy/crds/atlas.mongodb.com_atlasdeployments.yaml index a887df9c19..1b3128bf4e 100644 --- a/deploy/crds/atlas.mongodb.com_atlasdeployments.yaml +++ b/deploy/crds/atlas.mongodb.com_atlasdeployments.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdeployments.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -21,21 +20,26 @@ spec: description: AtlasDeployment is the Schema for the atlasdeployments API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: AtlasDeploymentSpec defines the desired state of AtlasDeployment - Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec - should be defined + description: |- + AtlasDeploymentSpec defines the desired state of AtlasDeployment + Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec should be defined properties: backupRef: description: Backup schedule for the AtlasDeployment @@ -54,13 +58,14 @@ spec: https://www.mongodb.com/docs/atlas/reference/api/clusters/ properties: backupEnabled: - description: Applicable only for M10+ deployments. Flag that indicates - if the deployment uses Cloud Backups for backups. + description: |- + Applicable only for M10+ deployments. + Flag that indicates if the deployment uses Cloud Backups for backups. type: boolean biConnector: - description: Configuration of BI Connector for Atlas on this deployment. - The MongoDB Connector for Business Intelligence for Atlas (BI - Connector) is only available for M10 and larger deployments. + description: |- + Configuration of BI Connector for Atlas on this deployment. + The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger deployments. properties: enabled: description: Flag that indicates whether or not BI Connector @@ -74,9 +79,9 @@ spec: type: string type: object clusterType: - description: Type of the deployment that you want to create. The - parameter is required if replicationSpecs are set or if Global - Deployments are deployed. + description: |- + Type of the deployment that you want to create. + The parameter is required if replicationSpecs are set or if Global Deployments are deployed. enum: - REPLICASET - SHARDED @@ -95,9 +100,10 @@ spec: type: object type: array diskSizeGB: - description: Capacity, in gigabytes, of the host's root volume. - Increase this number to add capacity, up to a maximum possible - value of 4096 (i.e., 4 TB). This value must be a positive integer. + description: |- + Capacity, in gigabytes, of the host's root volume. + Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). + This value must be a positive integer. The parameter is required if replicationSpecs are configured. maximum: 4096 minimum: 0 @@ -112,9 +118,9 @@ spec: - NONE type: string labels: - description: Collection of key-value pairs that tag and categorize - the deployment. Each key and value has a maximum length of 255 - characters. + description: |- + Collection of key-value pairs that tag and categorize the deployment. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -159,9 +165,10 @@ spec: mongoDBVersion: type: string name: - description: Name of the advanced deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the advanced deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string paused: @@ -177,50 +184,42 @@ spec: items: properties: numShards: - description: Positive integer that specifies the number - of shards to deploy in each specified zone. If you set - this value to 1 and clusterType is SHARDED, MongoDB Cloud - deploys a single-shard sharded cluster. Don't create a - sharded cluster with a single shard for production environments. - Single-shard sharded clusters don't provide the same benefits - as multi-shard configurations + description: |- + Positive integer that specifies the number of shards to deploy in each specified zone. + If you set this value to 1 and clusterType is SHARDED, MongoDB Cloud deploys a single-shard sharded cluster. + Don't create a sharded cluster with a single shard for production environments. + Single-shard sharded clusters don't provide the same benefits as multi-shard configurations type: integer regionConfigs: - description: Hardware specifications for nodes set for a - given region. Each regionConfigs object describes the - region's priority in elections and the number and type - of MongoDB nodes that MongoDB Cloud deploys to the region. - Each regionConfigs object must have either an analyticsSpecs - object, electableSpecs object, or readOnlySpecs object. - Tenant clusters only require electableSpecs. Dedicated - clusters can specify any of these specifications, but - must have at least one electableSpecs object within a - replicationSpec. Every hardware specification must use - the same instanceSize. + description: |- + Hardware specifications for nodes set for a given region. + Each regionConfigs object describes the region's priority in elections and the number and type of MongoDB nodes that MongoDB Cloud deploys to the region. + Each regionConfigs object must have either an analyticsSpecs object, electableSpecs object, or readOnlySpecs object. + Tenant clusters only require electableSpecs. Dedicated clusters can specify any of these specifications, but must have at least one electableSpecs object within a replicationSpec. + Every hardware specification must use the same instanceSize. items: properties: analyticsSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -270,11 +269,10 @@ spec: type: object type: object backingProviderName: - description: 'Cloud service provider on which the - host for a multi-tenant deployment is provisioned. - This setting only works when "providerName" : "TENANT" - and "providerSetting.instanceSizeName" : M2 or M5. - Otherwise it should be equal to "providerName" value' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. + Otherwise it should be equal to "providerName" value enum: - AWS - GCP @@ -283,25 +281,24 @@ spec: electableSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -309,13 +306,11 @@ spec: type: integer type: object priority: - description: Precedence is given to this region when - a primary election occurs. If your regionConfigs - has only readOnlySpecs, analyticsSpecs, or both, - set this value to 0. If you have multiple regionConfigs - objects (your cluster is multi-region or multi-cloud), - they must have priorities in descending order. The - highest priority is 7 + description: |- + Precedence is given to this region when a primary election occurs. + If your regionConfigs has only readOnlySpecs, analyticsSpecs, or both, set this value to 0. + If you have multiple regionConfigs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. + The highest priority is 7 type: integer providerName: enum: @@ -328,25 +323,24 @@ spec: readOnlySpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -354,9 +348,9 @@ spec: type: integer type: object regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency - for clients accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string type: object type: array @@ -452,9 +446,10 @@ spec: type: boolean type: object name: - description: Name of the serverless deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the serverless deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string privateEndpoints: @@ -481,13 +476,15 @@ spec: service provider. properties: autoScaling: - description: Range of instance sizes to which your deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Range of instance sizes to which your deployment can scale. properties: autoIndexingEnabled: - description: 'Deprecated: This flag is not supported anymore. - Flag that indicates whether autopilot mode for Performance - Advisor is enabled. The default is false.' + description: |- + Deprecated: This flag is not supported anymore. + Flag that indicates whether autopilot mode for Performance Advisor is enabled. + The default is false. type: boolean compute: description: Collection of settings that configure how @@ -522,33 +519,36 @@ spec: type: boolean type: object backingProviderName: - description: 'Cloud service provider on which the host for - a multi-tenant deployment is provisioned. This setting only - works when "providerSetting.providerName" : "TENANT" and - "providerSetting.instanceSizeName" : M2 or M5.' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerSetting.providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. enum: - AWS - GCP - AZURE type: string diskIOPS: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer diskTypeName: - description: Type of disk if you selected Azure as your cloud - service provider. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Type of disk if you selected Azure as your + cloud service provider. type: string encryptEBSVolume: - description: Flag that indicates whether the Amazon EBS encryption - feature encrypts the host's root volume for both data at - rest within the volume and for data moving between the volume - and the deployment. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Flag that indicates whether the Amazon + EBS encryption feature encrypts the host's root volume for + both data at rest within the volume and for data moving + between the volume and the deployment. type: boolean instanceSizeName: - description: Atlas provides different deployment tiers, each - with a default storage capacity and RAM size. The deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Atlas provides different deployment tiers, + each with a default storage capacity and RAM size. The deployment you select is used for all the data-bearing hosts in your deployment tier. type: string @@ -563,13 +563,14 @@ spec: - SERVERLESS type: string regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency for clients - accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string volumeType: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED @@ -651,22 +652,20 @@ spec: your applications use to connect to this cluster. properties: private: - description: Network-peering-endpoint-aware mongodb:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. + description: |- + Network-peering-endpoint-aware mongodb:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. type: string privateEndpoint: - description: Private endpoint connection strings. Each object - describes the connection strings you can use to connect to this - cluster through a private endpoint. Atlas returns this parameter - only if you deployed a private endpoint to all regions to which - you deployed this cluster's nodes. + description: |- + Private endpoint connection strings. + Each object describes the connection strings you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. items: - description: PrivateEndpoint connection strings. Each object - describes the connection strings you can use to connect to - this cluster through a private endpoint. Atlas returns this - parameter only if you deployed a private endpoint to all regions + description: |- + PrivateEndpoint connection strings. Each object describes the connection strings + you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. properties: connectionString: @@ -702,18 +701,25 @@ spec: string for this private endpoint. type: string type: - description: "Type of MongoDB process that you connect to - with the connection strings \n Atlas returns: \n • MONGOD - for replica sets, or \n • MONGOS for sharded clusters" + description: |- + Type of MongoDB process that you connect to with the connection strings + + + Atlas returns: + + + • MONGOD for replica sets, or + + + • MONGOS for sharded clusters type: string type: object type: array privateSrv: - description: Network-peering-endpoint-aware mongodb+srv:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. Use this URI format - if your driver supports it. If it doesn't, use connectionStrings.private. + description: |- + Network-peering-endpoint-aware mongodb+srv:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. + Use this URI format if your driver supports it. If it doesn't, use connectionStrings.private. type: string standard: description: Public mongodb:// connection string for this cluster. @@ -765,15 +771,14 @@ spec: runs, in . format. type: string mongoURIUpdated: - description: MongoURIUpdated is a timestamp in ISO 8601 date and time - format in UTC when the connection string was last updated. The connection - string changes if you update any of the other values. + description: |- + MongoURIUpdated is a timestamp in ISO 8601 date and time format in UTC when the connection string was last updated. + The connection string changes if you update any of the other values. type: string observedGeneration: - 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. + 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. format: int64 type: integer replicaSets: @@ -832,8 +837,9 @@ spec: type: object type: array stateName: - description: 'StateName is the current state of the cluster. The possible - states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING' + description: |- + StateName is the current state of the cluster. + The possible states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING type: string required: - conditions diff --git a/deploy/crds/atlas.mongodb.com_atlasfederatedauths.yaml b/deploy/crds/atlas.mongodb.com_atlasfederatedauths.yaml index 0c0679f166..b7a094aa2e 100644 --- a/deploy/crds/atlas.mongodb.com_atlasfederatedauths.yaml +++ b/deploy/crds/atlas.mongodb.com_atlasfederatedauths.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasfederatedauths.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -21,22 +20,28 @@ spec: description: AtlasFederatedAuth is the Schema for the Atlasfederatedauth API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: properties: connectionSecretRef: - description: Connection secret with API credentials for configuring - the federation. These credentials must have OrganizationOwner permissions. + description: |- + Connection secret with API credentials for configuring the federation. + These credentials must have OrganizationOwner permissions. properties: name: description: Name is the name of the Kubernetes Resource @@ -55,10 +60,10 @@ spec: type: array domainRestrictionEnabled: default: false - description: Prevent users in the federation from accessing organizations - outside of the federation, and creating new organizations. This - option applies to the entire federation. See more information at - https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation + description: |- + Prevent users in the federation from accessing organizations outside of the federation, and creating new organizations. + This option applies to the entire federation. + See more information at https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation type: boolean enabled: default: false @@ -156,10 +161,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: diff --git a/deploy/crds/atlas.mongodb.com_atlasprojects.yaml b/deploy/crds/atlas.mongodb.com_atlasprojects.yaml index e30fb227ce..c4b70eaa54 100644 --- a/deploy/crds/atlas.mongodb.com_atlasprojects.yaml +++ b/deploy/crds/atlas.mongodb.com_atlasprojects.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasprojects.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -25,14 +24,19 @@ spec: description: AtlasProject is the Schema for the atlasprojects API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -41,11 +45,10 @@ spec: Atlas properties: alertConfigurationSyncEnabled: - description: AlertConfigurationSyncEnabled is a flag that enables/disables - Alert Configurations sync for the current Project. If true - project - alert configurations will be synced according to AlertConfigurations. - If not - alert configurations will not be modified by the operator. - They can be managed through API, cli, UI. + description: |- + AlertConfigurationSyncEnabled is a flag that enables/disables Alert Configurations sync for the current Project. + If true - project alert configurations will be synced according to AlertConfigurations. + If not - alert configurations will not be modified by the operator. They can be managed through API, cli, UI. type: boolean alertConfigurations: description: AlertConfiguration is a list of Alert Configurations @@ -305,13 +308,13 @@ spec: type: boolean type: object cloudProviderAccessRoles: - description: 'CloudProviderAccessRoles is a list of Cloud Provider - Access Roles configured for the current Project. Deprecated: This - configuration was deprecated in favor of CloudProviderIntegrations' + description: |- + CloudProviderAccessRoles is a list of Cloud Provider Access Roles configured for the current Project. + Deprecated: This configuration was deprecated in favor of CloudProviderIntegrations items: - description: 'CloudProviderAccessRole define an integration to a - cloud provider Deprecated: This type is deprecated in favor of - CloudProviderIntegration' + description: |- + CloudProviderAccessRole define an integration to a cloud provider + Deprecated: This type is deprecated in favor of CloudProviderIntegration properties: iamAssumedRoleArn: description: IamAssumedRoleArn is the ARN of the IAM role that @@ -345,10 +348,9 @@ spec: type: object type: array connectionSecretRef: - description: ConnectionSecret is the name of the Kubernetes Secret - which contains the information about the way to connect to Atlas - (organization ID, API keys). The default Operator connection configuration - will be used if not provided. + description: |- + ConnectionSecret is the name of the Kubernetes Secret which contains the information about the way to connect to + Atlas (organization ID, API keys). The default Operator connection configuration will be used if not provided. properties: name: description: Name is the name of the Kubernetes Resource @@ -684,37 +686,37 @@ spec: type: object type: array maintenanceWindow: - description: MaintenanceWindow allows to specify a preferred time - in the week to run maintenance operations. See more information - at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ + description: |- + MaintenanceWindow allows to specify a preferred time in the week to run maintenance operations. See more + information at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ properties: autoDefer: description: Flag indicating whether any scheduled project maintenance should be deferred automatically for one week. type: boolean dayOfWeek: - description: Day of the week when you would like the maintenance - window to start as a 1-based integer. Sunday 1, Monday 2, Tuesday - 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 + description: |- + Day of the week when you would like the maintenance window to start as a 1-based integer. + Sunday 1, Monday 2, Tuesday 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 maximum: 7 minimum: 1 type: integer defer: - description: Flag indicating whether the next scheduled project - maintenance should be deferred for one week. Cannot be specified - if startASAP is true + description: |- + Flag indicating whether the next scheduled project maintenance should be deferred for one week. + Cannot be specified if startASAP is true type: boolean hourOfDay: - description: Hour of the day when you would like the maintenance - window to start. This parameter uses the 24-hour clock, where - midnight is 0, noon is 12. + description: |- + Hour of the day when you would like the maintenance window to start. + This parameter uses the 24-hour clock, where midnight is 0, noon is 12. maximum: 23 minimum: 0 type: integer startASAP: - description: Flag indicating whether project maintenance has been - directed to start immediately. Cannot be specified if defer - is true + description: |- + Flag indicating whether project maintenance has been directed to start immediately. + Cannot be specified if defer is true type: boolean type: object name: @@ -838,8 +840,9 @@ spec: type: object type: array projectIpAccessList: - 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/ + 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/ items: properties: awsSecurityGroup: @@ -864,10 +867,10 @@ spec: type: array regionUsageRestrictions: default: NONE - description: RegionUsageRestrictions designate the project's AWS region - when using Atlas for Government. This parameter should not be used - with commercial Atlas. In Atlas for Government, not setting this - field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY + description: |- + RegionUsageRestrictions designate the project's AWS region when using Atlas for Government. + This parameter should not be used with commercial Atlas. + In Atlas for Government, not setting this field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY enum: - NONE - GOV_REGIONS_ONLY @@ -1226,10 +1229,10 @@ spec: type: object type: array authModes: - description: AuthModes contains a list of configured authentication - modes "SCRAM" is default authentication method and requires a password - for each user "X509" signifies that self-managed X.509 authentication - is configured + description: |- + AuthModes contains a list of configured authentication modes + "SCRAM" is default authentication method and requires a password for each user + "X509" signifies that self-managed X.509 authentication is configured items: type: string type: array @@ -1320,10 +1323,9 @@ spec: type: object type: array expiredIpAccessList: - description: The list of IP Access List entries that are expired due - to 'deleteAfterDate' being less than the current date. Note, that - this field is updated by the Atlas Operator only after specification - changes + description: |- + The list of IP Access List entries that are expired due to 'deleteAfterDate' being less than the current date. + Note, that this field is updated by the Atlas Operator only after specification changes items: properties: awsSecurityGroup: @@ -1405,9 +1407,9 @@ spec: AWS. type: string vpc: - description: VPC is general purpose field for storing the name - of the VPC. VPC is vpcID for AWS, user networkName for GCP, - and vnetName for Azure. + description: |- + VPC is general purpose field for storing the name of the VPC. + VPC is vpcID for AWS, user networkName for GCP, and vnetName for Azure. type: string required: - id @@ -1416,10 +1418,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer privateEndpoints: @@ -1481,7 +1482,8 @@ spec: type: object type: array prometheus: - description: Prometheus contains the status for Prometheus integration + description: |- + Prometheus contains the status for Prometheus integration including the prometheusDiscoveryURL properties: prometheusDiscoveryURL: diff --git a/deploy/crds/atlas.mongodb.com_atlasteams.yaml b/deploy/crds/atlas.mongodb.com_atlasteams.yaml index 96ef0cc199..dbc83dd757 100644 --- a/deploy/crds/atlas.mongodb.com_atlasteams.yaml +++ b/deploy/crds/atlas.mongodb.com_atlasteams.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasteams.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -25,14 +24,19 @@ spec: description: AtlasTeam is the Schema for the Atlas Teams API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -88,10 +92,9 @@ spec: description: ID of the team type: string observedGeneration: - 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. + 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. format: int64 type: integer projects: diff --git a/deploy/namespaced/crds.yaml b/deploy/namespaced/crds.yaml index 25ea71faf9..84cb3f44da 100644 --- a/deploy/namespaced/crds.yaml +++ b/deploy/namespaced/crds.yaml @@ -2,8 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasbackuppolicies.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -20,14 +19,19 @@ spec: description: AtlasBackupPolicy is the Schema for the atlasbackuppolicies API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -39,11 +43,9 @@ spec: items: properties: frequencyInterval: - description: Desired frequency of the new backup policy item - specified by FrequencyType. A value of 1 specifies the first - instance of the corresponding FrequencyType. The only accepted - value you can set for frequency interval with NVMe clusters - is 12. + description: |- + Desired frequency of the new backup policy item specified by FrequencyType. A value of 1 specifies the first instance of the corresponding FrequencyType. + The only accepted value you can set for frequency interval with NVMe clusters is 12. enum: - 1 - 2 @@ -147,10 +149,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -166,8 +167,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasbackupschedules.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -185,14 +185,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -338,10 +343,9 @@ spec: type: string type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -357,8 +361,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdatabaseusers.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -379,14 +382,19 @@ spec: description: AtlasDatabaseUser is the Schema for the Atlas Database User API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -396,10 +404,11 @@ spec: properties: awsIamType: default: NONE - description: Human-readable label that indicates whether the new database - user authenticates with the Amazon Web Services (AWS) Identity and - Access Management (IAM) credentials associated with the user or - the user's role + description: |- + Human-readable label that indicates whether the new database + user authenticates with the Amazon Web Services (AWS) + Identity and Access Management (IAM) credentials associated with + the user or the user's role enum: - NONE - USER @@ -411,14 +420,14 @@ spec: the user. Default value is 'admin'. type: string deleteAfterDate: - description: DeleteAfterDate is a timestamp in ISO 8601 date and time - format in UTC after which Atlas deletes the user. The specified - date must be in the future and within one week. + description: |- + DeleteAfterDate is a timestamp in ISO 8601 date and time format in UTC after which Atlas deletes the user. + The specified date must be in the future and within one week. type: string labels: - description: Labels is an array containing key-value pairs that tag - and categorize the database user. Each key and value has a maximum - length of 255 characters. + description: |- + Labels is an array containing key-value pairs that tag and categorize the database user. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -435,9 +444,11 @@ spec: type: array oidcAuthType: default: NONE - description: Human-readable label that indicates whether the new database - Username with OIDC federated authentication. To create a federated - authentication user, specify the value of IDP_GROUP for this field + description: |- + Human-readable label that indicates whether the new database Username + with OIDC federated authentication. + To create a federated authentication user, specify the value + of IDP_GROUP for this field enum: - NONE - IDP_GROUP @@ -466,21 +477,21 @@ spec: - name type: object roles: - description: Roles is an array of this user's roles and the databases - / collections on which the roles apply. A role allows the user to - perform particular actions on the specified database. + description: |- + Roles is an array of this user's roles and the databases / collections on which the roles apply. A role allows + the user to perform particular actions on the specified database. items: - description: RoleSpec allows the user to perform particular actions - on the specified database. A role on the admin database can include - privileges that apply to the other databases as well. + description: |- + RoleSpec allows the user to perform particular actions on the specified database. + A role on the admin database can include privileges that apply to the other databases as well. properties: collectionName: description: CollectionName is a collection for which the role applies. type: string databaseName: - description: DatabaseName is a database on which the user has - the specified role. A role on the admin database can include + description: |- + DatabaseName is a database on which the user has the specified role. A role on the admin database can include privileges that apply to the other databases. type: string roleName: @@ -497,11 +508,10 @@ spec: description: Scopes is an array of clusters and Atlas Data Lakes that this user has access to. items: - description: ScopeSpec if present a database user only have access - to the indicated resource (Cluster or Atlas Data Lake) if none - is given then it has access to all. It's highly recommended to - restrict the access of the database users only to a limited set - of resources. + description: |- + ScopeSpec if present a database user only have access to the indicated resource (Cluster or Atlas Data Lake) + if none is given then it has access to all. + It's highly recommended to restrict the access of the database users only to a limited set of resources. properties: name: description: Name is a name of the cluster or Atlas Data Lake @@ -520,12 +530,12 @@ spec: type: object type: array username: - description: 'Username is a username for authenticating to MongoDB - Human-readable label that represents the user that authenticates - to MongoDB. The format of this label depends on the method of authentication: + description: |- + Username is a username for authenticating to MongoDB + Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication: In case of AWS IAM: the value should be AWS ARN for the IAM User/Role; - In case of OIDC: the value should be the Identity Provider ID; In - case of Plain text auth: the value can be anything' + In case of OIDC: the value should be the Identity Provider ID; + In case of Plain text auth: the value can be anything maxLength: 1024 type: string x509Type: @@ -574,10 +584,9 @@ spec: description: UserName is the current name of database user. type: string observedGeneration: - 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. + 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. format: int64 type: integer passwordVersion: @@ -597,8 +606,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdatafederations.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -620,14 +628,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -830,10 +843,9 @@ spec: runs, in . format. type: string observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -849,8 +861,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdeployments.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -867,21 +878,26 @@ spec: description: AtlasDeployment is the Schema for the atlasdeployments API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: AtlasDeploymentSpec defines the desired state of AtlasDeployment - Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec - should be defined + description: |- + AtlasDeploymentSpec defines the desired state of AtlasDeployment + Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec should be defined properties: backupRef: description: Backup schedule for the AtlasDeployment @@ -900,13 +916,14 @@ spec: https://www.mongodb.com/docs/atlas/reference/api/clusters/ properties: backupEnabled: - description: Applicable only for M10+ deployments. Flag that indicates - if the deployment uses Cloud Backups for backups. + description: |- + Applicable only for M10+ deployments. + Flag that indicates if the deployment uses Cloud Backups for backups. type: boolean biConnector: - description: Configuration of BI Connector for Atlas on this deployment. - The MongoDB Connector for Business Intelligence for Atlas (BI - Connector) is only available for M10 and larger deployments. + description: |- + Configuration of BI Connector for Atlas on this deployment. + The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger deployments. properties: enabled: description: Flag that indicates whether or not BI Connector @@ -920,9 +937,9 @@ spec: type: string type: object clusterType: - description: Type of the deployment that you want to create. The - parameter is required if replicationSpecs are set or if Global - Deployments are deployed. + description: |- + Type of the deployment that you want to create. + The parameter is required if replicationSpecs are set or if Global Deployments are deployed. enum: - REPLICASET - SHARDED @@ -941,9 +958,10 @@ spec: type: object type: array diskSizeGB: - description: Capacity, in gigabytes, of the host's root volume. - Increase this number to add capacity, up to a maximum possible - value of 4096 (i.e., 4 TB). This value must be a positive integer. + description: |- + Capacity, in gigabytes, of the host's root volume. + Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). + This value must be a positive integer. The parameter is required if replicationSpecs are configured. maximum: 4096 minimum: 0 @@ -958,9 +976,9 @@ spec: - NONE type: string labels: - description: Collection of key-value pairs that tag and categorize - the deployment. Each key and value has a maximum length of 255 - characters. + description: |- + Collection of key-value pairs that tag and categorize the deployment. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -1005,9 +1023,10 @@ spec: mongoDBVersion: type: string name: - description: Name of the advanced deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the advanced deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string paused: @@ -1023,50 +1042,42 @@ spec: items: properties: numShards: - description: Positive integer that specifies the number - of shards to deploy in each specified zone. If you set - this value to 1 and clusterType is SHARDED, MongoDB Cloud - deploys a single-shard sharded cluster. Don't create a - sharded cluster with a single shard for production environments. - Single-shard sharded clusters don't provide the same benefits - as multi-shard configurations + description: |- + Positive integer that specifies the number of shards to deploy in each specified zone. + If you set this value to 1 and clusterType is SHARDED, MongoDB Cloud deploys a single-shard sharded cluster. + Don't create a sharded cluster with a single shard for production environments. + Single-shard sharded clusters don't provide the same benefits as multi-shard configurations type: integer regionConfigs: - description: Hardware specifications for nodes set for a - given region. Each regionConfigs object describes the - region's priority in elections and the number and type - of MongoDB nodes that MongoDB Cloud deploys to the region. - Each regionConfigs object must have either an analyticsSpecs - object, electableSpecs object, or readOnlySpecs object. - Tenant clusters only require electableSpecs. Dedicated - clusters can specify any of these specifications, but - must have at least one electableSpecs object within a - replicationSpec. Every hardware specification must use - the same instanceSize. + description: |- + Hardware specifications for nodes set for a given region. + Each regionConfigs object describes the region's priority in elections and the number and type of MongoDB nodes that MongoDB Cloud deploys to the region. + Each regionConfigs object must have either an analyticsSpecs object, electableSpecs object, or readOnlySpecs object. + Tenant clusters only require electableSpecs. Dedicated clusters can specify any of these specifications, but must have at least one electableSpecs object within a replicationSpec. + Every hardware specification must use the same instanceSize. items: properties: analyticsSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1116,11 +1127,10 @@ spec: type: object type: object backingProviderName: - description: 'Cloud service provider on which the - host for a multi-tenant deployment is provisioned. - This setting only works when "providerName" : "TENANT" - and "providerSetting.instanceSizeName" : M2 or M5. - Otherwise it should be equal to "providerName" value' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. + Otherwise it should be equal to "providerName" value enum: - AWS - GCP @@ -1129,25 +1139,24 @@ spec: electableSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1155,13 +1164,11 @@ spec: type: integer type: object priority: - description: Precedence is given to this region when - a primary election occurs. If your regionConfigs - has only readOnlySpecs, analyticsSpecs, or both, - set this value to 0. If you have multiple regionConfigs - objects (your cluster is multi-region or multi-cloud), - they must have priorities in descending order. The - highest priority is 7 + description: |- + Precedence is given to this region when a primary election occurs. + If your regionConfigs has only readOnlySpecs, analyticsSpecs, or both, set this value to 0. + If you have multiple regionConfigs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. + The highest priority is 7 type: integer providerName: enum: @@ -1174,25 +1181,24 @@ spec: readOnlySpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1200,9 +1206,9 @@ spec: type: integer type: object regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency - for clients accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string type: object type: array @@ -1298,9 +1304,10 @@ spec: type: boolean type: object name: - description: Name of the serverless deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the serverless deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string privateEndpoints: @@ -1327,13 +1334,15 @@ spec: service provider. properties: autoScaling: - description: Range of instance sizes to which your deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Range of instance sizes to which your deployment can scale. properties: autoIndexingEnabled: - description: 'Deprecated: This flag is not supported anymore. - Flag that indicates whether autopilot mode for Performance - Advisor is enabled. The default is false.' + description: |- + Deprecated: This flag is not supported anymore. + Flag that indicates whether autopilot mode for Performance Advisor is enabled. + The default is false. type: boolean compute: description: Collection of settings that configure how @@ -1368,33 +1377,36 @@ spec: type: boolean type: object backingProviderName: - description: 'Cloud service provider on which the host for - a multi-tenant deployment is provisioned. This setting only - works when "providerSetting.providerName" : "TENANT" and - "providerSetting.instanceSizeName" : M2 or M5.' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerSetting.providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. enum: - AWS - GCP - AZURE type: string diskIOPS: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer diskTypeName: - description: Type of disk if you selected Azure as your cloud - service provider. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Type of disk if you selected Azure as your + cloud service provider. type: string encryptEBSVolume: - description: Flag that indicates whether the Amazon EBS encryption - feature encrypts the host's root volume for both data at - rest within the volume and for data moving between the volume - and the deployment. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Flag that indicates whether the Amazon + EBS encryption feature encrypts the host's root volume for + both data at rest within the volume and for data moving + between the volume and the deployment. type: boolean instanceSizeName: - description: Atlas provides different deployment tiers, each - with a default storage capacity and RAM size. The deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Atlas provides different deployment tiers, + each with a default storage capacity and RAM size. The deployment you select is used for all the data-bearing hosts in your deployment tier. type: string @@ -1409,13 +1421,14 @@ spec: - SERVERLESS type: string regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency for clients - accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string volumeType: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED @@ -1497,22 +1510,20 @@ spec: your applications use to connect to this cluster. properties: private: - description: Network-peering-endpoint-aware mongodb:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. + description: |- + Network-peering-endpoint-aware mongodb:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. type: string privateEndpoint: - description: Private endpoint connection strings. Each object - describes the connection strings you can use to connect to this - cluster through a private endpoint. Atlas returns this parameter - only if you deployed a private endpoint to all regions to which - you deployed this cluster's nodes. + description: |- + Private endpoint connection strings. + Each object describes the connection strings you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. items: - description: PrivateEndpoint connection strings. Each object - describes the connection strings you can use to connect to - this cluster through a private endpoint. Atlas returns this - parameter only if you deployed a private endpoint to all regions + description: |- + PrivateEndpoint connection strings. Each object describes the connection strings + you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. properties: connectionString: @@ -1548,18 +1559,25 @@ spec: string for this private endpoint. type: string type: - description: "Type of MongoDB process that you connect to - with the connection strings \n Atlas returns: \n • MONGOD - for replica sets, or \n • MONGOS for sharded clusters" + description: |- + Type of MongoDB process that you connect to with the connection strings + + + Atlas returns: + + + • MONGOD for replica sets, or + + + • MONGOS for sharded clusters type: string type: object type: array privateSrv: - description: Network-peering-endpoint-aware mongodb+srv:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. Use this URI format - if your driver supports it. If it doesn't, use connectionStrings.private. + description: |- + Network-peering-endpoint-aware mongodb+srv:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. + Use this URI format if your driver supports it. If it doesn't, use connectionStrings.private. type: string standard: description: Public mongodb:// connection string for this cluster. @@ -1611,15 +1629,14 @@ spec: runs, in . format. type: string mongoURIUpdated: - description: MongoURIUpdated is a timestamp in ISO 8601 date and time - format in UTC when the connection string was last updated. The connection - string changes if you update any of the other values. + description: |- + MongoURIUpdated is a timestamp in ISO 8601 date and time format in UTC when the connection string was last updated. + The connection string changes if you update any of the other values. type: string observedGeneration: - 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. + 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. format: int64 type: integer replicaSets: @@ -1678,8 +1695,9 @@ spec: type: object type: array stateName: - description: 'StateName is the current state of the cluster. The possible - states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING' + description: |- + StateName is the current state of the cluster. + The possible states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING type: string required: - conditions @@ -1694,8 +1712,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasfederatedauths.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -1712,22 +1729,28 @@ spec: description: AtlasFederatedAuth is the Schema for the Atlasfederatedauth API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: properties: connectionSecretRef: - description: Connection secret with API credentials for configuring - the federation. These credentials must have OrganizationOwner permissions. + description: |- + Connection secret with API credentials for configuring the federation. + These credentials must have OrganizationOwner permissions. properties: name: description: Name is the name of the Kubernetes Resource @@ -1746,10 +1769,10 @@ spec: type: array domainRestrictionEnabled: default: false - description: Prevent users in the federation from accessing organizations - outside of the federation, and creating new organizations. This - option applies to the entire federation. See more information at - https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation + description: |- + Prevent users in the federation from accessing organizations outside of the federation, and creating new organizations. + This option applies to the entire federation. + See more information at https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation type: boolean enabled: default: false @@ -1847,10 +1870,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -1866,8 +1888,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasprojects.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -1888,14 +1909,19 @@ spec: description: AtlasProject is the Schema for the atlasprojects API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1904,11 +1930,10 @@ spec: Atlas properties: alertConfigurationSyncEnabled: - description: AlertConfigurationSyncEnabled is a flag that enables/disables - Alert Configurations sync for the current Project. If true - project - alert configurations will be synced according to AlertConfigurations. - If not - alert configurations will not be modified by the operator. - They can be managed through API, cli, UI. + description: |- + AlertConfigurationSyncEnabled is a flag that enables/disables Alert Configurations sync for the current Project. + If true - project alert configurations will be synced according to AlertConfigurations. + If not - alert configurations will not be modified by the operator. They can be managed through API, cli, UI. type: boolean alertConfigurations: description: AlertConfiguration is a list of Alert Configurations @@ -2168,13 +2193,13 @@ spec: type: boolean type: object cloudProviderAccessRoles: - description: 'CloudProviderAccessRoles is a list of Cloud Provider - Access Roles configured for the current Project. Deprecated: This - configuration was deprecated in favor of CloudProviderIntegrations' + description: |- + CloudProviderAccessRoles is a list of Cloud Provider Access Roles configured for the current Project. + Deprecated: This configuration was deprecated in favor of CloudProviderIntegrations items: - description: 'CloudProviderAccessRole define an integration to a - cloud provider Deprecated: This type is deprecated in favor of - CloudProviderIntegration' + description: |- + CloudProviderAccessRole define an integration to a cloud provider + Deprecated: This type is deprecated in favor of CloudProviderIntegration properties: iamAssumedRoleArn: description: IamAssumedRoleArn is the ARN of the IAM role that @@ -2208,10 +2233,9 @@ spec: type: object type: array connectionSecretRef: - description: ConnectionSecret is the name of the Kubernetes Secret - which contains the information about the way to connect to Atlas - (organization ID, API keys). The default Operator connection configuration - will be used if not provided. + description: |- + ConnectionSecret is the name of the Kubernetes Secret which contains the information about the way to connect to + Atlas (organization ID, API keys). The default Operator connection configuration will be used if not provided. properties: name: description: Name is the name of the Kubernetes Resource @@ -2547,37 +2571,37 @@ spec: type: object type: array maintenanceWindow: - description: MaintenanceWindow allows to specify a preferred time - in the week to run maintenance operations. See more information - at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ + description: |- + MaintenanceWindow allows to specify a preferred time in the week to run maintenance operations. See more + information at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ properties: autoDefer: description: Flag indicating whether any scheduled project maintenance should be deferred automatically for one week. type: boolean dayOfWeek: - description: Day of the week when you would like the maintenance - window to start as a 1-based integer. Sunday 1, Monday 2, Tuesday - 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 + description: |- + Day of the week when you would like the maintenance window to start as a 1-based integer. + Sunday 1, Monday 2, Tuesday 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 maximum: 7 minimum: 1 type: integer defer: - description: Flag indicating whether the next scheduled project - maintenance should be deferred for one week. Cannot be specified - if startASAP is true + description: |- + Flag indicating whether the next scheduled project maintenance should be deferred for one week. + Cannot be specified if startASAP is true type: boolean hourOfDay: - description: Hour of the day when you would like the maintenance - window to start. This parameter uses the 24-hour clock, where - midnight is 0, noon is 12. + description: |- + Hour of the day when you would like the maintenance window to start. + This parameter uses the 24-hour clock, where midnight is 0, noon is 12. maximum: 23 minimum: 0 type: integer startASAP: - description: Flag indicating whether project maintenance has been - directed to start immediately. Cannot be specified if defer - is true + description: |- + Flag indicating whether project maintenance has been directed to start immediately. + Cannot be specified if defer is true type: boolean type: object name: @@ -2701,8 +2725,9 @@ spec: type: object type: array projectIpAccessList: - 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/ + 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/ items: properties: awsSecurityGroup: @@ -2727,10 +2752,10 @@ spec: type: array regionUsageRestrictions: default: NONE - description: RegionUsageRestrictions designate the project's AWS region - when using Atlas for Government. This parameter should not be used - with commercial Atlas. In Atlas for Government, not setting this - field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY + description: |- + RegionUsageRestrictions designate the project's AWS region when using Atlas for Government. + This parameter should not be used with commercial Atlas. + In Atlas for Government, not setting this field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY enum: - NONE - GOV_REGIONS_ONLY @@ -3089,10 +3114,10 @@ spec: type: object type: array authModes: - description: AuthModes contains a list of configured authentication - modes "SCRAM" is default authentication method and requires a password - for each user "X509" signifies that self-managed X.509 authentication - is configured + description: |- + AuthModes contains a list of configured authentication modes + "SCRAM" is default authentication method and requires a password for each user + "X509" signifies that self-managed X.509 authentication is configured items: type: string type: array @@ -3183,10 +3208,9 @@ spec: type: object type: array expiredIpAccessList: - description: The list of IP Access List entries that are expired due - to 'deleteAfterDate' being less than the current date. Note, that - this field is updated by the Atlas Operator only after specification - changes + description: |- + The list of IP Access List entries that are expired due to 'deleteAfterDate' being less than the current date. + Note, that this field is updated by the Atlas Operator only after specification changes items: properties: awsSecurityGroup: @@ -3268,9 +3292,9 @@ spec: AWS. type: string vpc: - description: VPC is general purpose field for storing the name - of the VPC. VPC is vpcID for AWS, user networkName for GCP, - and vnetName for Azure. + description: |- + VPC is general purpose field for storing the name of the VPC. + VPC is vpcID for AWS, user networkName for GCP, and vnetName for Azure. type: string required: - id @@ -3279,10 +3303,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer privateEndpoints: @@ -3344,7 +3367,8 @@ spec: type: object type: array prometheus: - description: Prometheus contains the status for Prometheus integration + description: |- + Prometheus contains the status for Prometheus integration including the prometheusDiscoveryURL properties: prometheusDiscoveryURL: @@ -3389,8 +3413,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasteams.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -3411,14 +3434,19 @@ spec: description: AtlasTeam is the Schema for the Atlas Teams API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3474,10 +3502,9 @@ spec: description: ID of the team type: string observedGeneration: - 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. + 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. format: int64 type: integer projects: diff --git a/deploy/namespaced/namespaced-config.yaml b/deploy/namespaced/namespaced-config.yaml index dd2d1db4fc..41b157324f 100644 --- a/deploy/namespaced/namespaced-config.yaml +++ b/deploy/namespaced/namespaced-config.yaml @@ -332,7 +332,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: mongodb/mongodb-atlas-kubernetes-operator:2.2.0 + image: mongodb/mongodb-atlas-kubernetes-operator:2.2.1 imagePullPolicy: Always livenessProbe: httpGet: @@ -349,11 +349,10 @@ spec: periodSeconds: 10 resources: limits: - cpu: 500m - memory: 256Mi + memory: 1Gi requests: cpu: 100m - memory: 50Mi + memory: 256Mi securityContext: allowPrivilegeEscalation: false serviceAccountName: mongodb-atlas-operator diff --git a/deploy/openshift/crds.yaml b/deploy/openshift/crds.yaml index 25ea71faf9..84cb3f44da 100644 --- a/deploy/openshift/crds.yaml +++ b/deploy/openshift/crds.yaml @@ -2,8 +2,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasbackuppolicies.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -20,14 +19,19 @@ spec: description: AtlasBackupPolicy is the Schema for the atlasbackuppolicies API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -39,11 +43,9 @@ spec: items: properties: frequencyInterval: - description: Desired frequency of the new backup policy item - specified by FrequencyType. A value of 1 specifies the first - instance of the corresponding FrequencyType. The only accepted - value you can set for frequency interval with NVMe clusters - is 12. + description: |- + Desired frequency of the new backup policy item specified by FrequencyType. A value of 1 specifies the first instance of the corresponding FrequencyType. + The only accepted value you can set for frequency interval with NVMe clusters is 12. enum: - 1 - 2 @@ -147,10 +149,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -166,8 +167,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasbackupschedules.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -185,14 +185,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -338,10 +343,9 @@ spec: type: string type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -357,8 +361,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdatabaseusers.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -379,14 +382,19 @@ spec: description: AtlasDatabaseUser is the Schema for the Atlas Database User API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -396,10 +404,11 @@ spec: properties: awsIamType: default: NONE - description: Human-readable label that indicates whether the new database - user authenticates with the Amazon Web Services (AWS) Identity and - Access Management (IAM) credentials associated with the user or - the user's role + description: |- + Human-readable label that indicates whether the new database + user authenticates with the Amazon Web Services (AWS) + Identity and Access Management (IAM) credentials associated with + the user or the user's role enum: - NONE - USER @@ -411,14 +420,14 @@ spec: the user. Default value is 'admin'. type: string deleteAfterDate: - description: DeleteAfterDate is a timestamp in ISO 8601 date and time - format in UTC after which Atlas deletes the user. The specified - date must be in the future and within one week. + description: |- + DeleteAfterDate is a timestamp in ISO 8601 date and time format in UTC after which Atlas deletes the user. + The specified date must be in the future and within one week. type: string labels: - description: Labels is an array containing key-value pairs that tag - and categorize the database user. Each key and value has a maximum - length of 255 characters. + description: |- + Labels is an array containing key-value pairs that tag and categorize the database user. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -435,9 +444,11 @@ spec: type: array oidcAuthType: default: NONE - description: Human-readable label that indicates whether the new database - Username with OIDC federated authentication. To create a federated - authentication user, specify the value of IDP_GROUP for this field + description: |- + Human-readable label that indicates whether the new database Username + with OIDC federated authentication. + To create a federated authentication user, specify the value + of IDP_GROUP for this field enum: - NONE - IDP_GROUP @@ -466,21 +477,21 @@ spec: - name type: object roles: - description: Roles is an array of this user's roles and the databases - / collections on which the roles apply. A role allows the user to - perform particular actions on the specified database. + description: |- + Roles is an array of this user's roles and the databases / collections on which the roles apply. A role allows + the user to perform particular actions on the specified database. items: - description: RoleSpec allows the user to perform particular actions - on the specified database. A role on the admin database can include - privileges that apply to the other databases as well. + description: |- + RoleSpec allows the user to perform particular actions on the specified database. + A role on the admin database can include privileges that apply to the other databases as well. properties: collectionName: description: CollectionName is a collection for which the role applies. type: string databaseName: - description: DatabaseName is a database on which the user has - the specified role. A role on the admin database can include + description: |- + DatabaseName is a database on which the user has the specified role. A role on the admin database can include privileges that apply to the other databases. type: string roleName: @@ -497,11 +508,10 @@ spec: description: Scopes is an array of clusters and Atlas Data Lakes that this user has access to. items: - description: ScopeSpec if present a database user only have access - to the indicated resource (Cluster or Atlas Data Lake) if none - is given then it has access to all. It's highly recommended to - restrict the access of the database users only to a limited set - of resources. + description: |- + ScopeSpec if present a database user only have access to the indicated resource (Cluster or Atlas Data Lake) + if none is given then it has access to all. + It's highly recommended to restrict the access of the database users only to a limited set of resources. properties: name: description: Name is a name of the cluster or Atlas Data Lake @@ -520,12 +530,12 @@ spec: type: object type: array username: - description: 'Username is a username for authenticating to MongoDB - Human-readable label that represents the user that authenticates - to MongoDB. The format of this label depends on the method of authentication: + description: |- + Username is a username for authenticating to MongoDB + Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication: In case of AWS IAM: the value should be AWS ARN for the IAM User/Role; - In case of OIDC: the value should be the Identity Provider ID; In - case of Plain text auth: the value can be anything' + In case of OIDC: the value should be the Identity Provider ID; + In case of Plain text auth: the value can be anything maxLength: 1024 type: string x509Type: @@ -574,10 +584,9 @@ spec: description: UserName is the current name of database user. type: string observedGeneration: - 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. + 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. format: int64 type: integer passwordVersion: @@ -597,8 +606,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdatafederations.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -620,14 +628,19 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -830,10 +843,9 @@ spec: runs, in . format. type: string observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -849,8 +861,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasdeployments.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -867,21 +878,26 @@ spec: description: AtlasDeployment is the Schema for the atlasdeployments API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: AtlasDeploymentSpec defines the desired state of AtlasDeployment - Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec - should be defined + description: |- + AtlasDeploymentSpec defines the desired state of AtlasDeployment + Only one of DeploymentSpec, AdvancedDeploymentSpec and ServerlessSpec should be defined properties: backupRef: description: Backup schedule for the AtlasDeployment @@ -900,13 +916,14 @@ spec: https://www.mongodb.com/docs/atlas/reference/api/clusters/ properties: backupEnabled: - description: Applicable only for M10+ deployments. Flag that indicates - if the deployment uses Cloud Backups for backups. + description: |- + Applicable only for M10+ deployments. + Flag that indicates if the deployment uses Cloud Backups for backups. type: boolean biConnector: - description: Configuration of BI Connector for Atlas on this deployment. - The MongoDB Connector for Business Intelligence for Atlas (BI - Connector) is only available for M10 and larger deployments. + description: |- + Configuration of BI Connector for Atlas on this deployment. + The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger deployments. properties: enabled: description: Flag that indicates whether or not BI Connector @@ -920,9 +937,9 @@ spec: type: string type: object clusterType: - description: Type of the deployment that you want to create. The - parameter is required if replicationSpecs are set or if Global - Deployments are deployed. + description: |- + Type of the deployment that you want to create. + The parameter is required if replicationSpecs are set or if Global Deployments are deployed. enum: - REPLICASET - SHARDED @@ -941,9 +958,10 @@ spec: type: object type: array diskSizeGB: - description: Capacity, in gigabytes, of the host's root volume. - Increase this number to add capacity, up to a maximum possible - value of 4096 (i.e., 4 TB). This value must be a positive integer. + description: |- + Capacity, in gigabytes, of the host's root volume. + Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). + This value must be a positive integer. The parameter is required if replicationSpecs are configured. maximum: 4096 minimum: 0 @@ -958,9 +976,9 @@ spec: - NONE type: string labels: - description: Collection of key-value pairs that tag and categorize - the deployment. Each key and value has a maximum length of 255 - characters. + description: |- + Collection of key-value pairs that tag and categorize the deployment. + Each key and value has a maximum length of 255 characters. items: description: LabelSpec contains key-value pairs that tag and categorize the Cluster/DBUser @@ -1005,9 +1023,10 @@ spec: mongoDBVersion: type: string name: - description: Name of the advanced deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the advanced deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string paused: @@ -1023,50 +1042,42 @@ spec: items: properties: numShards: - description: Positive integer that specifies the number - of shards to deploy in each specified zone. If you set - this value to 1 and clusterType is SHARDED, MongoDB Cloud - deploys a single-shard sharded cluster. Don't create a - sharded cluster with a single shard for production environments. - Single-shard sharded clusters don't provide the same benefits - as multi-shard configurations + description: |- + Positive integer that specifies the number of shards to deploy in each specified zone. + If you set this value to 1 and clusterType is SHARDED, MongoDB Cloud deploys a single-shard sharded cluster. + Don't create a sharded cluster with a single shard for production environments. + Single-shard sharded clusters don't provide the same benefits as multi-shard configurations type: integer regionConfigs: - description: Hardware specifications for nodes set for a - given region. Each regionConfigs object describes the - region's priority in elections and the number and type - of MongoDB nodes that MongoDB Cloud deploys to the region. - Each regionConfigs object must have either an analyticsSpecs - object, electableSpecs object, or readOnlySpecs object. - Tenant clusters only require electableSpecs. Dedicated - clusters can specify any of these specifications, but - must have at least one electableSpecs object within a - replicationSpec. Every hardware specification must use - the same instanceSize. + description: |- + Hardware specifications for nodes set for a given region. + Each regionConfigs object describes the region's priority in elections and the number and type of MongoDB nodes that MongoDB Cloud deploys to the region. + Each regionConfigs object must have either an analyticsSpecs object, electableSpecs object, or readOnlySpecs object. + Tenant clusters only require electableSpecs. Dedicated clusters can specify any of these specifications, but must have at least one electableSpecs object within a replicationSpec. + Every hardware specification must use the same instanceSize. items: properties: analyticsSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1116,11 +1127,10 @@ spec: type: object type: object backingProviderName: - description: 'Cloud service provider on which the - host for a multi-tenant deployment is provisioned. - This setting only works when "providerName" : "TENANT" - and "providerSetting.instanceSizeName" : M2 or M5. - Otherwise it should be equal to "providerName" value' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. + Otherwise it should be equal to "providerName" value enum: - AWS - GCP @@ -1129,25 +1139,24 @@ spec: electableSpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1155,13 +1164,11 @@ spec: type: integer type: object priority: - description: Precedence is given to this region when - a primary election occurs. If your regionConfigs - has only readOnlySpecs, analyticsSpecs, or both, - set this value to 0. If you have multiple regionConfigs - objects (your cluster is multi-region or multi-cloud), - they must have priorities in descending order. The - highest priority is 7 + description: |- + Precedence is given to this region when a primary election occurs. + If your regionConfigs has only readOnlySpecs, analyticsSpecs, or both, set this value to 0. + If you have multiple regionConfigs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. + The highest priority is 7 type: integer providerName: enum: @@ -1174,25 +1181,24 @@ spec: readOnlySpecs: properties: diskIOPS: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer ebsVolumeType: - description: Disk IOPS setting for AWS storage. - Set only if you selected AWS as your cloud service - provider. + description: |- + Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED type: string instanceSize: - description: Hardware specification for the instance - sizes in this region. Each instance size has - a default storage and memory capacity. The instance - size you select applies to all the data-bearing - hosts in your instance size + description: |- + Hardware specification for the instance sizes in this region. + Each instance size has a default storage and memory capacity. + The instance size you select applies to all the data-bearing hosts in your instance size type: string nodeCount: description: Number of nodes of the given type @@ -1200,9 +1206,9 @@ spec: type: integer type: object regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency - for clients accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string type: object type: array @@ -1298,9 +1304,10 @@ spec: type: boolean type: object name: - description: Name of the serverless deployment as it appears in - Atlas. After Atlas creates the deployment, you can't change - its name. Can only contain ASCII letters, numbers, and hyphens. + description: |- + Name of the serverless deployment as it appears in Atlas. + After Atlas creates the deployment, you can't change its name. + Can only contain ASCII letters, numbers, and hyphens. pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string privateEndpoints: @@ -1327,13 +1334,15 @@ spec: service provider. properties: autoScaling: - description: Range of instance sizes to which your deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Range of instance sizes to which your deployment can scale. properties: autoIndexingEnabled: - description: 'Deprecated: This flag is not supported anymore. - Flag that indicates whether autopilot mode for Performance - Advisor is enabled. The default is false.' + description: |- + Deprecated: This flag is not supported anymore. + Flag that indicates whether autopilot mode for Performance Advisor is enabled. + The default is false. type: boolean compute: description: Collection of settings that configure how @@ -1368,33 +1377,36 @@ spec: type: boolean type: object backingProviderName: - description: 'Cloud service provider on which the host for - a multi-tenant deployment is provisioned. This setting only - works when "providerSetting.providerName" : "TENANT" and - "providerSetting.instanceSizeName" : M2 or M5.' + description: |- + Cloud service provider on which the host for a multi-tenant deployment is provisioned. + This setting only works when "providerSetting.providerName" : "TENANT" and "providerSetting.instanceSizeName" : M2 or M5. enum: - AWS - GCP - AZURE type: string diskIOPS: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. format: int64 type: integer diskTypeName: - description: Type of disk if you selected Azure as your cloud - service provider. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Type of disk if you selected Azure as your + cloud service provider. type: string encryptEBSVolume: - description: Flag that indicates whether the Amazon EBS encryption - feature encrypts the host's root volume for both data at - rest within the volume and for data moving between the volume - and the deployment. + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Flag that indicates whether the Amazon + EBS encryption feature encrypts the host's root volume for + both data at rest within the volume and for data moving + between the volume and the deployment. type: boolean instanceSizeName: - description: Atlas provides different deployment tiers, each - with a default storage capacity and RAM size. The deployment + description: DEPRECATED FIELD. The value of this field doesn't + take any effect. Atlas provides different deployment tiers, + each with a default storage capacity and RAM size. The deployment you select is used for all the data-bearing hosts in your deployment tier. type: string @@ -1409,13 +1421,14 @@ spec: - SERVERLESS type: string regionName: - description: Physical location of your MongoDB deployment. - The region you choose can affect network latency for clients - accessing your databases. + description: |- + Physical location of your MongoDB deployment. + The region you choose can affect network latency for clients accessing your databases. type: string volumeType: - description: Disk IOPS setting for AWS storage. Set only if - you selected AWS as your cloud service provider. + description: |- + DEPRECATED FIELD. The value of this field doesn't take any effect. Disk IOPS setting for AWS storage. + Set only if you selected AWS as your cloud service provider. enum: - STANDARD - PROVISIONED @@ -1497,22 +1510,20 @@ spec: your applications use to connect to this cluster. properties: private: - description: Network-peering-endpoint-aware mongodb:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. + description: |- + Network-peering-endpoint-aware mongodb:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. type: string privateEndpoint: - description: Private endpoint connection strings. Each object - describes the connection strings you can use to connect to this - cluster through a private endpoint. Atlas returns this parameter - only if you deployed a private endpoint to all regions to which - you deployed this cluster's nodes. + description: |- + Private endpoint connection strings. + Each object describes the connection strings you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. items: - description: PrivateEndpoint connection strings. Each object - describes the connection strings you can use to connect to - this cluster through a private endpoint. Atlas returns this - parameter only if you deployed a private endpoint to all regions + description: |- + PrivateEndpoint connection strings. Each object describes the connection strings + you can use to connect to this cluster through a private endpoint. + Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes. properties: connectionString: @@ -1548,18 +1559,25 @@ spec: string for this private endpoint. type: string type: - description: "Type of MongoDB process that you connect to - with the connection strings \n Atlas returns: \n • MONGOD - for replica sets, or \n • MONGOS for sharded clusters" + description: |- + Type of MongoDB process that you connect to with the connection strings + + + Atlas returns: + + + • MONGOD for replica sets, or + + + • MONGOS for sharded clusters type: string type: object type: array privateSrv: - description: Network-peering-endpoint-aware mongodb+srv:// connection - strings for each interface VPC endpoint you configured to connect - to this cluster. Atlas returns this parameter only if you created - a network peering connection to this cluster. Use this URI format - if your driver supports it. If it doesn't, use connectionStrings.private. + description: |- + Network-peering-endpoint-aware mongodb+srv:// connection strings for each interface VPC endpoint you configured to connect to this cluster. + Atlas returns this parameter only if you created a network peering connection to this cluster. + Use this URI format if your driver supports it. If it doesn't, use connectionStrings.private. type: string standard: description: Public mongodb:// connection string for this cluster. @@ -1611,15 +1629,14 @@ spec: runs, in . format. type: string mongoURIUpdated: - description: MongoURIUpdated is a timestamp in ISO 8601 date and time - format in UTC when the connection string was last updated. The connection - string changes if you update any of the other values. + description: |- + MongoURIUpdated is a timestamp in ISO 8601 date and time format in UTC when the connection string was last updated. + The connection string changes if you update any of the other values. type: string observedGeneration: - 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. + 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. format: int64 type: integer replicaSets: @@ -1678,8 +1695,9 @@ spec: type: object type: array stateName: - description: 'StateName is the current state of the cluster. The possible - states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING' + description: |- + StateName is the current state of the cluster. + The possible states are: IDLE, CREATING, UPDATING, DELETING, DELETED, REPAIRING type: string required: - conditions @@ -1694,8 +1712,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasfederatedauths.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -1712,22 +1729,28 @@ spec: description: AtlasFederatedAuth is the Schema for the Atlasfederatedauth API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: properties: connectionSecretRef: - description: Connection secret with API credentials for configuring - the federation. These credentials must have OrganizationOwner permissions. + description: |- + Connection secret with API credentials for configuring the federation. + These credentials must have OrganizationOwner permissions. properties: name: description: Name is the name of the Kubernetes Resource @@ -1746,10 +1769,10 @@ spec: type: array domainRestrictionEnabled: default: false - description: Prevent users in the federation from accessing organizations - outside of the federation, and creating new organizations. This - option applies to the entire federation. See more information at - https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation + description: |- + Prevent users in the federation from accessing organizations outside of the federation, and creating new organizations. + This option applies to the entire federation. + See more information at https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation type: boolean enabled: default: false @@ -1847,10 +1870,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer required: @@ -1866,8 +1888,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasprojects.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -1888,14 +1909,19 @@ spec: description: AtlasProject is the Schema for the atlasprojects API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -1904,11 +1930,10 @@ spec: Atlas properties: alertConfigurationSyncEnabled: - description: AlertConfigurationSyncEnabled is a flag that enables/disables - Alert Configurations sync for the current Project. If true - project - alert configurations will be synced according to AlertConfigurations. - If not - alert configurations will not be modified by the operator. - They can be managed through API, cli, UI. + description: |- + AlertConfigurationSyncEnabled is a flag that enables/disables Alert Configurations sync for the current Project. + If true - project alert configurations will be synced according to AlertConfigurations. + If not - alert configurations will not be modified by the operator. They can be managed through API, cli, UI. type: boolean alertConfigurations: description: AlertConfiguration is a list of Alert Configurations @@ -2168,13 +2193,13 @@ spec: type: boolean type: object cloudProviderAccessRoles: - description: 'CloudProviderAccessRoles is a list of Cloud Provider - Access Roles configured for the current Project. Deprecated: This - configuration was deprecated in favor of CloudProviderIntegrations' + description: |- + CloudProviderAccessRoles is a list of Cloud Provider Access Roles configured for the current Project. + Deprecated: This configuration was deprecated in favor of CloudProviderIntegrations items: - description: 'CloudProviderAccessRole define an integration to a - cloud provider Deprecated: This type is deprecated in favor of - CloudProviderIntegration' + description: |- + CloudProviderAccessRole define an integration to a cloud provider + Deprecated: This type is deprecated in favor of CloudProviderIntegration properties: iamAssumedRoleArn: description: IamAssumedRoleArn is the ARN of the IAM role that @@ -2208,10 +2233,9 @@ spec: type: object type: array connectionSecretRef: - description: ConnectionSecret is the name of the Kubernetes Secret - which contains the information about the way to connect to Atlas - (organization ID, API keys). The default Operator connection configuration - will be used if not provided. + description: |- + ConnectionSecret is the name of the Kubernetes Secret which contains the information about the way to connect to + Atlas (organization ID, API keys). The default Operator connection configuration will be used if not provided. properties: name: description: Name is the name of the Kubernetes Resource @@ -2547,37 +2571,37 @@ spec: type: object type: array maintenanceWindow: - description: MaintenanceWindow allows to specify a preferred time - in the week to run maintenance operations. See more information - at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ + description: |- + MaintenanceWindow allows to specify a preferred time in the week to run maintenance operations. See more + information at https://www.mongodb.com/docs/atlas/reference/api/maintenance-windows/ properties: autoDefer: description: Flag indicating whether any scheduled project maintenance should be deferred automatically for one week. type: boolean dayOfWeek: - description: Day of the week when you would like the maintenance - window to start as a 1-based integer. Sunday 1, Monday 2, Tuesday - 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 + description: |- + Day of the week when you would like the maintenance window to start as a 1-based integer. + Sunday 1, Monday 2, Tuesday 3, Wednesday 4, Thursday 5, Friday 6, Saturday 7 maximum: 7 minimum: 1 type: integer defer: - description: Flag indicating whether the next scheduled project - maintenance should be deferred for one week. Cannot be specified - if startASAP is true + description: |- + Flag indicating whether the next scheduled project maintenance should be deferred for one week. + Cannot be specified if startASAP is true type: boolean hourOfDay: - description: Hour of the day when you would like the maintenance - window to start. This parameter uses the 24-hour clock, where - midnight is 0, noon is 12. + description: |- + Hour of the day when you would like the maintenance window to start. + This parameter uses the 24-hour clock, where midnight is 0, noon is 12. maximum: 23 minimum: 0 type: integer startASAP: - description: Flag indicating whether project maintenance has been - directed to start immediately. Cannot be specified if defer - is true + description: |- + Flag indicating whether project maintenance has been directed to start immediately. + Cannot be specified if defer is true type: boolean type: object name: @@ -2701,8 +2725,9 @@ spec: type: object type: array projectIpAccessList: - 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/ + 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/ items: properties: awsSecurityGroup: @@ -2727,10 +2752,10 @@ spec: type: array regionUsageRestrictions: default: NONE - description: RegionUsageRestrictions designate the project's AWS region - when using Atlas for Government. This parameter should not be used - with commercial Atlas. In Atlas for Government, not setting this - field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY + description: |- + RegionUsageRestrictions designate the project's AWS region when using Atlas for Government. + This parameter should not be used with commercial Atlas. + In Atlas for Government, not setting this field (defaulting to NONE) means the project is restricted to COMMERCIAL_FEDRAMP_REGIONS_ONLY enum: - NONE - GOV_REGIONS_ONLY @@ -3089,10 +3114,10 @@ spec: type: object type: array authModes: - description: AuthModes contains a list of configured authentication - modes "SCRAM" is default authentication method and requires a password - for each user "X509" signifies that self-managed X.509 authentication - is configured + description: |- + AuthModes contains a list of configured authentication modes + "SCRAM" is default authentication method and requires a password for each user + "X509" signifies that self-managed X.509 authentication is configured items: type: string type: array @@ -3183,10 +3208,9 @@ spec: type: object type: array expiredIpAccessList: - description: The list of IP Access List entries that are expired due - to 'deleteAfterDate' being less than the current date. Note, that - this field is updated by the Atlas Operator only after specification - changes + description: |- + The list of IP Access List entries that are expired due to 'deleteAfterDate' being less than the current date. + Note, that this field is updated by the Atlas Operator only after specification changes items: properties: awsSecurityGroup: @@ -3268,9 +3292,9 @@ spec: AWS. type: string vpc: - description: VPC is general purpose field for storing the name - of the VPC. VPC is vpcID for AWS, user networkName for GCP, - and vnetName for Azure. + description: |- + VPC is general purpose field for storing the name of the VPC. + VPC is vpcID for AWS, user networkName for GCP, and vnetName for Azure. type: string required: - id @@ -3279,10 +3303,9 @@ spec: type: object type: array observedGeneration: - 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. + 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. format: int64 type: integer privateEndpoints: @@ -3344,7 +3367,8 @@ spec: type: object type: array prometheus: - description: Prometheus contains the status for Prometheus integration + description: |- + Prometheus contains the status for Prometheus integration including the prometheusDiscoveryURL properties: prometheusDiscoveryURL: @@ -3389,8 +3413,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: atlasteams.atlas.mongodb.com spec: group: atlas.mongodb.com @@ -3411,14 +3434,19 @@ spec: description: AtlasTeam is the Schema for the Atlas Teams API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -3474,10 +3502,9 @@ spec: description: ID of the team type: string observedGeneration: - 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. + 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. format: int64 type: integer projects: diff --git a/deploy/openshift/openshift.yaml b/deploy/openshift/openshift.yaml index 849fd351fb..d244b548e9 100644 --- a/deploy/openshift/openshift.yaml +++ b/deploy/openshift/openshift.yaml @@ -331,7 +331,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: mongodb/mongodb-atlas-kubernetes-operator:2.2.0 + image: mongodb/mongodb-atlas-kubernetes-operator:2.2.1 imagePullPolicy: Always livenessProbe: httpGet: @@ -348,11 +348,10 @@ spec: periodSeconds: 10 resources: limits: - cpu: 500m - memory: 256Mi + memory: 1Gi requests: cpu: 100m - memory: 50Mi + memory: 256Mi securityContext: allowPrivilegeEscalation: false serviceAccountName: mongodb-atlas-operator