forked from telekom-mms/cmcc-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmcc-crd.yaml
382 lines (382 loc) · 15.4 KB
/
cmcc-crd.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# Generated by Fabric8 CRDGenerator, manual edits might get overwritten!
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: coremediacontentclouds.cmcc.tsystemsmms.com
spec:
group: cmcc.tsystemsmms.com
names:
kind: CoreMediaContentCloud
plural: coremediacontentclouds
shortNames:
- cmcc
- coremedia
singular: coremediacontentcloud
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.error
name: ERROR
type: string
- jsonPath: .status.milestone
name: MILESTONE
type: string
name: v1
schema:
openAPIV3Schema:
properties:
spec:
properties:
comment:
description: An arbitrary comment; can be used to force an update
to the object
type: string
components:
description: "List of components (CMS, Solr, CAE, etc.)"
items:
properties:
type:
description: Type of the component
type: string
kind:
description: "Sub-type ('cms' or 'mls', or 'master' and 'replica',\
\ or 'preview' and 'live')"
type: string
name:
description: Name to be used for k8s objects
type: string
args:
description: Args for the main pod container
items:
type: string
type: array
env:
description: Additional environment variables
items:
properties:
name:
type: string
value:
type: string
valueFrom:
properties:
configMapKeyRef:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
type: object
fieldRef:
properties:
apiVersion:
type: string
fieldPath:
type: string
type: object
resourceFieldRef:
properties:
containerName:
type: string
divisor:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
resource:
type: string
type: object
secretKeyRef:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
type: object
type: object
type: object
type: array
extra:
additionalProperties:
type: string
description: Extra parameters (depends on component)
type: object
image:
description: Image for main pod' main container
properties:
registry:
description: Image registry (default 'coremedia')
type: string
repository:
description: Image repository (default differs between components)
type: string
tag:
description: Image tag (default 'latest')
type: string
pullPolicy:
description: Image pull policy (default 'IfNotPresent')
type: string
type: object
milestone:
description: Make available with this milestone
enum:
- Created
- DatabasesReady
- ContentServerInitialized
- ContentServerReady
- ManagementReady
- Ready
- RunJob
- Never
- next
type: string
schemas:
additionalProperties:
type: string
description: "Schema names for JDBC, MongoDB, and/or UAPI"
type: object
type: object
type: array
clientSecretRefs:
additionalProperties:
additionalProperties:
properties:
secretName:
description: resource name of the secret
type: string
driverKey:
description: entry in the secret for the driver class or name
type: string
hostnameKey:
description: entry in the secret for hostname of the server
type: string
passwordKey:
description: entry in the secret for the password to authenticate
with
type: string
schemaKey:
description: "entry in the secret for the schema, database\
\ or service to use"
type: string
urlKey:
description: entry in the secret for the url to connect to
type: string
usernameKey:
description: entry in the secret for the username to authenticate
with
type: string
type: object
type: object
description: References to existing secrets for components connecting
as clients to services
type: object
defaultIngressTls:
description: Ingress TLS defaults
properties:
enabled:
description: Enable TLS for this ingress
type: boolean
secretName:
description: Name of secret with the TLS certificate
type: string
type: object
defaults:
description: Default values for components
properties:
curlImage:
description: Docker image with curl available
type: string
image:
description: Defaults for the image specification
properties:
registry:
description: Image registry (default 'coremedia')
type: string
repository:
description: Image repository (default differs between components)
type: string
tag:
description: Image tag (default 'latest')
type: string
pullPolicy:
description: Image pull policy (default 'IfNotPresent')
type: string
type: object
ingressDomain:
description: Default domain name for Ingresses
type: string
insecureDatabasePassword:
description: "Use this password for all database accounts, instead\
\ of a random one."
type: string
resources:
description: Default resource declarations
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
type: object
type: object
namePrefix:
description: Prefix resources with this name plus '-'. Empty string
means no prefix
type: string
previewHostname:
description: "Hostname of the preview CAE. If short, will be prefixed\
\ with the prefix and the ingressDomain appended"
type: string
storageClass:
description: Name of StorageClass to be used for PersistentVolumeClaims
type: string
studioHostname:
description: "Hostname of the Studio. If short, will be prefixed\
\ with the prefix and the ingressDomain appended"
type: string
servletNames:
description: List of servlets the CAE serves
items:
type: string
type: array
type: object
licenseSecrets:
description: Names of the secrets containing the license
properties:
CMSLicense:
description: Name of the secret that has the license.zip for the
Content Management Server
type: string
MLSLicense:
description: Name of the secret that has the license.zip for the
Master Live Server
type: string
RLSLicense:
description: Name of the secret that has the license.zip for the
Replication Live Server
type: string
type: object
siteMappings:
description: Site mappings
items:
properties:
additionalSegments:
description: Additional segments that are available through
this hostname
items:
type: string
type: array
fqdn:
description: Fully-qualified hostname of the site; defaults
to the simple hostname
type: string
hostname:
description: Simple hostname of the site; used as the key for
site mappings
type: string
primarySegment:
description: The site segment the root maps to
type: string
tls:
description: TLS settings for this mapping
properties:
enabled:
description: Enable TLS for this ingress
type: boolean
secretName:
description: Name of secret with the TLS certificate
type: string
type: object
type: object
type: array
with:
description: Optional special components and configurations
properties:
contentImport:
description: "Import content, users, themes and workflows"
type: boolean
databases:
description: Create databases for CoreMedia
type: boolean
delivery:
description: Create default components for the delivery stage
properties:
rls:
anyOf:
- type: integer
- type: string
description: Number of RLS to create
x-kubernetes-int-or-string: true
minCae:
anyOf:
- type: integer
- type: string
description: Minimum number of CAEs per RLS
x-kubernetes-int-or-string: true
maxCae:
anyOf:
- type: integer
- type: string
description: Maximum number of CAEs per RLS
x-kubernetes-int-or-string: true
type: object
management:
description: Create default components for the management stage
type: boolean
type: object
job:
description: Run this job component once from Ready
type: string
type: object
status:
properties:
error:
description: "Error indication, or empty string"
type: string
errorMessage:
description: Error message if state is error
type: string
flags:
additionalProperties:
type: string
description: Additional state flags
type: object
job:
description: Currently executing job
type: string
milestone:
description: Which milestone has been reached in configuring all components
enum:
- Created
- DatabasesReady
- ContentServerInitialized
- ContentServerReady
- ManagementReady
- Ready
- RunJob
- Never
- next
type: string
ownedResourceRefs:
description: Unused
type: string
observedGeneration:
type: integer
type: object
type: object
served: true
storage: true
subresources:
status: {}