Skip to content

Commit 497a364

Browse files
committed
operator mariadb-operator(0.38.1)
Signed-off-by: Martin Montes <[email protected]>
1 parent 4d7c40a commit 497a364

13 files changed

+13368
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
creationTimestamp: null
5+
name: mariadboperators.helm.mariadb.mmontes.io
6+
spec:
7+
group: helm.mariadb.mmontes.io
8+
names:
9+
kind: MariadbOperator
10+
listKind: MariadbOperatorList
11+
plural: mariadboperators
12+
singular: mariadboperator
13+
scope: Namespaced
14+
versions:
15+
- name: v1alpha1
16+
schema:
17+
openAPIV3Schema:
18+
description: MariadbOperator is the Schema for the mariadboperators API
19+
properties:
20+
apiVersion:
21+
description: 'APIVersion defines the versioned schema of this representation
22+
of an object. Servers should convert recognized schemas to the latest
23+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
24+
type: string
25+
kind:
26+
description: 'Kind is a string value representing the REST resource this
27+
object represents. Servers may infer this from the endpoint the client
28+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
29+
type: string
30+
metadata:
31+
type: object
32+
spec:
33+
description: Spec defines the desired state of MariadbOperator
34+
type: object
35+
x-kubernetes-preserve-unknown-fields: true
36+
status:
37+
description: Status defines the observed state of MariadbOperator
38+
type: object
39+
x-kubernetes-preserve-unknown-fields: true
40+
type: object
41+
served: true
42+
storage: true
43+
subresources:
44+
status: {}
45+
status:
46+
acceptedNames:
47+
kind: ""
48+
plural: ""
49+
conditions: null
50+
storedVersions: null

operators/mariadb-operator/0.38.1/manifests/k8s.mariadb.com_backups.yaml

