Skip to content

Commit 790fc69

Browse files
Shubham9t9Shubham9t9
andauthored
schema.json of reference charts update (#2572)
* updated schema.jsonn file for reference-chart_4-13-0 and reference-chart_4-14-0 * updated schema.json for command.workingDir * removed changes in 3.x reference chart schema.json * removed comma in 3.x reference chart schema.json * added command.workDir in 4.10 and 4.12 schema.json * updated workDir in schema.json of reference-chart_4-15-0 * update schema.json for reference charts for ingress.labels * update schema.json for reference charts for autoscaling.labels and autoscaling.annotations * changed type for ingress.labels from string to object Co-authored-by: Shubham9t9 <[email protected]>
1 parent fbdb05f commit 790fc69

File tree

11 files changed

+272
-8
lines changed

11 files changed

+272
-8
lines changed

scripts/devtron-reference-helm-charts/reference-chart_3-10-0/schema.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"description": "used for enabling/disabling autoscaling",
317317
"title": "Enabled"
318318
},
319+
"labels": {
320+
"type": "object",
321+
"description": "labels for HPA",
322+
"title": "labels"
323+
},
324+
"annotations": {
325+
"type": "object",
326+
"description": "used to configure some options for HPA",
327+
"title": "annotations"
328+
},
319329
"extraMetrics": {
320330
"type": "array",
321331
"items": {},
@@ -338,7 +348,7 @@
338348
"items": {},
339349
"description": "contains the commands",
340350
"title": "Value"
341-
}
351+
}
342352
}
343353
},
344354
"containers": {
@@ -462,6 +472,12 @@
462472
}
463473
}
464474
},
475+
"labels": {
476+
"type": "object",
477+
"description": "labels for ingress",
478+
"title": "Ingress labels",
479+
"default": ""
480+
},
465481
"enabled": {
466482
"type": "boolean",
467483
"description": "used to enable or disable ingress",

scripts/devtron-reference-helm-charts/reference-chart_3-11-0/schema.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"description": "used for enabling/disabling autoscaling",
317317
"title": "Enabled"
318318
},
319+
"labels": {
320+
"type": "object",
321+
"description": "labels for HPA",
322+
"title": "labels"
323+
},
324+
"annotations": {
325+
"type": "object",
326+
"description": "used to configure some options for HPA",
327+
"title": "annotations"
328+
},
319329
"extraMetrics": {
320330
"type": "array",
321331
"items": {},
@@ -464,6 +474,12 @@
464474
}
465475
}
466476
},
477+
"labels": {
478+
"type": "object",
479+
"description": "labels for ingress",
480+
"title": "Ingress labels",
481+
"default": ""
482+
},
467483
"enabled": {
468484
"type": "boolean",
469485
"description": "used to enable or disable ingress",

scripts/devtron-reference-helm-charts/reference-chart_3-12-0/schema.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"description": "used for enabling/disabling autoscaling",
317317
"title": "Enabled"
318318
},
319+
"labels": {
320+
"type": "object",
321+
"description": "labels for HPA",
322+
"title": "labels"
323+
},
324+
"annotations": {
325+
"type": "object",
326+
"description": "used to configure some options for HPA",
327+
"title": "annotations"
328+
},
319329
"extraMetrics": {
320330
"type": "array",
321331
"items": {},
@@ -338,7 +348,7 @@
338348
"items": {},
339349
"description": "contains the commands",
340350
"title": "Value"
341-
}
351+
}
342352
}
343353
},
344354
"containers": {
@@ -464,6 +474,12 @@
464474
}
465475
}
466476
},
477+
"labels": {
478+
"type": "object",
479+
"description": "labels for ingress",
480+
"title": "Ingress labels",
481+
"default": ""
482+
},
467483
"enabled": {
468484
"type": "boolean",
469485
"description": "used to enable or disable ingress",

scripts/devtron-reference-helm-charts/reference-chart_3-13-0/schema.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"description": "used for enabling/disabling autoscaling",
317317
"title": "Enabled"
318318
},
319+
"labels": {
320+
"type": "object",
321+
"description": "labels for HPA",
322+
"title": "labels"
323+
},
324+
"annotations": {
325+
"type": "object",
326+
"description": "used to configure some options for HPA",
327+
"title": "annotations"
328+
},
319329
"extraMetrics": {
320330
"type": "array",
321331
"items": {},
@@ -464,6 +474,12 @@
464474
}
465475
}
466476
},
477+
"labels": {
478+
"type": "object",
479+
"description": "labels for ingress",
480+
"title": "Ingress labels",
481+
"default": ""
482+
},
467483
"enabled": {
468484
"type": "boolean",
469485
"description": "used to enable or disable ingress",

scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,16 @@
316316
"description": "used for enabling/disabling autoscaling",
317317
"title": "Enabled"
318318
},
319+
"labels": {
320+
"type": "object",
321+
"description": "labels for HPA",
322+
"title": "labels"
323+
},
324+
"annotations": {
325+
"type": "object",
326+
"description": "used to configure some options for HPA",
327+
"title": "annotations"
328+
},
319329
"extraMetrics": {
320330
"type": "array",
321331
"items": {},
@@ -462,6 +472,12 @@
462472
}
463473
}
464474
},
475+
"labels": {
476+
"type": "object",
477+
"description": "labels for ingress",
478+
"title": "Ingress labels",
479+
"default": ""
480+
},
465481
"enabled": {
466482
"type": "boolean",
467483
"description": "used to enable or disable ingress",

scripts/devtron-reference-helm-charts/reference-chart_4-10-0/schema.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,16 @@
299299
"description": "used for enabling/disabling autoscaling",
300300
"title": "Enabled"
301301
},
302+
"labels": {
303+
"type": "object",
304+
"description": "labels for HPA",
305+
"title": "labels"
306+
},
307+
"annotations": {
308+
"type": "object",
309+
"description": "used to configure some options for HPA",
310+
"title": "annotations"
311+
},
302312
"extraMetrics": {
303313
"type": "array",
304314
"items": {},
@@ -321,7 +331,13 @@
321331
"items": {},
322332
"description": "contains the commands",
323333
"title": "Value"
324-
}
334+
},
335+
"workingDir": {
336+
"type": "object",
337+
"items": {},
338+
"description": "contains the working directory",
339+
"title": "Working directory"
340+
}
325341
}
326342
},
327343
"containers": {
@@ -437,6 +453,12 @@
437453
"title": "Ingress class name",
438454
"default": "nginx"
439455
},
456+
"labels": {
457+
"type": "object",
458+
"description": "labels for ingress",
459+
"title": "Ingress labels",
460+
"default": ""
461+
},
440462
"enabled": {
441463
"type": "boolean",
442464
"description": "used to enable or disable ingress",

scripts/devtron-reference-helm-charts/reference-chart_4-11-0/schema.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,16 @@
299299
"description": "used for enabling/disabling autoscaling",
300300
"title": "Enabled"
301301
},
302+
"labels": {
303+
"type": "object",
304+
"description": "labels for HPA",
305+
"title": "labels"
306+
},
307+
"annotations": {
308+
"type": "object",
309+
"description": "used to configure some options for HPA",
310+
"title": "annotations"
311+
},
302312
"extraMetrics": {
303313
"type": "array",
304314
"items": {},
@@ -321,7 +331,13 @@
321331
"items": {},
322332
"description": "contains the commands",
323333
"title": "Value"
324-
}
334+
},
335+
"workingDir": {
336+
"type": "object",
337+
"items": {},
338+
"description": "contains the working directory",
339+
"title": "Working directory"
340+
}
325341
}
326342
},
327343
"containerSecurityContext": {
@@ -442,6 +458,12 @@
442458
"title": "Ingress class name",
443459
"default": "nginx"
444460
},
461+
"labels": {
462+
"type": "object",
463+
"description": "labels for ingress",
464+
"title": "Ingress labels",
465+
"default": ""
466+
},
445467
"enabled": {
446468
"type": "boolean",
447469
"description": "used to enable or disable ingress",

scripts/devtron-reference-helm-charts/reference-chart_4-12-0/schema.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,16 @@
299299
"description": "used for enabling/disabling autoscaling",
300300
"title": "Enabled"
301301
},
302+
"labels": {
303+
"type": "object",
304+
"description": "labels for HPA",
305+
"title": "labels"
306+
},
307+
"annotations": {
308+
"type": "object",
309+
"description": "used to configure some options for HPA",
310+
"title": "annotations"
311+
},
302312
"extraMetrics": {
303313
"type": "array",
304314
"items": {},
@@ -321,7 +331,13 @@
321331
"items": {},
322332
"description": "contains the commands",
323333
"title": "Value"
324-
}
334+
},
335+
"workingDir": {
336+
"type": "object",
337+
"items": {},
338+
"description": "contains the working directory",
339+
"title": "Working directory"
340+
}
325341
}
326342
},
327343
"containerSecurityContext": {
@@ -442,6 +458,12 @@
442458
"title": "Ingress class name",
443459
"default": "nginx"
444460
},
461+
"labels": {
462+
"type": "object",
463+
"description": "labels for ingress",
464+
"title": "Ingress labels",
465+
"default": ""
466+
},
445467
"enabled": {
446468
"type": "boolean",
447469
"description": "used to enable or disable ingress",

scripts/devtron-reference-helm-charts/reference-chart_4-13-0/schema.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,32 @@
264264
}
265265
}
266266
},
267+
"hostAliases":{
268+
"type": "array",
269+
"title": "hostAliases",
270+
"description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file",
271+
"items": [
272+
{
273+
"type": "object",
274+
"properties": {
275+
"ip":{
276+
"type": "string",
277+
"title": "IP",
278+
"description": "IP address of the host file entry"
279+
},
280+
"hostnames":{
281+
"type": "array",
282+
"description": "Hostnames for the above IP address",
283+
"items": [
284+
{
285+
"type": "string"
286+
}
287+
]
288+
}
289+
}
290+
}
291+
]
292+
},
267293
"autoscaling": {
268294
"type": "object",
269295
"description": "connected to HPA and controls scaling up and down in response to request load",
@@ -299,6 +325,16 @@
299325
"description": "used for enabling/disabling autoscaling",
300326
"title": "Enabled"
301327
},
328+
"labels": {
329+
"type": "object",
330+
"description": "labels for HPA",
331+
"title": "labels"
332+
},
333+
"annotations": {
334+
"type": "object",
335+
"description": "used to configure some options for HPA",
336+
"title": "annotations"
337+
},
302338
"extraMetrics": {
303339
"type": "array",
304340
"items": {},
@@ -321,7 +357,13 @@
321357
"items": {},
322358
"description": "contains the commands",
323359
"title": "Value"
324-
}
360+
},
361+
"workingDir": {
362+
"type": "object",
363+
"items": {},
364+
"description": "contains the working directory",
365+
"title": "Working directory"
366+
}
325367
}
326368
},
327369
"containerSecurityContext": {
@@ -442,6 +484,12 @@
442484
"title": "Ingress class name",
443485
"default": "nginx"
444486
},
487+
"labels": {
488+
"type": "object",
489+
"description": "labels for ingress",
490+
"title": "Ingress labels",
491+
"default": ""
492+
},
445493
"enabled": {
446494
"type": "boolean",
447495
"description": "used to enable or disable ingress",

0 commit comments

Comments
 (0)