-
Notifications
You must be signed in to change notification settings - Fork 2
/
values.schema.json
540 lines (521 loc) · 19.2 KB
/
values.schema.json
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
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
{
"$schema": "https://json-schema.org/draft-07/schema#",
"title": "Values",
"description": "Values for K2HR3 Helm",
"type": "object",
"properties": {
"nameOverride": {
"description": "[optional] Override release part of fully name, if not specified fullnameOverride value.",
"type": "string"
},
"fullnameOverride": {
"description": "[optional] Override fully chart/release name.",
"type": "string"
},
"serviceAccount": {
"description": "[optional] Service account setting for K2HR3 API.",
"type": "object",
"properties": {
"create": {
"description": "[optional] Specifies whether to create a service account, default is true. If set false, not create service account.",
"type": "boolean"
},
"annotations": {
"description": "[optional] Annotations to add to the service account, default is empty.",
"type": "object"
},
"name": {
"description": "[optional] Specifies Service account name, default is empty. If not set and create is true, a name is generated using the fullname template.",
"type": "string"
}
},
"required": [
"create",
"annotations",
"name"
]
},
"antpickax": {
"description": "[optional] Common application settings for AntPickax products.",
"type": "object",
"properties": {
"configDir": {
"description": "[optional] Configration directory path for AntPickax products, default is /etc/antpickax.",
"type": "string"
},
"certPeriodYear": {
"description": "[optional] Period years for self signed certificates using in pods, default is 5(year).",
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"configDir",
"certPeriodYear"
]
},
"minikube": {
"description": "[optional] Specify whether or not it is a minikube environment, default is false.",
"type": "boolean"
},
"k2hr3": {
"description": "[optional] K2HR3 system settings.",
"type": "object",
"properties": {
"clusterName": {
"description": "[optional] Specify a cluster name for K2HR3 system, default is empty. If not set, a name is Release name(.Release.Name).",
"type": "string"
},
"startManual": {
"description": "[optional] Specifies whether to boot the k2hr3 system manually. This is a flag for debugging.",
"type": "boolean"
},
"baseDomain": {
"description": "[optional] Specifies the base domain name for the k2hr3 system. The default is empty, if empty k8s.domain is used.",
"type": "string"
},
"dkc": {
"description": "[optional] The setting for the backend K2HDKC cluster used by the K2HR3 system.",
"type": "object",
"properties": {
"baseName": {
"description": "[optional] Specify the base name for K2HDKC cluster, default is empty in which case r3dkc will be used.",
"type": "string"
},
"count": {
"description": "[optional] Specify the server count in K2HKDC cluster, default is 2.",
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"baseName",
"count"
]
},
"api": {
"description": "[optional] The setting for the K2HR3 REST API in K2HR3 system.",
"type": "object",
"properties": {
"baseName": {
"description": "[optional] Specify the base name for K2HR3 REST API, default is empty in which case r3api will be used.",
"type": "string"
},
"count": {
"description": "[optional] Specify the server count of K2HR3 REST API, default is 2.",
"type": "number",
"exclusiveMinimum": 0
},
"extHostname": {
"description": "[optional] Specify the external hostname(FQDN) for K2HR3 REST API system, default is empty in which case internal hostname will be used.",
"anyOf": [
{
"type": "string",
"format": "hostname"
},
{
"type": "string",
"maxLength": 255
}
]
},
"extPort": {
"description": "[optional] Specify the external port number for K2HR3 REST API system, default is 0 in which case 31443 will be used.",
"type": "number",
"minimum": 0
},
"customConf": {
"description": "[optional] Specify the custom configuration file content formatted by json string(config/local.json(local.json5)).",
"type": "string",
"maxLength": 4095
},
"localTenant": {
"description": "[optional] Specify whether to support the LOCAL TENANT API.",
"type": "boolean"
}
},
"required": [
"baseName",
"count",
"extHostname",
"extPort"
]
},
"app": {
"description": "[optional] The setting for the K2HR3 Web Application in K2HR3 system.",
"type": "object",
"properties": {
"baseName": {
"description": "[optional] Specify the base name for K2HR3 Web Application, default is empty in which case r3app will be used.",
"type": "string"
},
"count": {
"description": "[optional] Specify the server count of K2HR3 Web Application, default is 2.",
"type": "number",
"exclusiveMinimum": 0
},
"extHostname": {
"description": "[optional] Specify the external hostname(FQDN) for K2HR3 Web Application system, default is empty in which case internal hostname will be used.",
"anyOf": [
{
"type": "string",
"format": "hostname"
},
{
"type": "string",
"maxLength": 255
}
]
},
"extPort": {
"description": "[optional] Specify the external port number for K2HR3 Web Application system, default is 0 in which case 32443 will be used.",
"type": "number",
"minimum": 0
},
"customConf": {
"description": "[optional] Specify the custom configuration file content formatted by json string(config/local.json(local.json5)).",
"type": "string",
"maxLength": 4095
},
"localTenant": {
"description": "[optional] Specify whether to support the LOCAL TENANT.",
"type": "boolean"
}
},
"required": [
"baseName",
"count",
"extHostname",
"extPort"
]
},
"env": {
"description": "[optional] The environments for the K2HR3 system.",
"type": "object",
"properties": {
"httpProxy": {
"description": "[optional] Specify the HTTP PROXY environment(ex. http://proxy.local:8080) for the K2HR3 system, default is empty.",
"type": "string",
"maxLength": 255
},
"httpsProxy": {
"description": "[optional] Specify the HTTPS PROXY environment(ex. http://proxy.local:8080) for the K2HR3 system, default is empty.",
"type": "string",
"maxLength": 255
},
"noProxy": {
"description": "[optional] Specify the NO PROXY environment(ex. internal,127.1.1.1) for the K2HR3 system, default is empty.",
"type": "string",
"maxLength": 2047
}
},
"required": [
"httpProxy",
"httpsProxy",
"noProxy"
]
}
},
"required": [
"clusterName",
"startManual",
"baseDomain",
"dkc",
"api",
"app"
]
},
"images": {
"description": "[optional] Specify the image's organization and name and version of the image used by the pods deployed.",
"type": "object",
"properties": {
"app": {
"description": "[optional] Specify the K2HR3 Web Application(k2hr3-app) image organization and name and version.",
"type": "object",
"properties": {
"fullImageName": {
"description": "[optional] Specify the image full name(organaization/name/version) for K2HR3 Web Application, default is empty.",
"type": "string"
},
"organization": {
"description": "[optional] Specify the organaization for K2HR3 Web Application, default is empty. (valid only if fullImageName is empty)",
"type": "string"
},
"imageName": {
"description": "[optional] Specify the image name for K2HR3 Web Application, default is empty. (valid only if fullImageName is empty)",
"type": "string"
},
"version": {
"description": "[optional] Specify the version for K2HR3 Web Application, default is empty. (valid only if fullImageName is empty)",
"type": "string"
}
}
},
"api": {
"description": "[optional] Specify the K2HR3 REST API(k2hr3-api) image organization and name and version.",
"type": "object",
"properties": {
"fullImageName": {
"description": "[optional] Specify the image full name(organaization/name/version) for K2HR3 REST API, default is empty.",
"type": "string"
},
"organization": {
"description": "[optional] Specify the organaization for K2HR3 REST API, default is empty. (valid only if fullImageName is empty)",
"type": "string"
},
"imageName": {
"description": "[optional] Specify the image name for K2HR3 REST API, default is empty. (valid only if fullImageName is empty)",
"type": "string"
},
"version": {
"description": "[optional] Specify the version for K2HR3 REST API, default is empty. (valid only if fullImageName is empty)",
"type": "string"
}
}
},
"dkc": {
"description": "[optional] Specify the backend K2HDKC image organization and name and version.",
"type": "object",
"properties": {
"fullImageName": {
"description": "[optional] Specify the image full name(organaization/name/version) for the backend K2HDKC, default is empty.",
"type": "string"
},
"organization": {
"description": "[optional] Specify the organaization for the backend K2HDKC image, default is empty. (valid only if fullImageName is empty)",
"type": "string"
},
"imageName": {
"description": "[optional] Specify the image name for the backend K2HDKC, default is empty. (valid only if fullImageName is empty)",
"type": "string"
},
"version": {
"description": "[optional] Specify the version for the backend K2HDKC image, default is empty. (valid only if fullImageName is empty)",
"type": "string"
}
}
},
"chmpx": {
"description": "[optional] Specify the backend CHMPX image organization and name and version.",
"type": "object",
"properties": {
"fullImageName": {
"description": "[optional] Specify the image full name(organaization/name/version) for the backend CHMPX, default is empty.",
"type": "string"
},
"organization": {
"description": "[optional] Specify the organaization for the backend CHMPX image, default is empty. (valid only if fullImageName is empty)",
"type": "string"
},
"imageName": {
"description": "[optional] Specify the image name for the backend CHMPX, default is empty. (valid only if fullImageName is empty)",
"type": "string"
},
"version": {
"description": "[optional] Specify the version for the backend CHMPX image, default is empty. (valid only if fullImageName is empty)",
"type": "string"
}
}
},
"init": {
"description": "[optional] Specify the organization and name and version of the container initialization image.",
"type": "object",
"properties": {
"fullImageName": {
"description": "[optional] Specify the image full name(organaization/name/version) for the container initialization image, default is empty.",
"type": "string"
},
"organization": {
"description": "[optional] Specify the organization of the container initialization image, default is empty. (valid only if fullImageName is empty)",
"type": "string"
},
"imageName": {
"description": "[optional] Specify the image name for the container initialization image, default is empty. (valid only if fullImageName is empty)",
"type": "string"
},
"version": {
"description": "[optional] Specify the version of the container initialization image, default is empty. (valid only if fullImageName is empty)",
"type": "string"
}
}
}
},
"required": [
"app",
"api",
"dkc",
"chmpx",
"init"
]
},
"mountPoint": {
"description": "[optional] Specify the directory path in each pods to mount the configmap and secret.",
"type": "object",
"properties": {
"configMap": {
"description": "[optional] Specify the directory path in each pods to mount the configmap, default is /configmap.",
"type": "string"
},
"ca": {
"description": "[optional] Specify the directory path in each pods to mount the secret which has CA self signed certificates, default is /secret-ca.",
"type": "string"
}
},
"required": [
"configMap",
"ca"
]
},
"k8s": {
"description": "[optional] Set the information for the kubernetes cluster in which will be deployed the K2HR3 system.",
"type": "object",
"properties": {
"namespace": {
"description": "[optional] Specify the kubernetes namespace to deploy K2HR3 system, default is empty. If not set, use Release.Namespace.",
"type": "string"
},
"domain": {
"description": "[optional] Specify the domain name of the kubernetes cluster to deploy K2HR3 system, default is svc.cluster.local.",
"type": "string"
},
"caCert": {
"description": "[optional] Specify the CA certificate file path for the kubernetes API, default is /var/run/secrets/kubernetes.io/serviceaccount/ca.crt.",
"type": "string"
},
"saToken": {
"description": "[optional] Specify the token file path for the Service account, default is /var/run/secrets/kubernetes.io/serviceaccount/token.",
"type": "string"
},
"apiUrl": {
"description": "[optional] Specify the kubernetes API URL, default is https://kubernetes.default.svc.",
"type": "string",
"format": "uri"
}
},
"required": [
"namespace",
"domain",
"caCert",
"saToken",
"apiUrl"
]
},
"oidc": {
"description": "[optional] Set the information of the OpenID Connect(OIDC) authentication system used by the K2HR3 system.",
"type": "object",
"properties": {
"clientId": {
"description": "[required] Specify the OpenID Connect Client ID.",
"type": "string",
"minLength": 1
},
"clientSecret": {
"description": "[required] Specify the OpenID Connect Secret.",
"type": "string",
"minLength": 1
},
"cookieExpire": {
"description": "[required] Specify the OpenID Connect Cookie Expire.",
"type": "number",
"exclusiveMinimum": 0
},
"cookieName": {
"description": "[required] Specify the OpenID Connect Cookie Name.",
"type": "string",
"minLength": 1
},
"issuerUrl": {
"description": "[required] Specify the OpenID Connect Issuer URL.",
"type": "string",
"format": "uri"
},
"usernameKey": {
"description": "[optional] Specify the OpenID Connect user key name, default is empty.",
"type": "string",
"minLength": 0
}
},
"required": [
"clientId",
"clientSecret",
"cookieExpire",
"cookieName",
"issuerUrl"
]
},
"unconvertedFiles": {
"description": "[optional] Specify the files(unconverted) to be placed in configmap.",
"type": "object",
"properties": {
"k2hr3": {
"description": "[optional] Specify an array of files(unconverted) for K2HR3 system.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"description": "[optional] Specify the filename.",
"type": "string",
"minLength": 1
},
"path": {
"description": "[optional] Specify the path of the file to upload.",
"type": "string",
"minLength": 1
}
},
"required": [
"key",
"path"
]
}
}
},
"required": [
"k2hr3"
]
},
"convertedFiles": {
"description": "[optional] Specify the files(converted) to be placed in configmap.",
"type": "object",
"properties": {
"k2hr3": {
"description": "[optional] Specify an array of files(converted) for K2HR3 system.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"description": "[required] Specify the filename.",
"type": "string",
"minLength": 1
},
"path": {
"description": "[required] Specify the path of the file to upload.",
"type": "string",
"minLength": 1
}
},
"required": [
"key",
"path"
]
}
}
},
"required": [
"k2hr3"
]
}
},
"required": [
"antpickax",
"minikube",
"k2hr3",
"mountPoint",
"k8s",
"oidc",
"unconvertedFiles",
"convertedFiles"
]
}