Lines changed: 1119 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 257 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,257 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.17.2
6+
creationTimestamp: null
7+
name: connections.k8s.mariadb.com
8+
spec:
9+
group: k8s.mariadb.com
10+
names:
11+
kind: Connection
12+
listKind: ConnectionList
13+
plural: connections
14+
shortNames:
15+
- cmdb
16+
singular: connection
17+
scope: Namespaced
18+
versions:
19+
- additionalPrinterColumns:
20+
- jsonPath: .status.conditions[?(@.type=="Ready")].status
21+
name: Ready
22+
type: string
23+
- jsonPath: .status.conditions[?(@.type=="Ready")].message
24+
name: Status
25+
type: string
26+
- jsonPath: .spec.secretName
27+
name: Secret
28+
type: string
29+
- jsonPath: .metadata.creationTimestamp
30+
name: Age
31+
type: date
32+
name: v1alpha1
33+
schema:
34+
openAPIV3Schema:
35+
description: Connection is the Schema for the connections API. It is used
36+
to configure connection strings for the applications connecting to MariaDB.
37+
properties:
38+
apiVersion:
39+
description: |-
40+
APIVersion defines the versioned schema of this representation of an object.
41+
Servers should convert recognized schemas to the latest internal value, and
42+
may reject unrecognized values.
43+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
44+
type: string
45+
kind:
46+
description: |-
47+
Kind is a string value representing the REST resource this object represents.
48+
Servers may infer this from the endpoint the client submits requests to.
49+
Cannot be updated.
50+
In CamelCase.
51+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
52+
type: string
53+
metadata:
54+
type: object
55+
spec:
56+
description: ConnectionSpec defines the desired state of Connection
57+
properties:
58+
database:
59+
description: Database to use when configuring the Connection.
60+
type: string
61+
healthCheck:
62+
description: HealthCheck to be used in the Connection.
63+
properties:
64+
interval:
65+
description: Interval used to perform health checks.
66+
type: string
67+
retryInterval:
68+
description: RetryInterval is the interval used to perform health
69+
check retries.
70+
type: string
71+
type: object
72+
host:
73+
description: Host to connect to. If not provided, it defaults to the
74+
MariaDB host or to the MaxScale host.
75+
type: string
76+
mariaDbRef:
77+
description: MariaDBRef is a reference to the MariaDB to connect to.
78+
Either MariaDBRef or MaxScaleRef must be provided.
79+
properties:
80+
name:
81+
type: string
82+
namespace:
83+
type: string
84+
waitForIt:
85+
default: true
86+
description: WaitForIt indicates whether the controller using
87+
this reference should wait for MariaDB to be ready.
88+
type: boolean
89+
type: object
90+
maxScaleRef:
91+
description: MaxScaleRef is a reference to the MaxScale to connect
92+
to. Either MariaDBRef or MaxScaleRef must be provided.
93+
properties:
94+
name:
95+
type: string
96+
namespace:
97+
type: string
98+
type: object
99+
params:
100+
additionalProperties:
101+
type: string
102+
description: Params to be used in the Connection.
103+
type: object
104+
passwordSecretKeyRef:
105+
description: |-
106+
PasswordSecretKeyRef is a reference to the password to use for configuring the Connection.
107+
Either passwordSecretKeyRef or tlsClientCertSecretRef must be provided as client credentials.
108+
If the referred Secret is labeled with "k8s.mariadb.com/watch", updates may be performed to the Secret in order to update the password.
109+
properties:
110+
key:
111+
type: string
112+
name:
113+
default: ""
114+
type: string
115+
required:
116+
- key
117+
type: object
118+
x-kubernetes-map-type: atomic
119+
port:
120+
description: Port to connect to. If not provided, it defaults to the
121+
MariaDB port or to the first MaxScale listener.
122+
format: int32
123+
type: integer
124+
secretName:
125+
description: SecretName to be used in the Connection.
126+
type: string
127+
secretTemplate:
128+
description: SecretTemplate to be used in the Connection.
129+
properties:
130+
databaseKey:
131+
description: DatabaseKey to be used in the Secret.
132+
type: string
133+
format:
134+
description: Format to be used in the Secret.
135+
type: string
136+
hostKey:
137+
description: HostKey to be used in the Secret.
138+
type: string
139+
key:
140+
description: Key to be used in the Secret.
141+
type: string
142+
metadata:
143+
description: Metadata to be added to the Secret object.
144+
properties:
145+
annotations:
146+
additionalProperties:
147+
type: string
148+
description: Annotations to be added to children resources.
149+
type: object
150+
labels:
151+
additionalProperties:
152+
type: string
153+
description: Labels to be added to children resources.
154+
type: object
155+
type: object
156+
passwordKey:
157+
description: PasswordKey to be used in the Secret.
158+
type: string
159+
portKey:
160+
description: PortKey to be used in the Secret.
161+
type: string
162+
usernameKey:
163+
description: UsernameKey to be used in the Secret.
164+
type: string
165+
type: object
166+
serviceName:
167+
description: ServiceName to be used in the Connection.
168+
type: string
169+
tlsClientCertSecretRef:
170+
description: |-
171+
TLSClientCertSecretRef is a reference to a Kubernetes TLS Secret used as authentication when checking the connection health.
172+
Either passwordSecretKeyRef or tlsClientCertSecretRef must be provided as client credentials.
173+
If not provided, the client certificate provided by the referred MariaDB is used if TLS is enabled.
174+
If the referred Secret is labeled with "k8s.mariadb.com/watch", updates may be performed to the Secret in order to update the client certificate.
175+
properties:
176+
name:
177+
default: ""
178+
type: string
179+
type: object
180+
username:
181+
description: Username to use for configuring the Connection.
182+
type: string
183+
required:
184+
- username
185+
type: object
186+
status:
187+
description: ConnectionStatus defines the observed state of Connection
188+
properties:
189+
conditions:
190+
description: Conditions for the Connection object.
191+
items:
192+
description: Condition contains details for one aspect of the current
193+
state of this API Resource.
194+
properties:
195+
lastTransitionTime:
196+
description: |-
197+
lastTransitionTime is the last time the condition transitioned from one status to another.
198+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
199+
format: date-time
200+
type: string
201+
message:
202+
description: |-
203+
message is a human readable message indicating details about the transition.
204+
This may be an empty string.
205+
maxLength: 32768
206+
type: string
207+
observedGeneration:
208+
description: |-
209+
observedGeneration represents the .metadata.generation that the condition was set based upon.
210+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
211+
with respect to the current state of the instance.
212+
format: int64
213+
minimum: 0
214+
type: integer
215+
reason:
216+
description: |-
217+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
218+
Producers of specific condition types may define expected values and meanings for this field,
219+
and whether the values are considered a guaranteed API.
220+
The value should be a CamelCase string.
221+
This field may not be empty.
222+
maxLength: 1024
223+
minLength: 1
224+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
225+
type: string
226+
status:
227+
description: status of the condition, one of True, False, Unknown.
228+
enum:
229+
- "True"
230+
- "False"
231+
- Unknown
232+
type: string
233+
type:
234+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
235+
maxLength: 316
236+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
237+
type: string
238+
required:
239+
- lastTransitionTime
240+
- message
241+
- reason
242+
- status
243+
- type
244+
type: object
245+
type: array
246+
type: object
247+
type: object
248+
served: true
249+
storage: true
250+
subresources:
251+
status: {}
252+
status:
253+
acceptedNames:
254+
kind: ""
255+
plural: ""
256+
conditions: null
257+
storedVersions: null

0 commit comments

Comments
 (0)