Skip to content

Commit 28e563b

Browse files
authored
MongoDB Kubernetes Operator Release 1.0.0 (#400)
1 parent 000815e commit 28e563b

17 files changed

+8377
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: v2
2+
name: mongodb-kubernetes
3+
description: MongoDB Controllers for Kubernetes translate the human knowledge of creating
4+
a MongoDB instance into a scalable, repeatable, and standardized method.
5+
version: 1.0.0
6+
kubeVersion: '>=1.16-0'
7+
type: application
8+
keywords:
9+
- mongodb
10+
- database
11+
- nosql
12+
icon: https://mongodb-images-new.s3.eu-west-1.amazonaws.com/leaf-green-dark.png
13+
home: https://github.com/mongodb/mongodb-kubernetes
14+
maintainers:
15+
- name: MongoDB
16+

charts/mongodb-kubernetes-operator/crds/mongodb.com_mongodb.yaml

Lines changed: 2662 additions & 0 deletions
Large diffs are not rendered by default.

charts/mongodb-kubernetes-operator/crds/mongodb.com_mongodbmulti.yaml

Lines changed: 638 additions & 0 deletions
Large diffs are not rendered by default.

charts/mongodb-kubernetes-operator/crds/mongodb.com_mongodbmulticluster.yaml

Lines changed: 1074 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.15.0
7+
name: mongodbusers.mongodb.com
8+
spec:
9+
group: mongodb.com
10+
names:
11+
kind: MongoDBUser
12+
listKind: MongoDBUserList
13+
plural: mongodbusers
14+
shortNames:
15+
- mdbu
16+
singular: mongodbuser
17+
scope: Namespaced
18+
versions:
19+
- additionalPrinterColumns:
20+
- description: The current state of the MongoDB User.
21+
jsonPath: .status.phase
22+
name: Phase
23+
type: string
24+
- description: The time since the MongoDB User resource was created.
25+
jsonPath: .metadata.creationTimestamp
26+
name: Age
27+
type: date
28+
name: v1
29+
schema:
30+
openAPIV3Schema:
31+
properties:
32+
apiVersion:
33+
description: |-
34+
APIVersion defines the versioned schema of this representation of an object.
35+
Servers should convert recognized schemas to the latest internal value, and
36+
may reject unrecognized values.
37+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
38+
type: string
39+
kind:
40+
description: |-
41+
Kind is a string value representing the REST resource this object represents.
42+
Servers may infer this from the endpoint the client submits requests to.
43+
Cannot be updated.
44+
In CamelCase.
45+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
46+
type: string
47+
metadata:
48+
type: object
49+
spec:
50+
properties:
51+
connectionStringSecretName:
52+
type: string
53+
db:
54+
type: string
55+
mongodbResourceRef:
56+
properties:
57+
name:
58+
type: string
59+
namespace:
60+
type: string
61+
required:
62+
- name
63+
type: object
64+
passwordSecretKeyRef:
65+
description: |-
66+
SecretKeyRef is a reference to a value in a given secret in the same
67+
namespace. Based on:
68+
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#secretkeyselector-v1-core
69+
properties:
70+
key:
71+
type: string
72+
name:
73+
type: string
74+
required:
75+
- name
76+
type: object
77+
roles:
78+
items:
79+
properties:
80+
db:
81+
type: string
82+
name:
83+
type: string
84+
required:
85+
- db
86+
- name
87+
type: object
88+
type: array
89+
username:
90+
type: string
91+
required:
92+
- db
93+
- username
94+
type: object
95+
status:
96+
properties:
97+
db:
98+
type: string
99+
lastTransition:
100+
type: string
101+
message:
102+
type: string
103+
observedGeneration:
104+
format: int64
105+
type: integer
106+
phase:
107+
type: string
108+
project:
109+
type: string
110+
pvc:
111+
items:
112+
properties:
113+
phase:
114+
type: string
115+
statefulsetName:
116+
type: string
117+
required:
118+
- phase
119+
- statefulsetName
120+
type: object
121+
type: array
122+
resourcesNotReady:
123+
items:
124+
description: ResourceNotReady describes the dependent resource which
125+
is not ready yet
126+
properties:
127+
errors:
128+
items:
129+
properties:
130+
message:
131+
type: string
132+
reason:
133+
type: string
134+
type: object
135+
type: array
136+
kind:
137+
description: ResourceKind specifies a kind of a Kubernetes resource.
138+
Used in status of a Custom Resource
139+
type: string
140+
message:
141+
type: string
142+
name:
143+
type: string
144+
required:
145+
- kind
146+
- name
147+
type: object
148+
type: array
149+
roles:
150+
items:
151+
properties:
152+
db:
153+
type: string
154+
name:
155+
type: string
156+
required:
157+
- db
158+
- name
159+
type: object
160+
type: array
161+
username:
162+
type: string
163+
warnings:
164+
items:
165+
type: string
166+
type: array
167+
required:
168+
- db
169+
- phase
170+
- project
171+
- username
172+
type: object
173+
required:
174+
- spec
175+
type: object
176+
served: true
177+
storage: true
178+
subresources:
179+
status: {}

0 commit comments

Comments
 (0)