From eb228d1cd0d12dc648337c95eef54c64f4761f5c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 26 Jun 2023 13:11:35 +0000 Subject: [PATCH] Release 1.8.0 --- ...tlas.mongodb.com_atlasdatafederations.yaml | 261 +++++++++++++ .../atlas.mongodb.com_atlasprojects.yaml | 84 ++++ ...tlas-kubernetes.clusterserviceversion.yaml | 35 +- deploy/all-in-one.yaml | 362 +++++++++++++++++- deploy/clusterwide/clusterwide-config.yaml | 22 +- deploy/clusterwide/crds.yaml | 336 ++++++++++++++++ ...tlas.mongodb.com_atlasdatafederations.yaml | 252 ++++++++++++ .../crds/atlas.mongodb.com_atlasprojects.yaml | 84 ++++ deploy/namespaced/crds.yaml | 336 ++++++++++++++++ deploy/namespaced/namespaced-config.yaml | 22 +- deploy/openshift/crds.yaml | 336 ++++++++++++++++ deploy/openshift/openshift.yaml | 22 +- third_party_licenses.txt | 24 +- 13 files changed, 2155 insertions(+), 21 deletions(-) create mode 100644 bundle/manifests/atlas.mongodb.com_atlasdatafederations.yaml create mode 100644 deploy/crds/atlas.mongodb.com_atlasdatafederations.yaml diff --git a/bundle/manifests/atlas.mongodb.com_atlasdatafederations.yaml b/bundle/manifests/atlas.mongodb.com_atlasdatafederations.yaml new file mode 100644 index 0000000000..5a929550da --- /dev/null +++ b/bundle/manifests/atlas.mongodb.com_atlasdatafederations.yaml @@ -0,0 +1,261 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.9.2 + creationTimestamp: null + labels: + app.kubernetes.io/component: controller + app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator + app.kubernetes.io/name: mongodb-atlas-kubernetes-operator + name: atlasdatafederations.atlas.mongodb.com +spec: + group: atlas.mongodb.com + names: + kind: AtlasDataFederation + listKind: AtlasDataFederationList + plural: atlasdatafederations + singular: atlasdatafederation + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.name + name: Name + type: string + name: v1 + schema: + openAPIV3Schema: + description: AtlasDataFederation is the Schema for the Atlas Data Federation + 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' + 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' + type: string + metadata: + type: object + spec: + properties: + cloudProviderConfig: + properties: + aws: + properties: + roleId: + type: string + testS3Bucket: + type: string + type: object + type: object + dataProcessRegion: + properties: + cloudProvider: + enum: + - AWS + type: string + region: + enum: + - SYDNEY_AUS + - MUMBAI_IND + - FRANKFURT_DEU + - DUBLIN_IRL + - LONDON_GBR + - VIRGINIA_USA + - OREGON_USA + - SAOPAULO_BRA + - SINGAPORE_SGP + type: string + type: object + name: + type: string + privateEndpoints: + items: + properties: + endpointId: + type: string + provider: + type: string + type: + type: string + type: object + type: array + projectRef: + description: Project is a reference to AtlasProject resource the deployment + belongs to + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes Resource + type: string + required: + - name + type: object + storage: + properties: + databases: + items: + properties: + collections: + items: + properties: + dataSources: + items: + properties: + allowInsecure: + type: boolean + collection: + type: string + collectionRegex: + type: string + database: + type: string + databaseRegex: + type: string + defaultFormat: + enum: + - .avro + - .avro.bz2 + - .avro.gz + - .bson + - .bson.bz2 + - .bson.gz + - .bsonx + - .csv + - .csv.bz2 + - .csv.gz + - .json + - .json.bz2 + - .json.gz + - .orc + - .parquet + - .tsv + - .tsv.bz2 + - .tsv.gz + type: string + path: + type: string + provenanceFieldName: + type: string + storeName: + type: string + urls: + items: + type: string + type: array + type: object + type: array + name: + type: string + type: object + type: array + maxWildcardCollections: + type: integer + name: + type: string + views: + items: + properties: + name: + type: string + pipeline: + type: string + source: + type: string + type: object + type: array + type: object + type: array + stores: + items: + properties: + additionalStorageClasses: + items: + type: string + type: array + bucket: + type: string + delimiter: + type: string + includeTags: + type: boolean + name: + type: string + prefix: + type: string + provider: + type: string + public: + type: boolean + region: + type: string + type: object + type: array + type: object + required: + - name + - projectRef + type: object + status: + properties: + conditions: + description: Conditions is the list of statuses showing the current + state of the Atlas Custom Resource + items: + description: Condition describes the state of an Atlas Custom Resource + at a certain point. + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type of Atlas Custom Resource condition. + type: string + required: + - status + - type + type: object + type: array + mongoDBVersion: + description: MongoDBVersion is the version of MongoDB the cluster + 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. + format: int64 + type: integer + required: + - conditions + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/bundle/manifests/atlas.mongodb.com_atlasprojects.yaml b/bundle/manifests/atlas.mongodb.com_atlasprojects.yaml index 9b93acbd34..f3634a6f2f 100644 --- a/bundle/manifests/atlas.mongodb.com_atlasprojects.yaml +++ b/bundle/manifests/atlas.mongodb.com_atlasprojects.yaml @@ -114,10 +114,38 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + apiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object channelName: description: Slack channel name. Populated for the SLACK notifications type. type: string + datadogAPIKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object datadogApiKey: description: Datadog API Key. Found in the Datadog dashboard. Populated for the DATADOG notifications type. @@ -147,6 +175,20 @@ spec: becomes invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + flowdockApiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object intervalMin: description: Number of minutes to wait between successive notifications for unacknowledged alerts that are not @@ -162,6 +204,20 @@ spec: Atlas sends an email to the project owner and eventually removes the token. type: string + opsGenieApiKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object opsGenieRegion: description: Region that indicates which API URL to use. type: string @@ -183,6 +239,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + serviceKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object smsEnabled: description: Flag indicating if text message notifications should be sent. Populated for ORG, GROUP, and USER notifications @@ -215,6 +285,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + victorOpsSecretRef: + description: Secret for VictorOps should contain both + APIKey and RoutingKey values + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object type: object type: array threshold: diff --git a/bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml b/bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml index bf751d7eaf..f21fecc48c 100644 --- a/bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml +++ b/bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml @@ -127,12 +127,12 @@ metadata: description: The MongoDB Atlas Kubernetes Operator enables easy management of Clusters in MongoDB Atlas 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:1.7.3 + containerImage: mongodb/mongodb-atlas-kubernetes-operator:1.8.0 labels: operatorframework.io/arch.amd64: supported operatorframework.io/arch.arm64: supported operatorframework.io/os.linux: supported - name: mongodb-atlas-kubernetes.v1.7.3 + name: mongodb-atlas-kubernetes.v1.8.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -153,6 +153,11 @@ spec: kind: AtlasDatabaseUser name: atlasdatabaseusers.atlas.mongodb.com version: v1 + - description: AtlasDataFederation is the Schema for the Atlas Data Federation API + displayName: Atlas Data Federation + kind: AtlasDataFederation + name: atlasdatafederations.atlas.mongodb.com + version: v1 - description: AtlasDeployment is the Schema for the atlasdeployments API displayName: Atlas Deployment kind: AtlasDeployment @@ -364,6 +369,26 @@ spec: - get - patch - update + - apiGroups: + - atlas.mongodb.com + resources: + - atlasdatafederations + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - atlas.mongodb.com + resources: + - atlasdatafederations/status + verbs: + - get + - patch + - update - apiGroups: - atlas.mongodb.com resources: @@ -465,7 +490,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.annotations['olm.targetNamespaces'] - image: mongodb/mongodb-atlas-kubernetes-operator:1.7.3 + image: mongodb/mongodb-atlas-kubernetes-operator:1.8.0 imagePullPolicy: Always livenessProbe: httpGet: @@ -550,5 +575,5 @@ spec: maturity: beta provider: name: MongoDB, Inc - version: 1.7.3 - replaces: mongodb-atlas-kubernetes.v1.7.2 + version: 1.8.0 + replaces: mongodb-atlas-kubernetes.v1.7.3 diff --git a/deploy/all-in-one.yaml b/deploy/all-in-one.yaml index 9a5f36187e..59f7f77e22 100644 --- a/deploy/all-in-one.yaml +++ b/deploy/all-in-one.yaml @@ -592,6 +592,262 @@ spec: --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.9.2 + creationTimestamp: null + labels: + app.kubernetes.io/component: controller + app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator + app.kubernetes.io/name: mongodb-atlas-kubernetes-operator + name: atlasdatafederations.atlas.mongodb.com +spec: + group: atlas.mongodb.com + names: + kind: AtlasDataFederation + listKind: AtlasDataFederationList + plural: atlasdatafederations + singular: atlasdatafederation + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.name + name: Name + type: string + name: v1 + schema: + openAPIV3Schema: + description: AtlasDataFederation is the Schema for the Atlas Data Federation + 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' + 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' + type: string + metadata: + type: object + spec: + properties: + cloudProviderConfig: + properties: + aws: + properties: + roleId: + type: string + testS3Bucket: + type: string + type: object + type: object + dataProcessRegion: + properties: + cloudProvider: + enum: + - AWS + type: string + region: + enum: + - SYDNEY_AUS + - MUMBAI_IND + - FRANKFURT_DEU + - DUBLIN_IRL + - LONDON_GBR + - VIRGINIA_USA + - OREGON_USA + - SAOPAULO_BRA + - SINGAPORE_SGP + type: string + type: object + name: + type: string + privateEndpoints: + items: + properties: + endpointId: + type: string + provider: + type: string + type: + type: string + type: object + type: array + projectRef: + description: Project is a reference to AtlasProject resource the deployment + belongs to + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes Resource + type: string + required: + - name + type: object + storage: + properties: + databases: + items: + properties: + collections: + items: + properties: + dataSources: + items: + properties: + allowInsecure: + type: boolean + collection: + type: string + collectionRegex: + type: string + database: + type: string + databaseRegex: + type: string + defaultFormat: + enum: + - .avro + - .avro.bz2 + - .avro.gz + - .bson + - .bson.bz2 + - .bson.gz + - .bsonx + - .csv + - .csv.bz2 + - .csv.gz + - .json + - .json.bz2 + - .json.gz + - .orc + - .parquet + - .tsv + - .tsv.bz2 + - .tsv.gz + type: string + path: + type: string + provenanceFieldName: + type: string + storeName: + type: string + urls: + items: + type: string + type: array + type: object + type: array + name: + type: string + type: object + type: array + maxWildcardCollections: + type: integer + name: + type: string + views: + items: + properties: + name: + type: string + pipeline: + type: string + source: + type: string + type: object + type: array + type: object + type: array + stores: + items: + properties: + additionalStorageClasses: + items: + type: string + type: array + bucket: + type: string + delimiter: + type: string + includeTags: + type: boolean + name: + type: string + prefix: + type: string + provider: + type: string + public: + type: boolean + region: + type: string + type: object + type: array + type: object + required: + - name + - projectRef + type: object + status: + properties: + conditions: + description: Conditions is the list of statuses showing the current + state of the Atlas Custom Resource + items: + description: Condition describes the state of an Atlas Custom Resource + at a certain point. + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type of Atlas Custom Resource condition. + type: string + required: + - status + - type + type: object + type: array + mongoDBVersion: + description: MongoDBVersion is the version of MongoDB the cluster + 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. + format: int64 + type: integer + required: + - conditions + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.9.2 @@ -1696,10 +1952,38 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + apiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object channelName: description: Slack channel name. Populated for the SLACK notifications type. type: string + datadogAPIKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object datadogApiKey: description: Datadog API Key. Found in the Datadog dashboard. Populated for the DATADOG notifications type. @@ -1729,6 +2013,20 @@ spec: becomes invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + flowdockApiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object intervalMin: description: Number of minutes to wait between successive notifications for unacknowledged alerts that are not @@ -1744,6 +2042,20 @@ spec: Atlas sends an email to the project owner and eventually removes the token. type: string + opsGenieApiKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object opsGenieRegion: description: Region that indicates which API URL to use. type: string @@ -1765,6 +2077,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + serviceKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object smsEnabled: description: Flag indicating if text message notifications should be sent. Populated for ORG, GROUP, and USER notifications @@ -1797,6 +2123,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + victorOpsSecretRef: + description: Secret for VictorOps should contain both + APIKey and RoutingKey values + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object type: object type: array threshold: @@ -3261,6 +3601,26 @@ rules: - get - patch - update +- apiGroups: + - atlas.mongodb.com + resources: + - atlasdatafederations + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - atlas.mongodb.com + resources: + - atlasdatafederations/status + verbs: + - get + - patch + - update - apiGroups: - atlas.mongodb.com resources: @@ -3399,7 +3759,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: mongodb/mongodb-atlas-kubernetes-operator:1.7.3 + image: mongodb/mongodb-atlas-kubernetes-operator:1.8.0 imagePullPolicy: Always livenessProbe: httpGet: diff --git a/deploy/clusterwide/clusterwide-config.yaml b/deploy/clusterwide/clusterwide-config.yaml index 5941a4c095..7b1a34ed6c 100644 --- a/deploy/clusterwide/clusterwide-config.yaml +++ b/deploy/clusterwide/clusterwide-config.yaml @@ -148,6 +148,26 @@ rules: - get - patch - update +- apiGroups: + - atlas.mongodb.com + resources: + - atlasdatafederations + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - atlas.mongodb.com + resources: + - atlasdatafederations/status + verbs: + - get + - patch + - update - apiGroups: - atlas.mongodb.com resources: @@ -286,7 +306,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: mongodb/mongodb-atlas-kubernetes-operator:1.7.3 + image: mongodb/mongodb-atlas-kubernetes-operator:1.8.0 imagePullPolicy: Always livenessProbe: httpGet: diff --git a/deploy/clusterwide/crds.yaml b/deploy/clusterwide/crds.yaml index b79ed07bb1..602e4ab251 100644 --- a/deploy/clusterwide/crds.yaml +++ b/deploy/clusterwide/crds.yaml @@ -571,6 +571,258 @@ spec: --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.9.2 + creationTimestamp: null + name: atlasdatafederations.atlas.mongodb.com +spec: + group: atlas.mongodb.com + names: + kind: AtlasDataFederation + listKind: AtlasDataFederationList + plural: atlasdatafederations + singular: atlasdatafederation + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.name + name: Name + type: string + name: v1 + schema: + openAPIV3Schema: + description: AtlasDataFederation is the Schema for the Atlas Data Federation + 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' + 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' + type: string + metadata: + type: object + spec: + properties: + cloudProviderConfig: + properties: + aws: + properties: + roleId: + type: string + testS3Bucket: + type: string + type: object + type: object + dataProcessRegion: + properties: + cloudProvider: + enum: + - AWS + type: string + region: + enum: + - SYDNEY_AUS + - MUMBAI_IND + - FRANKFURT_DEU + - DUBLIN_IRL + - LONDON_GBR + - VIRGINIA_USA + - OREGON_USA + - SAOPAULO_BRA + - SINGAPORE_SGP + type: string + type: object + name: + type: string + privateEndpoints: + items: + properties: + endpointId: + type: string + provider: + type: string + type: + type: string + type: object + type: array + projectRef: + description: Project is a reference to AtlasProject resource the deployment + belongs to + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes Resource + type: string + required: + - name + type: object + storage: + properties: + databases: + items: + properties: + collections: + items: + properties: + dataSources: + items: + properties: + allowInsecure: + type: boolean + collection: + type: string + collectionRegex: + type: string + database: + type: string + databaseRegex: + type: string + defaultFormat: + enum: + - .avro + - .avro.bz2 + - .avro.gz + - .bson + - .bson.bz2 + - .bson.gz + - .bsonx + - .csv + - .csv.bz2 + - .csv.gz + - .json + - .json.bz2 + - .json.gz + - .orc + - .parquet + - .tsv + - .tsv.bz2 + - .tsv.gz + type: string + path: + type: string + provenanceFieldName: + type: string + storeName: + type: string + urls: + items: + type: string + type: array + type: object + type: array + name: + type: string + type: object + type: array + maxWildcardCollections: + type: integer + name: + type: string + views: + items: + properties: + name: + type: string + pipeline: + type: string + source: + type: string + type: object + type: array + type: object + type: array + stores: + items: + properties: + additionalStorageClasses: + items: + type: string + type: array + bucket: + type: string + delimiter: + type: string + includeTags: + type: boolean + name: + type: string + prefix: + type: string + provider: + type: string + public: + type: boolean + region: + type: string + type: object + type: array + type: object + required: + - name + - projectRef + type: object + status: + properties: + conditions: + description: Conditions is the list of statuses showing the current + state of the Atlas Custom Resource + items: + description: Condition describes the state of an Atlas Custom Resource + at a certain point. + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type of Atlas Custom Resource condition. + type: string + required: + - status + - type + type: object + type: array + mongoDBVersion: + description: MongoDBVersion is the version of MongoDB the cluster + 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. + format: int64 + type: integer + required: + - conditions + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.9.2 @@ -1667,10 +1919,38 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + apiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object channelName: description: Slack channel name. Populated for the SLACK notifications type. type: string + datadogAPIKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object datadogApiKey: description: Datadog API Key. Found in the Datadog dashboard. Populated for the DATADOG notifications type. @@ -1700,6 +1980,20 @@ spec: becomes invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + flowdockApiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object intervalMin: description: Number of minutes to wait between successive notifications for unacknowledged alerts that are not @@ -1715,6 +2009,20 @@ spec: Atlas sends an email to the project owner and eventually removes the token. type: string + opsGenieApiKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object opsGenieRegion: description: Region that indicates which API URL to use. type: string @@ -1736,6 +2044,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + serviceKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object smsEnabled: description: Flag indicating if text message notifications should be sent. Populated for ORG, GROUP, and USER notifications @@ -1768,6 +2090,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + victorOpsSecretRef: + description: Secret for VictorOps should contain both + APIKey and RoutingKey values + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object type: object type: array threshold: diff --git a/deploy/crds/atlas.mongodb.com_atlasdatafederations.yaml b/deploy/crds/atlas.mongodb.com_atlasdatafederations.yaml new file mode 100644 index 0000000000..a9921bee07 --- /dev/null +++ b/deploy/crds/atlas.mongodb.com_atlasdatafederations.yaml @@ -0,0 +1,252 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.9.2 + creationTimestamp: null + name: atlasdatafederations.atlas.mongodb.com +spec: + group: atlas.mongodb.com + names: + kind: AtlasDataFederation + listKind: AtlasDataFederationList + plural: atlasdatafederations + singular: atlasdatafederation + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.name + name: Name + type: string + name: v1 + schema: + openAPIV3Schema: + description: AtlasDataFederation is the Schema for the Atlas Data Federation + 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' + 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' + type: string + metadata: + type: object + spec: + properties: + cloudProviderConfig: + properties: + aws: + properties: + roleId: + type: string + testS3Bucket: + type: string + type: object + type: object + dataProcessRegion: + properties: + cloudProvider: + enum: + - AWS + type: string + region: + enum: + - SYDNEY_AUS + - MUMBAI_IND + - FRANKFURT_DEU + - DUBLIN_IRL + - LONDON_GBR + - VIRGINIA_USA + - OREGON_USA + - SAOPAULO_BRA + - SINGAPORE_SGP + type: string + type: object + name: + type: string + privateEndpoints: + items: + properties: + endpointId: + type: string + provider: + type: string + type: + type: string + type: object + type: array + projectRef: + description: Project is a reference to AtlasProject resource the deployment + belongs to + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes Resource + type: string + required: + - name + type: object + storage: + properties: + databases: + items: + properties: + collections: + items: + properties: + dataSources: + items: + properties: + allowInsecure: + type: boolean + collection: + type: string + collectionRegex: + type: string + database: + type: string + databaseRegex: + type: string + defaultFormat: + enum: + - .avro + - .avro.bz2 + - .avro.gz + - .bson + - .bson.bz2 + - .bson.gz + - .bsonx + - .csv + - .csv.bz2 + - .csv.gz + - .json + - .json.bz2 + - .json.gz + - .orc + - .parquet + - .tsv + - .tsv.bz2 + - .tsv.gz + type: string + path: + type: string + provenanceFieldName: + type: string + storeName: + type: string + urls: + items: + type: string + type: array + type: object + type: array + name: + type: string + type: object + type: array + maxWildcardCollections: + type: integer + name: + type: string + views: + items: + properties: + name: + type: string + pipeline: + type: string + source: + type: string + type: object + type: array + type: object + type: array + stores: + items: + properties: + additionalStorageClasses: + items: + type: string + type: array + bucket: + type: string + delimiter: + type: string + includeTags: + type: boolean + name: + type: string + prefix: + type: string + provider: + type: string + public: + type: boolean + region: + type: string + type: object + type: array + type: object + required: + - name + - projectRef + type: object + status: + properties: + conditions: + description: Conditions is the list of statuses showing the current + state of the Atlas Custom Resource + items: + description: Condition describes the state of an Atlas Custom Resource + at a certain point. + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type of Atlas Custom Resource condition. + type: string + required: + - status + - type + type: object + type: array + mongoDBVersion: + description: MongoDBVersion is the version of MongoDB the cluster + 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. + format: int64 + type: integer + required: + - conditions + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/deploy/crds/atlas.mongodb.com_atlasprojects.yaml b/deploy/crds/atlas.mongodb.com_atlasprojects.yaml index aaa902d35d..7d3765bb47 100644 --- a/deploy/crds/atlas.mongodb.com_atlasprojects.yaml +++ b/deploy/crds/atlas.mongodb.com_atlasprojects.yaml @@ -111,10 +111,38 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + apiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object channelName: description: Slack channel name. Populated for the SLACK notifications type. type: string + datadogAPIKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object datadogApiKey: description: Datadog API Key. Found in the Datadog dashboard. Populated for the DATADOG notifications type. @@ -144,6 +172,20 @@ spec: becomes invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + flowdockApiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object intervalMin: description: Number of minutes to wait between successive notifications for unacknowledged alerts that are not @@ -159,6 +201,20 @@ spec: Atlas sends an email to the project owner and eventually removes the token. type: string + opsGenieApiKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object opsGenieRegion: description: Region that indicates which API URL to use. type: string @@ -180,6 +236,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + serviceKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object smsEnabled: description: Flag indicating if text message notifications should be sent. Populated for ORG, GROUP, and USER notifications @@ -212,6 +282,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + victorOpsSecretRef: + description: Secret for VictorOps should contain both + APIKey and RoutingKey values + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object type: object type: array threshold: diff --git a/deploy/namespaced/crds.yaml b/deploy/namespaced/crds.yaml index b79ed07bb1..602e4ab251 100644 --- a/deploy/namespaced/crds.yaml +++ b/deploy/namespaced/crds.yaml @@ -571,6 +571,258 @@ spec: --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.9.2 + creationTimestamp: null + name: atlasdatafederations.atlas.mongodb.com +spec: + group: atlas.mongodb.com + names: + kind: AtlasDataFederation + listKind: AtlasDataFederationList + plural: atlasdatafederations + singular: atlasdatafederation + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.name + name: Name + type: string + name: v1 + schema: + openAPIV3Schema: + description: AtlasDataFederation is the Schema for the Atlas Data Federation + 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' + 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' + type: string + metadata: + type: object + spec: + properties: + cloudProviderConfig: + properties: + aws: + properties: + roleId: + type: string + testS3Bucket: + type: string + type: object + type: object + dataProcessRegion: + properties: + cloudProvider: + enum: + - AWS + type: string + region: + enum: + - SYDNEY_AUS + - MUMBAI_IND + - FRANKFURT_DEU + - DUBLIN_IRL + - LONDON_GBR + - VIRGINIA_USA + - OREGON_USA + - SAOPAULO_BRA + - SINGAPORE_SGP + type: string + type: object + name: + type: string + privateEndpoints: + items: + properties: + endpointId: + type: string + provider: + type: string + type: + type: string + type: object + type: array + projectRef: + description: Project is a reference to AtlasProject resource the deployment + belongs to + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes Resource + type: string + required: + - name + type: object + storage: + properties: + databases: + items: + properties: + collections: + items: + properties: + dataSources: + items: + properties: + allowInsecure: + type: boolean + collection: + type: string + collectionRegex: + type: string + database: + type: string + databaseRegex: + type: string + defaultFormat: + enum: + - .avro + - .avro.bz2 + - .avro.gz + - .bson + - .bson.bz2 + - .bson.gz + - .bsonx + - .csv + - .csv.bz2 + - .csv.gz + - .json + - .json.bz2 + - .json.gz + - .orc + - .parquet + - .tsv + - .tsv.bz2 + - .tsv.gz + type: string + path: + type: string + provenanceFieldName: + type: string + storeName: + type: string + urls: + items: + type: string + type: array + type: object + type: array + name: + type: string + type: object + type: array + maxWildcardCollections: + type: integer + name: + type: string + views: + items: + properties: + name: + type: string + pipeline: + type: string + source: + type: string + type: object + type: array + type: object + type: array + stores: + items: + properties: + additionalStorageClasses: + items: + type: string + type: array + bucket: + type: string + delimiter: + type: string + includeTags: + type: boolean + name: + type: string + prefix: + type: string + provider: + type: string + public: + type: boolean + region: + type: string + type: object + type: array + type: object + required: + - name + - projectRef + type: object + status: + properties: + conditions: + description: Conditions is the list of statuses showing the current + state of the Atlas Custom Resource + items: + description: Condition describes the state of an Atlas Custom Resource + at a certain point. + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type of Atlas Custom Resource condition. + type: string + required: + - status + - type + type: object + type: array + mongoDBVersion: + description: MongoDBVersion is the version of MongoDB the cluster + 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. + format: int64 + type: integer + required: + - conditions + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.9.2 @@ -1667,10 +1919,38 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + apiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object channelName: description: Slack channel name. Populated for the SLACK notifications type. type: string + datadogAPIKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object datadogApiKey: description: Datadog API Key. Found in the Datadog dashboard. Populated for the DATADOG notifications type. @@ -1700,6 +1980,20 @@ spec: becomes invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + flowdockApiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object intervalMin: description: Number of minutes to wait between successive notifications for unacknowledged alerts that are not @@ -1715,6 +2009,20 @@ spec: Atlas sends an email to the project owner and eventually removes the token. type: string + opsGenieApiKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object opsGenieRegion: description: Region that indicates which API URL to use. type: string @@ -1736,6 +2044,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + serviceKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object smsEnabled: description: Flag indicating if text message notifications should be sent. Populated for ORG, GROUP, and USER notifications @@ -1768,6 +2090,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + victorOpsSecretRef: + description: Secret for VictorOps should contain both + APIKey and RoutingKey values + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object type: object type: array threshold: diff --git a/deploy/namespaced/namespaced-config.yaml b/deploy/namespaced/namespaced-config.yaml index 6aba9edcb3..69856aa884 100644 --- a/deploy/namespaced/namespaced-config.yaml +++ b/deploy/namespaced/namespaced-config.yaml @@ -149,6 +149,26 @@ rules: - get - patch - update +- apiGroups: + - atlas.mongodb.com + resources: + - atlasdatafederations + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - atlas.mongodb.com + resources: + - atlasdatafederations/status + verbs: + - get + - patch + - update - apiGroups: - atlas.mongodb.com resources: @@ -292,7 +312,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: mongodb/mongodb-atlas-kubernetes-operator:1.7.3 + image: mongodb/mongodb-atlas-kubernetes-operator:1.8.0 imagePullPolicy: Always livenessProbe: httpGet: diff --git a/deploy/openshift/crds.yaml b/deploy/openshift/crds.yaml index b79ed07bb1..602e4ab251 100644 --- a/deploy/openshift/crds.yaml +++ b/deploy/openshift/crds.yaml @@ -571,6 +571,258 @@ spec: --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.9.2 + creationTimestamp: null + name: atlasdatafederations.atlas.mongodb.com +spec: + group: atlas.mongodb.com + names: + kind: AtlasDataFederation + listKind: AtlasDataFederationList + plural: atlasdatafederations + singular: atlasdatafederation + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.name + name: Name + type: string + name: v1 + schema: + openAPIV3Schema: + description: AtlasDataFederation is the Schema for the Atlas Data Federation + 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' + 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' + type: string + metadata: + type: object + spec: + properties: + cloudProviderConfig: + properties: + aws: + properties: + roleId: + type: string + testS3Bucket: + type: string + type: object + type: object + dataProcessRegion: + properties: + cloudProvider: + enum: + - AWS + type: string + region: + enum: + - SYDNEY_AUS + - MUMBAI_IND + - FRANKFURT_DEU + - DUBLIN_IRL + - LONDON_GBR + - VIRGINIA_USA + - OREGON_USA + - SAOPAULO_BRA + - SINGAPORE_SGP + type: string + type: object + name: + type: string + privateEndpoints: + items: + properties: + endpointId: + type: string + provider: + type: string + type: + type: string + type: object + type: array + projectRef: + description: Project is a reference to AtlasProject resource the deployment + belongs to + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes Resource + type: string + required: + - name + type: object + storage: + properties: + databases: + items: + properties: + collections: + items: + properties: + dataSources: + items: + properties: + allowInsecure: + type: boolean + collection: + type: string + collectionRegex: + type: string + database: + type: string + databaseRegex: + type: string + defaultFormat: + enum: + - .avro + - .avro.bz2 + - .avro.gz + - .bson + - .bson.bz2 + - .bson.gz + - .bsonx + - .csv + - .csv.bz2 + - .csv.gz + - .json + - .json.bz2 + - .json.gz + - .orc + - .parquet + - .tsv + - .tsv.bz2 + - .tsv.gz + type: string + path: + type: string + provenanceFieldName: + type: string + storeName: + type: string + urls: + items: + type: string + type: array + type: object + type: array + name: + type: string + type: object + type: array + maxWildcardCollections: + type: integer + name: + type: string + views: + items: + properties: + name: + type: string + pipeline: + type: string + source: + type: string + type: object + type: array + type: object + type: array + stores: + items: + properties: + additionalStorageClasses: + items: + type: string + type: array + bucket: + type: string + delimiter: + type: string + includeTags: + type: boolean + name: + type: string + prefix: + type: string + provider: + type: string + public: + type: boolean + region: + type: string + type: object + type: array + type: object + required: + - name + - projectRef + type: object + status: + properties: + conditions: + description: Conditions is the list of statuses showing the current + state of the Atlas Custom Resource + items: + description: Condition describes the state of an Atlas Custom Resource + at a certain point. + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type of Atlas Custom Resource condition. + type: string + required: + - status + - type + type: object + type: array + mongoDBVersion: + description: MongoDBVersion is the version of MongoDB the cluster + 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. + format: int64 + type: integer + required: + - conditions + type: object + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.9.2 @@ -1667,10 +1919,38 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + apiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object channelName: description: Slack channel name. Populated for the SLACK notifications type. type: string + datadogAPIKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object datadogApiKey: description: Datadog API Key. Found in the Datadog dashboard. Populated for the DATADOG notifications type. @@ -1700,6 +1980,20 @@ spec: becomes invalid, Atlas sends an email to the project owner and eventually removes the token. type: string + flowdockApiTokenRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object intervalMin: description: Number of minutes to wait between successive notifications for unacknowledged alerts that are not @@ -1715,6 +2009,20 @@ spec: Atlas sends an email to the project owner and eventually removes the token. type: string + opsGenieApiKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object opsGenieRegion: description: Region that indicates which API URL to use. type: string @@ -1736,6 +2044,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + serviceKeyRef: + description: ResourceRefNamespaced is a reference to a + Kubernetes Resource that allows to configure the namespace + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object smsEnabled: description: Flag indicating if text message notifications should be sent. Populated for ORG, GROUP, and USER notifications @@ -1768,6 +2090,20 @@ spec: invalid, Atlas sends an email to the project owner and eventually removes the key. type: string + victorOpsSecretRef: + description: Secret for VictorOps should contain both + APIKey and RoutingKey values + properties: + name: + description: Name is the name of the Kubernetes Resource + type: string + namespace: + description: Namespace is the namespace of the Kubernetes + Resource + type: string + required: + - name + type: object type: object type: array threshold: diff --git a/deploy/openshift/openshift.yaml b/deploy/openshift/openshift.yaml index 67ebe8d323..2189f66d68 100644 --- a/deploy/openshift/openshift.yaml +++ b/deploy/openshift/openshift.yaml @@ -149,6 +149,26 @@ rules: - get - patch - update +- apiGroups: + - atlas.mongodb.com + resources: + - atlasdatafederations + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - atlas.mongodb.com + resources: + - atlasdatafederations/status + verbs: + - get + - patch + - update - apiGroups: - atlas.mongodb.com resources: @@ -291,7 +311,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: mongodb/mongodb-atlas-kubernetes-operator:1.7.3 + image: mongodb/mongodb-atlas-kubernetes-operator:1.8.0 imagePullPolicy: Always livenessProbe: httpGet: diff --git a/third_party_licenses.txt b/third_party_licenses.txt index 33864fbcc3..b61b8bdd3e 100644 --- a/third_party_licenses.txt +++ b/third_party_licenses.txt @@ -5,8 +5,8 @@ github.com/davecgh/go-spew/spew,https://github.com/davecgh/go-spew/blob/v1.1.1/L github.com/emicklei/go-restful/v3,https://github.com/emicklei/go-restful/blob/v3.9.0/LICENSE,MIT github.com/evanphx/json-patch/v5,https://github.com/evanphx/json-patch/blob/v5.6.0/v5/LICENSE,BSD-3-Clause github.com/fsnotify/fsnotify,https://github.com/fsnotify/fsnotify/blob/v1.6.0/LICENSE,BSD-3-Clause -github.com/go-logr/logr,https://github.com/go-logr/logr/blob/v1.2.3/LICENSE,Apache-2.0 -github.com/go-logr/zapr,https://github.com/go-logr/zapr/blob/v1.2.3/LICENSE,Apache-2.0 +github.com/go-logr/logr,https://github.com/go-logr/logr/blob/v1.2.4/LICENSE,Apache-2.0 +github.com/go-logr/zapr,https://github.com/go-logr/zapr/blob/v1.2.4/LICENSE,Apache-2.0 github.com/go-openapi/jsonpointer,https://github.com/go-openapi/jsonpointer/blob/v0.19.6/LICENSE,Apache-2.0 github.com/go-openapi/jsonreference,https://github.com/go-openapi/jsonreference/blob/v0.20.1/LICENSE,Apache-2.0 github.com/go-openapi/swag,https://github.com/go-openapi/swag/blob/v0.22.3/LICENSE,Apache-2.0 @@ -37,16 +37,16 @@ github.com/prometheus/common,https://github.com/prometheus/common/blob/v0.37.0/L github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg,https://github.com/prometheus/common/blob/v0.37.0/internal/bitbucket.org/ww/goautoneg/README.txt,BSD-3-Clause github.com/prometheus/procfs,https://github.com/prometheus/procfs/blob/v0.8.0/LICENSE,Apache-2.0 github.com/spf13/pflag,https://github.com/spf13/pflag/blob/v1.0.5/LICENSE,BSD-3-Clause -go.mongodb.org/atlas/mongodbatlas,https://github.com/mongodb/go-client-mongodb-atlas/blob/v0.25.0/LICENSE,Apache-2.0 +go.mongodb.org/atlas/mongodbatlas,https://github.com/mongodb/go-client-mongodb-atlas/blob/v0.29.0/LICENSE,Apache-2.0 go.uber.org/atomic,https://github.com/uber-go/atomic/blob/v1.9.0/LICENSE.txt,MIT go.uber.org/multierr,https://github.com/uber-go/multierr/blob/v1.7.0/LICENSE.txt,MIT go.uber.org/zap,https://github.com/uber-go/zap/blob/v1.24.0/LICENSE.txt,MIT -golang.org/x/exp,https://cs.opensource.google/go/x/exp/+/5e25df02:LICENSE,BSD-3-Clause -golang.org/x/net,https://cs.opensource.google/go/x/net/+/v0.9.0:LICENSE,BSD-3-Clause -golang.org/x/oauth2,https://cs.opensource.google/go/x/oauth2/+/v0.7.0:LICENSE,BSD-3-Clause -golang.org/x/sync/errgroup,https://cs.opensource.google/go/x/sync/+/v0.1.0:LICENSE,BSD-3-Clause -golang.org/x/sys/unix,https://cs.opensource.google/go/x/sys/+/v0.7.0:LICENSE,BSD-3-Clause -golang.org/x/term,https://cs.opensource.google/go/x/term/+/v0.7.0:LICENSE,BSD-3-Clause +golang.org/x/exp,https://cs.opensource.google/go/x/exp/+/2e198f4a:LICENSE,BSD-3-Clause +golang.org/x/net,https://cs.opensource.google/go/x/net/+/v0.10.0:LICENSE,BSD-3-Clause +golang.org/x/oauth2,https://cs.opensource.google/go/x/oauth2/+/v0.8.0:LICENSE,BSD-3-Clause +golang.org/x/sync/errgroup,https://cs.opensource.google/go/x/sync/+/v0.2.0:LICENSE,BSD-3-Clause +golang.org/x/sys/unix,https://cs.opensource.google/go/x/sys/+/v0.9.0:LICENSE,BSD-3-Clause +golang.org/x/term,https://cs.opensource.google/go/x/term/+/v0.8.0:LICENSE,BSD-3-Clause golang.org/x/text,https://cs.opensource.google/go/x/text/+/v0.9.0:LICENSE,BSD-3-Clause golang.org/x/time/rate,https://cs.opensource.google/go/x/time/+/v0.3.0:LICENSE,BSD-3-Clause gomodules.xyz/jsonpatch/v2,https://github.com/gomodules/jsonpatch/blob/v2.2.0/v2/LICENSE,Apache-2.0 @@ -61,9 +61,9 @@ k8s.io/apimachinery/third_party/forked/golang,https://github.com/kubernetes/apim k8s.io/client-go,https://github.com/kubernetes/client-go/blob/v0.26.4/LICENSE,Apache-2.0 k8s.io/component-base/config,https://github.com/kubernetes/component-base/blob/v0.26.1/LICENSE,Apache-2.0 k8s.io/klog/v2,https://github.com/kubernetes/klog/blob/v2.90.1/LICENSE,Apache-2.0 -k8s.io/kube-openapi/pkg,https://github.com/kubernetes/kube-openapi/blob/15aac26d736a/LICENSE,Apache-2.0 -k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json,https://github.com/kubernetes/kube-openapi/blob/15aac26d736a/pkg/internal/third_party/go-json-experiment/json/LICENSE,BSD-3-Clause -k8s.io/kube-openapi/pkg/validation/spec,https://github.com/kubernetes/kube-openapi/blob/15aac26d736a/pkg/validation/spec/LICENSE,Apache-2.0 +k8s.io/kube-openapi/pkg,https://github.com/kubernetes/kube-openapi/blob/8b0f38b5fd1f/LICENSE,Apache-2.0 +k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json,https://github.com/kubernetes/kube-openapi/blob/8b0f38b5fd1f/pkg/internal/third_party/go-json-experiment/json/LICENSE,BSD-3-Clause +k8s.io/kube-openapi/pkg/validation/spec,https://github.com/kubernetes/kube-openapi/blob/8b0f38b5fd1f/pkg/validation/spec/LICENSE,Apache-2.0 k8s.io/utils,https://github.com/kubernetes/utils/blob/a36077c30491/LICENSE,Apache-2.0 k8s.io/utils/internal/third_party/forked/golang/net,https://github.com/kubernetes/utils/blob/a36077c30491/internal/third_party/forked/golang/LICENSE,BSD-3-Clause sigs.k8s.io/controller-runtime,https://github.com/kubernetes-sigs/controller-runtime/blob/v0.14.6/LICENSE,Apache-2.0