Skip to content

Commit b7941de

Browse files
authored
operator mariadb-operator(0.32.0) (redhat-openshift-ecosystem#5249)
Signed-off-by: Martin Montes <[email protected]>
1 parent 26a3fcb commit b7941de

13 files changed

+11938
-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.32.0/manifests/k8s.mariadb.com_backups.yaml

Lines changed: 1023 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 246 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,246 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.16.1
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+
If the referred Secret is labeled with "k8s.mariadb.com/watch", updates may be performed to the Secret in order to update the password.
108+
properties:
109+
key:
110+
type: string
111+
name:
112+
default: ""
113+
type: string
114+
required:
115+
- key
116+
type: object
117+
x-kubernetes-map-type: atomic
118+
port:
119+
description: Port to connect to. If not provided, it defaults to the
120+
MariaDB port or to the first MaxScale listener.
121+
format: int32
122+
type: integer
123+
secretName:
124+
description: SecretName to be used in the Connection.
125+
type: string
126+
secretTemplate:
127+
description: SecretTemplate to be used in the Connection.
128+
properties:
129+
databaseKey:
130+
description: DatabaseKey to be used in the Secret.
131+
type: string
132+
format:
133+
description: Format to be used in the Secret.
134+
type: string
135+
hostKey:
136+
description: HostKey to be used in the Secret.
137+
type: string
138+
key:
139+
description: Key to be used in the Secret.
140+
type: string
141+
metadata:
142+
description: Metadata to be added to the Secret object.
143+
properties:
144+
annotations:
145+
additionalProperties:
146+
type: string
147+
description: Annotations to be added to children resources.
148+
type: object
149+
labels:
150+
additionalProperties:
151+
type: string
152+
description: Labels to be added to children resources.
153+
type: object
154+
type: object
155+
passwordKey:
156+
description: PasswordKey to be used in the Secret.
157+
type: string
158+
portKey:
159+
description: PortKey to be used in the Secret.
160+
type: string
161+
usernameKey:
162+
description: UsernameKey to be used in the Secret.
163+
type: string
164+
type: object
165+
serviceName:
166+
description: ServiceName to be used in the Connection.
167+
type: string
168+
username:
169+
description: Username to use for configuring the Connection.
170+
type: string
171+
required:
172+
- passwordSecretKeyRef
173+
- username
174+
type: object
175+
status:
176+
description: ConnectionStatus defines the observed state of Connection
177+
properties:
178+
conditions:
179+
description: Conditions for the Connection object.
180+
items:
181+
description: Condition contains details for one aspect of the current
182+
state of this API Resource.
183+
properties:
184+
lastTransitionTime:
185+
description: |-
186+
lastTransitionTime is the last time the condition transitioned from one status to another.
187+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
188+
format: date-time
189+
type: string
190+
message:
191+
description: |-
192+
message is a human readable message indicating details about the transition.
193+
This may be an empty string.
194+
maxLength: 32768
195+
type: string
196+
observedGeneration:
197+
description: |-
198+
observedGeneration represents the .metadata.generation that the condition was set based upon.
199+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
200+
with respect to the current state of the instance.
201+
format: int64
202+
minimum: 0
203+
type: integer
204+
reason:
205+
description: |-
206+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
207+
Producers of specific condition types may define expected values and meanings for this field,
208+
and whether the values are considered a guaranteed API.
209+
The value should be a CamelCase string.
210+
This field may not be empty.
211+
maxLength: 1024
212+
minLength: 1
213+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
214+
type: string
215+
status:
216+
description: status of the condition, one of True, False, Unknown.
217+
enum:
218+
- "True"
219+
- "False"
220+
- Unknown
221+
type: string
222+
type:
223+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
224+
maxLength: 316
225+
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])$
226+
type: string
227+
required:
228+
- lastTransitionTime
229+
- message
230+
- reason
231+
- status
232+
- type
233+
type: object
234+
type: array
235+
type: object
236+
type: object
237+
served: true
238+
storage: true
239+
subresources:
240+
status: {}
241+
status:
242+
acceptedNames:
243+
kind: ""
244+
plural: ""
245+
conditions: null
246+
storedVersions: null

0 commit comments

Comments
 (0)