Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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.29.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v2

Expand Down
609 changes: 318 additions & 291 deletions bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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.29.0
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v2

Expand Down
4 changes: 2 additions & 2 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: mongodb-atlas-controller
newTag: latest
newName: localhost:5000/mongodb-atlas-operator
newTag: main-42598ff

Large diffs are not rendered by default.

282 changes: 279 additions & 3 deletions deploy/all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <major version>.<minor version> 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
Expand Down Expand Up @@ -3261,6 +3517,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:
Expand Down Expand Up @@ -3382,11 +3658,11 @@ spec:
spec:
containers:
- args:
- --atlas-domain=https://cloud.mongodb.com/
- --atlas-domain=https://cloud-qa.mongodb.com/
- --leader-elect
- --health-probe-bind-address=:8081
- --metrics-bind-address=127.0.0.1:8080
- --log-level=info
- --log-level=debug
- --log-encoder=json
command:
- /manager
Expand All @@ -3399,7 +3675,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: mongodb/mongodb-atlas-kubernetes-operator:1.7.3
image: localhost:5000/mongodb-atlas-operator:main-42598ff
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down
26 changes: 23 additions & 3 deletions deploy/clusterwide/clusterwide-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -269,11 +289,11 @@ spec:
spec:
containers:
- args:
- --atlas-domain=https://cloud.mongodb.com/
- --atlas-domain=https://cloud-qa.mongodb.com/
- --leader-elect
- --health-probe-bind-address=:8081
- --metrics-bind-address=127.0.0.1:8080
- --log-level=info
- --log-level=debug
- --log-encoder=json
command:
- /manager
Expand All @@ -286,7 +306,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: mongodb/mongodb-atlas-kubernetes-operator:1.7.3
image: localhost:5000/mongodb-atlas-operator:main-42598ff
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down
Loading