From 2c1232b43ba4b3eb3338f0419769fbed90349fd0 Mon Sep 17 00:00:00 2001 From: Aviral Srivastava Date: Wed, 8 Dec 2021 18:09:00 +0530 Subject: [PATCH 1/3] schema-update --- .../reference-chart_3-10-0/schema.json | 32 +- .../reference-chart_3-11-0/schema.json | 33 +- .../reference-chart_3-12-0/schema.json | 33 +- .../reference-chart_3-9-0/schema.json | 792 +++++++++--------- .../reference-chart_4-10-0/schema.json | 33 +- 5 files changed, 423 insertions(+), 500 deletions(-) diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/schema.json b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/schema.json index ca90a24981..c430d88777 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/schema.json +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/schema.json @@ -89,12 +89,6 @@ } } }, - "MaxSurge": { - "type": "integer" - }, - "MaxUnavailable": { - "type": "integer" - }, "MinReadySeconds": { "type": "integer" }, @@ -146,23 +140,7 @@ } }, "Spec": { - "type": "object", - "properties": { - "Affinity": { - "type": "object", - "properties": { - "Key": { - "type": "null" - }, - "Values": { - "type": "string" - }, - "key": { - "type": "string" - } - } - } - } + "type": "object" }, "args": { "type": "object", @@ -423,7 +401,13 @@ "type": "object" }, "type": { - "type": "string" + "type": "string", + "enum": [ + "ClusterIP", + "LoadBalancer", + "NodePort", + "ExternalName" + ] } } }, diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/schema.json b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/schema.json index 8b8a8ee6ed..a112a6f905 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/schema.json +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/schema.json @@ -1,3 +1,4 @@ + { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", @@ -89,12 +90,6 @@ } } }, - "MaxSurge": { - "type": "integer" - }, - "MaxUnavailable": { - "type": "integer" - }, "MinReadySeconds": { "type": "integer" }, @@ -146,23 +141,7 @@ } }, "Spec": { - "type": "object", - "properties": { - "Affinity": { - "type": "object", - "properties": { - "Key": { - "type": "null" - }, - "Values": { - "type": "string" - }, - "key": { - "type": "string" - } - } - } - } + "type": "object" }, "args": { "type": "object", @@ -467,7 +446,13 @@ "type": "object" }, "type": { - "type": "string" + "type": "string", + "enum": [ + "ClusterIP", + "LoadBalancer", + "NodePort", + "ExternalName" + ] } } }, diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/schema.json b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/schema.json index 8b8a8ee6ed..a112a6f905 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/schema.json +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/schema.json @@ -1,3 +1,4 @@ + { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", @@ -89,12 +90,6 @@ } } }, - "MaxSurge": { - "type": "integer" - }, - "MaxUnavailable": { - "type": "integer" - }, "MinReadySeconds": { "type": "integer" }, @@ -146,23 +141,7 @@ } }, "Spec": { - "type": "object", - "properties": { - "Affinity": { - "type": "object", - "properties": { - "Key": { - "type": "null" - }, - "Values": { - "type": "string" - }, - "key": { - "type": "string" - } - } - } - } + "type": "object" }, "args": { "type": "object", @@ -467,7 +446,13 @@ "type": "object" }, "type": { - "type": "string" + "type": "string", + "enum": [ + "ClusterIP", + "LoadBalancer", + "NodePort", + "ExternalName" + ] } } }, diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json index e4ecdcaa3d..c430d88777 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json @@ -1,454 +1,438 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "properties": { - "ContainerPort": { - "type": "array", - "items": { - "type": "object", - "properties": { - "envoyPort": { - "type": "integer", - "enum": [ - 8799, - 8800 - ] - }, - "idleTimeout": { - "type": "string" - }, - "name": { - "type": "string" - }, - "port": { - "type": "integer" - }, - "servicePort": { - "type": "integer" - }, - "supportStreaming": { - "type": "boolean" - }, - "useHTTP2": { - "type": "boolean" - } - } - } - }, - "EnvVariables": { - "type": "array", - "items": {} - }, - "GracePeriod": { - "type": "integer" - }, - "LivenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "ContainerPort": { + "type": "array", + "items": { "type": "object", "properties": { - "Path": { - "type": "string" - }, - "command": { - "type": "array", - "items": {} - }, - "failureThreshold": { - "type": "integer" - }, - "httpHeader": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - } - }, - "initialDelaySeconds": { - "type": "integer" - }, - "periodSeconds": { - "type": "integer" - }, - "port": { - "type": "integer" + "envoyPort": { + "type": "integer", + "enum": [ + 8799, + 8800 + ] }, - "scheme": { + "idleTimeout": { "type": "string" }, - "successThreshold": { - "type": "integer" - }, - "tcp": { - "type": "boolean" - }, - "timeoutSeconds": { - "type": "integer" - } - } - }, - "MaxSurge": { - "type": "integer" - }, - "MaxUnavailable": { - "type": "integer" - }, - "MinReadySeconds": { - "type": "integer" - }, - "ReadinessProbe": { - "type": "object", - "properties": { - "Path": { + "name": { "type": "string" }, - "command": { - "type": "array", - "items": {} - }, - "failureThreshold": { - "type": "integer" - }, - "httpHeader": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - } - }, - "initialDelaySeconds": { - "type": "integer" - }, - "periodSeconds": { - "type": "integer" - }, "port": { "type": "integer" }, - "scheme": { - "type": "string" - }, - "successThreshold": { + "servicePort": { "type": "integer" }, - "tcp": { + "supportStreaming": { "type": "boolean" }, - "timeoutSeconds": { - "type": "integer" + "useHTTP2": { + "type": "boolean" } } - }, - "Spec": { - "type": "object", - "properties": { - "Affinity": { - "type": "object", - "properties": { - "Key": { - "type": "null" - }, - "Values": { - "type": "string" - }, - "key": { - "type": "string" - } + } + }, + "EnvVariables": { + "type": "array", + "items": {} + }, + "GracePeriod": { + "type": "integer" + }, + "LivenessProbe": { + "type": "object", + "properties": { + "Path": { + "type": "string" + }, + "command": { + "type": "array", + "items": {} + }, + "failureThreshold": { + "type": "integer" + }, + "httpHeader": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" } } + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "port": { + "type": "integer" + }, + "scheme": { + "type": "string" + }, + "successThreshold": { + "type": "integer" + }, + "tcp": { + "type": "boolean" + }, + "timeoutSeconds": { + "type": "integer" } - }, - "args": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "value": { - "type": "array", - "items": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] + } + }, + "MinReadySeconds": { + "type": "integer" + }, + "ReadinessProbe": { + "type": "object", + "properties": { + "Path": { + "type": "string" + }, + "command": { + "type": "array", + "items": {} + }, + "failureThreshold": { + "type": "integer" + }, + "httpHeader": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } } + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "port": { + "type": "integer" + }, + "scheme": { + "type": "string" + }, + "successThreshold": { + "type": "integer" + }, + "tcp": { + "type": "boolean" + }, + "timeoutSeconds": { + "type": "integer" } - }, - "autoscaling": { - "type": "object", - "properties": { - "MaxReplicas": { - "type": "integer" - }, - "MinReplicas": { - "type": "integer" - }, - "TargetCPUUtilizationPercentage": { - "type": "integer" - }, - "TargetMemoryUtilizationPercentage": { - "type": "integer" - }, - "enabled": { - "type": "boolean" - }, - "extraMetrics": { - "type": "array", - "items": {} - } + } + }, + "Spec": { + "type": "object" + }, + "args": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "value": { + "type": "array", + "items": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ] } - }, - "command": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "value": { - "type": "array", - "items": {} - } + } + }, + "autoscaling": { + "type": "object", + "properties": { + "MaxReplicas": { + "type": "integer" + }, + "MinReplicas": { + "type": "integer" + }, + "TargetCPUUtilizationPercentage": { + "type": "integer" + }, + "TargetMemoryUtilizationPercentage": { + "type": "integer" + }, + "enabled": { + "type": "boolean" + }, + "extraMetrics": { + "type": "array", + "items": {} } - }, - "containers": { - "type": "array", - "items": {} - }, - "dbMigrationConfig": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } + } + }, + "command": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "value": { + "type": "array", + "items": {} } - }, - "envoyproxy": { - "type": "object", - "properties": { - "configMapName": { - "type": "string" - }, - "image": { - "type": "string" - }, - "resources": { - "type": "object", - "properties": { - "limits": { - "type": "object", - "properties": { - "cpu": { - "type": "string", - "format": "cpu" - }, - "memory": { - "type": "string", - "format": "memory" - } + } + }, + "containers": { + "type": "array", + "items": {} + }, + "dbMigrationConfig": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "envoyproxy": { + "type": "object", + "properties": { + "configMapName": { + "type": "string" + }, + "image": { + "type": "string" + }, + "resources": { + "type": "object", + "properties": { + "limits": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "format": "cpu" + }, + "memory": { + "type": "string", + "format": "memory" } - }, - "requests": { - "type": "object", - "properties": { - "cpu": { - "type": "string", - "format": "cpu" - }, - "memory": { - "type": "string", - "format": "memory" - } + } + }, + "requests": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "format": "cpu" + }, + "memory": { + "type": "string", + "format": "memory" } } } } } - }, - "image": { - "type": "object", - "properties": { - "pullPolicy": { - "type": "string" - } + } + }, + "image": { + "type": "object", + "properties": { + "pullPolicy": { + "type": "string" } - }, - "ingress": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "patternproperties": { - "[a-zA-Z_]+[0-9.]+!@#%&*+-=:;?/><,.": { - "type": "string" - } + } + }, + "ingress": { + "type": "object", + "properties": { + "annotations": { + "type": "object", + "patternproperties": { + "[a-zA-Z_]+[0-9.]+!@#%&*+-=:;?/><,.": { + "type": "string" } - }, - "enabled": { - "type": "boolean" - }, - "host": { - "type": "string" - }, - "path": { - "type": "string" - }, - "tls": { - "type": "array", - "items": {} } + }, + "enabled": { + "type": "boolean" + }, + "host": { + "type": "string" + }, + "path": { + "type": "string" + }, + "tls": { + "type": "array", + "items": {} } - }, - "ingressInternal": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "patternproperties": { - "[a-zA-Z_]+[0-9.]+!@#%&*+-=:;?/><,.": { - "type": "string" - } - } - }, - "enabled": { - "type": "boolean" - }, - "host": { - "type": "string" - }, - "path": { - "type": "string" - }, - "tls": { - "type": "array", - "items": {} + } + }, + "ingressInternal": { + "type": "object", + "properties": { + "annotations": { + "type": "object", + "patternproperties": { + "[a-zA-Z_]+[0-9.]+!@#%&*+-=:;?/><,.": { + "type": "string" + } } + }, + "enabled": { + "type": "boolean" + }, + "host": { + "type": "string" + }, + "path": { + "type": "string" + }, + "tls": { + "type": "array", + "items": {} } - }, - "initContainers": { - "type": "array", - "items": {} - }, - "pauseForSecondsBeforeSwitchActive": { - "type": "integer" - }, - "prometheus": { - "type": "object", - "properties": { - "release": { - "type": "string" - } + } + }, + "initContainers": { + "type": "array", + "items": {} + }, + "pauseForSecondsBeforeSwitchActive": { + "type": "integer" + }, + "prometheus": { + "type": "object", + "properties": { + "release": { + "type": "string" } - }, - "rawYaml": { - "type": "array", - "items": {} - }, - "replicaCount": { - "type": "integer" - }, - "resources": { - "type": "object", - "properties": { - "limits": { - "type": "object", - "properties": { - "cpu": { - "type": "string", - "format": "cpu" - }, - "memory": { - "type": "string", - "format": "memory" - } + } + }, + "rawYaml": { + "type": "array", + "items": {} + }, + "replicaCount": { + "type": "integer" + }, + "resources": { + "type": "object", + "properties": { + "limits": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "format": "cpu" + }, + "memory": { + "type": "string", + "format": "memory" } - }, - "requests": { - "type": "object", - "properties": { - "cpu": { - "type": "string", - "format": "cpu" - }, - "memory": { - "type": "string", - "format": "memory" - } + } + }, + "requests": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "format": "cpu" + }, + "memory": { + "type": "string", + "format": "memory" } } } - }, - "secret": { - "type": "object", - "properties": { - "data": { - "type": "object" - }, - "enabled": { - "type": "boolean" - } + } + }, + "secret": { + "type": "object", + "properties": { + "data": { + "type": "object" + }, + "enabled": { + "type": "boolean" } - }, - "server": { - "type": "object", - "properties": { - "deployment": { - "type": "object", - "properties": { - "image": { - "type": "string" - }, - "image_tag": { - "type": "string" - } + } + }, + "server": { + "type": "object", + "properties": { + "deployment": { + "type": "object", + "properties": { + "image": { + "type": "string" + }, + "image_tag": { + "type": "string" } } } - }, - "service": { - "type": "object", - "properties": { - "annotations": { - "type": "object" - }, - "type": { - "type": "string" - } + } + }, + "service": { + "type": "object", + "properties": { + "annotations": { + "type": "object" + }, + "type": { + "type": "string", + "enum": [ + "ClusterIP", + "LoadBalancer", + "NodePort", + "ExternalName" + ] } - }, - "servicemonitor": { - "type": "object", - "properties": { - "additionalLabels": { - "type": "object" - } + } + }, + "servicemonitor": { + "type": "object", + "properties": { + "additionalLabels": { + "type": "object" } - }, - "tolerations": { - "type": "array", - "items": {} - }, - "volumeMounts": { - "type": "array", - "items": {} - }, - "volumes": { - "type": "array", - "items": {} - }, - "waitForSecondsBeforeScalingDown": { - "type": "integer" } + }, + "tolerations": { + "type": "array", + "items": {} + }, + "volumeMounts": { + "type": "array", + "items": {} + }, + "volumes": { + "type": "array", + "items": {} + }, + "waitForSecondsBeforeScalingDown": { + "type": "integer" } - } \ No newline at end of file + } +} \ No newline at end of file diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/schema.json b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/schema.json index 8b8a8ee6ed..a112a6f905 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/schema.json +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/schema.json @@ -1,3 +1,4 @@ + { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", @@ -89,12 +90,6 @@ } } }, - "MaxSurge": { - "type": "integer" - }, - "MaxUnavailable": { - "type": "integer" - }, "MinReadySeconds": { "type": "integer" }, @@ -146,23 +141,7 @@ } }, "Spec": { - "type": "object", - "properties": { - "Affinity": { - "type": "object", - "properties": { - "Key": { - "type": "null" - }, - "Values": { - "type": "string" - }, - "key": { - "type": "string" - } - } - } - } + "type": "object" }, "args": { "type": "object", @@ -467,7 +446,13 @@ "type": "object" }, "type": { - "type": "string" + "type": "string", + "enum": [ + "ClusterIP", + "LoadBalancer", + "NodePort", + "ExternalName" + ] } } }, From fe420bfff751d4c5d2d26630450b230bfa81e336 Mon Sep 17 00:00:00 2001 From: Aviral Srivastava Date: Wed, 8 Dec 2021 18:29:10 +0530 Subject: [PATCH 2/3] schema-update --- .../reference-chart_3-9-0/schema.json | 780 +++++++++--------- 1 file changed, 390 insertions(+), 390 deletions(-) diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json index c430d88777..5ffa039be7 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json @@ -1,438 +1,438 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "properties": { - "ContainerPort": { - "type": "array", - "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "ContainerPort": { + "type": "array", + "items": { + "type": "object", + "properties": { + "envoyPort": { + "type": "integer", + "enum": [ + 8799, + 8800 + ] + }, + "idleTimeout": { + "type": "string" + }, + "name": { + "type": "string" + }, + "port": { + "type": "integer" + }, + "servicePort": { + "type": "integer" + }, + "supportStreaming": { + "type": "boolean" + }, + "useHTTP2": { + "type": "boolean" + } + } + } + }, + "EnvVariables": { + "type": "array", + "items": {} + }, + "GracePeriod": { + "type": "integer" + }, + "LivenessProbe": { "type": "object", "properties": { - "envoyPort": { - "type": "integer", - "enum": [ - 8799, - 8800 - ] - }, - "idleTimeout": { + "Path": { "type": "string" }, - "name": { - "type": "string" + "command": { + "type": "array", + "items": {} + }, + "failureThreshold": { + "type": "integer" + }, + "httpHeader": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" }, "port": { "type": "integer" }, - "servicePort": { + "scheme": { + "type": "string" + }, + "successThreshold": { "type": "integer" }, - "supportStreaming": { + "tcp": { "type": "boolean" }, - "useHTTP2": { - "type": "boolean" + "timeoutSeconds": { + "type": "integer" } } - } - }, - "EnvVariables": { - "type": "array", - "items": {} - }, - "GracePeriod": { - "type": "integer" - }, - "LivenessProbe": { - "type": "object", - "properties": { - "Path": { - "type": "string" - }, - "command": { - "type": "array", - "items": {} - }, - "failureThreshold": { - "type": "integer" - }, - "httpHeader": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" + }, + "MinReadySeconds": { + "type": "integer" + }, + "ReadinessProbe": { + "type": "object", + "properties": { + "Path": { + "type": "string" + }, + "command": { + "type": "array", + "items": {} + }, + "failureThreshold": { + "type": "integer" + }, + "httpHeader": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } } + }, + "initialDelaySeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "port": { + "type": "integer" + }, + "scheme": { + "type": "string" + }, + "successThreshold": { + "type": "integer" + }, + "tcp": { + "type": "boolean" + }, + "timeoutSeconds": { + "type": "integer" } - }, - "initialDelaySeconds": { - "type": "integer" - }, - "periodSeconds": { - "type": "integer" - }, - "port": { - "type": "integer" - }, - "scheme": { - "type": "string" - }, - "successThreshold": { - "type": "integer" - }, - "tcp": { - "type": "boolean" - }, - "timeoutSeconds": { - "type": "integer" } - } - }, - "MinReadySeconds": { - "type": "integer" - }, - "ReadinessProbe": { - "type": "object", - "properties": { - "Path": { - "type": "string" - }, - "command": { - "type": "array", - "items": {} - }, - "failureThreshold": { - "type": "integer" - }, - "httpHeader": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } + }, + "Spec": { + "type": "object" + }, + "args": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "value": { + "type": "array", + "items": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ] } - }, - "initialDelaySeconds": { - "type": "integer" - }, - "periodSeconds": { - "type": "integer" - }, - "port": { - "type": "integer" - }, - "scheme": { - "type": "string" - }, - "successThreshold": { - "type": "integer" - }, - "tcp": { - "type": "boolean" - }, - "timeoutSeconds": { - "type": "integer" } - } - }, - "Spec": { - "type": "object" - }, - "args": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "value": { - "type": "array", - "items": [ - { - "type": "string" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] - } - } - }, - "autoscaling": { - "type": "object", - "properties": { - "MaxReplicas": { - "type": "integer" - }, - "MinReplicas": { - "type": "integer" - }, - "TargetCPUUtilizationPercentage": { - "type": "integer" - }, - "TargetMemoryUtilizationPercentage": { - "type": "integer" - }, - "enabled": { - "type": "boolean" - }, - "extraMetrics": { - "type": "array", - "items": {} + }, + "autoscaling": { + "type": "object", + "properties": { + "MaxReplicas": { + "type": "integer" + }, + "MinReplicas": { + "type": "integer" + }, + "TargetCPUUtilizationPercentage": { + "type": "integer" + }, + "TargetMemoryUtilizationPercentage": { + "type": "integer" + }, + "enabled": { + "type": "boolean" + }, + "extraMetrics": { + "type": "array", + "items": {} + } } - } - }, - "command": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "value": { - "type": "array", - "items": {} + }, + "command": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "value": { + "type": "array", + "items": {} + } } - } - }, - "containers": { - "type": "array", - "items": {} - }, - "dbMigrationConfig": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" + }, + "containers": { + "type": "array", + "items": {} + }, + "dbMigrationConfig": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + } } - } - }, - "envoyproxy": { - "type": "object", - "properties": { - "configMapName": { - "type": "string" - }, - "image": { - "type": "string" - }, - "resources": { - "type": "object", - "properties": { - "limits": { - "type": "object", - "properties": { - "cpu": { - "type": "string", - "format": "cpu" - }, - "memory": { - "type": "string", - "format": "memory" + }, + "envoyproxy": { + "type": "object", + "properties": { + "configMapName": { + "type": "string" + }, + "image": { + "type": "string" + }, + "resources": { + "type": "object", + "properties": { + "limits": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "format": "cpu" + }, + "memory": { + "type": "string", + "format": "memory" + } } - } - }, - "requests": { - "type": "object", - "properties": { - "cpu": { - "type": "string", - "format": "cpu" - }, - "memory": { - "type": "string", - "format": "memory" + }, + "requests": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "format": "cpu" + }, + "memory": { + "type": "string", + "format": "memory" + } } } } } } - } - }, - "image": { - "type": "object", - "properties": { - "pullPolicy": { - "type": "string" + }, + "image": { + "type": "object", + "properties": { + "pullPolicy": { + "type": "string" + } } - } - }, - "ingress": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "patternproperties": { - "[a-zA-Z_]+[0-9.]+!@#%&*+-=:;?/><,.": { - "type": "string" + }, + "ingress": { + "type": "object", + "properties": { + "annotations": { + "type": "object", + "patternproperties": { + "[a-zA-Z_]+[0-9.]+!@#%&*+-=:;?/><,.": { + "type": "string" + } } + }, + "enabled": { + "type": "boolean" + }, + "host": { + "type": "string" + }, + "path": { + "type": "string" + }, + "tls": { + "type": "array", + "items": {} } - }, - "enabled": { - "type": "boolean" - }, - "host": { - "type": "string" - }, - "path": { - "type": "string" - }, - "tls": { - "type": "array", - "items": {} } - } - }, - "ingressInternal": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "patternproperties": { - "[a-zA-Z_]+[0-9.]+!@#%&*+-=:;?/><,.": { - "type": "string" - } + }, + "ingressInternal": { + "type": "object", + "properties": { + "annotations": { + "type": "object", + "patternproperties": { + "[a-zA-Z_]+[0-9.]+!@#%&*+-=:;?/><,.": { + "type": "string" + } + } + }, + "enabled": { + "type": "boolean" + }, + "host": { + "type": "string" + }, + "path": { + "type": "string" + }, + "tls": { + "type": "array", + "items": {} } - }, - "enabled": { - "type": "boolean" - }, - "host": { - "type": "string" - }, - "path": { - "type": "string" - }, - "tls": { - "type": "array", - "items": {} } - } - }, - "initContainers": { - "type": "array", - "items": {} - }, - "pauseForSecondsBeforeSwitchActive": { - "type": "integer" - }, - "prometheus": { - "type": "object", - "properties": { - "release": { - "type": "string" + }, + "initContainers": { + "type": "array", + "items": {} + }, + "pauseForSecondsBeforeSwitchActive": { + "type": "integer" + }, + "prometheus": { + "type": "object", + "properties": { + "release": { + "type": "string" + } } - } - }, - "rawYaml": { - "type": "array", - "items": {} - }, - "replicaCount": { - "type": "integer" - }, - "resources": { - "type": "object", - "properties": { - "limits": { - "type": "object", - "properties": { - "cpu": { - "type": "string", - "format": "cpu" - }, - "memory": { - "type": "string", - "format": "memory" + }, + "rawYaml": { + "type": "array", + "items": {} + }, + "replicaCount": { + "type": "integer" + }, + "resources": { + "type": "object", + "properties": { + "limits": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "format": "cpu" + }, + "memory": { + "type": "string", + "format": "memory" + } } - } - }, - "requests": { - "type": "object", - "properties": { - "cpu": { - "type": "string", - "format": "cpu" - }, - "memory": { - "type": "string", - "format": "memory" + }, + "requests": { + "type": "object", + "properties": { + "cpu": { + "type": "string", + "format": "cpu" + }, + "memory": { + "type": "string", + "format": "memory" + } } } } - } - }, - "secret": { - "type": "object", - "properties": { - "data": { - "type": "object" - }, - "enabled": { - "type": "boolean" + }, + "secret": { + "type": "object", + "properties": { + "data": { + "type": "object" + }, + "enabled": { + "type": "boolean" + } } - } - }, - "server": { - "type": "object", - "properties": { - "deployment": { - "type": "object", - "properties": { - "image": { - "type": "string" - }, - "image_tag": { - "type": "string" + }, + "server": { + "type": "object", + "properties": { + "deployment": { + "type": "object", + "properties": { + "image": { + "type": "string" + }, + "image_tag": { + "type": "string" + } } } } - } - }, - "service": { - "type": "object", - "properties": { - "annotations": { - "type": "object" - }, - "type": { - "type": "string", - "enum": [ - "ClusterIP", - "LoadBalancer", - "NodePort", - "ExternalName" - ] + }, + "service": { + "type": "object", + "properties": { + "annotations": { + "type": "object" + }, + "type": { + "type": "string", + "enum": [ + "ClusterIP", + "LoadBalancer", + "NodePort", + "ExternalName" + ] + } } - } - }, - "servicemonitor": { - "type": "object", - "properties": { - "additionalLabels": { - "type": "object" + }, + "servicemonitor": { + "type": "object", + "properties": { + "additionalLabels": { + "type": "object" + } } + }, + "tolerations": { + "type": "array", + "items": {} + }, + "volumeMounts": { + "type": "array", + "items": {} + }, + "volumes": { + "type": "array", + "items": {} + }, + "waitForSecondsBeforeScalingDown": { + "type": "integer" } - }, - "tolerations": { - "type": "array", - "items": {} - }, - "volumeMounts": { - "type": "array", - "items": {} - }, - "volumes": { - "type": "array", - "items": {} - }, - "waitForSecondsBeforeScalingDown": { - "type": "integer" } - } -} \ No newline at end of file + } \ No newline at end of file From 935bb598848fc7873b486f3ed3391bd52542e150 Mon Sep 17 00:00:00 2001 From: Aviral Srivastava Date: Wed, 8 Dec 2021 18:32:48 +0530 Subject: [PATCH 3/3] schema-update --- .../reference-chart_3-10-0/schema.json | 6 +----- .../reference-chart_3-11-0/schema.json | 6 +----- .../reference-chart_3-12-0/schema.json | 6 +----- .../reference-chart_3-9-0/schema.json | 6 +----- .../reference-chart_4-10-0/schema.json | 6 +----- 5 files changed, 5 insertions(+), 25 deletions(-) diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/schema.json b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/schema.json index c430d88777..4bc71e023e 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/schema.json +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-10-0/schema.json @@ -8,11 +8,7 @@ "type": "object", "properties": { "envoyPort": { - "type": "integer", - "enum": [ - 8799, - 8800 - ] + "type": "integer" }, "idleTimeout": { "type": "string" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/schema.json b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/schema.json index a112a6f905..a45de43d8b 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/schema.json +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-11-0/schema.json @@ -9,11 +9,7 @@ "type": "object", "properties": { "envoyPort": { - "type": "integer", - "enum": [ - 8799, - 8800 - ] + "type": "integer" }, "idleTimeout": { "type": "string" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/schema.json b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/schema.json index a112a6f905..a45de43d8b 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/schema.json +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-12-0/schema.json @@ -9,11 +9,7 @@ "type": "object", "properties": { "envoyPort": { - "type": "integer", - "enum": [ - 8799, - 8800 - ] + "type": "integer" }, "idleTimeout": { "type": "string" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json index 5ffa039be7..45a6d7f6ad 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json +++ b/scripts/devtron-reference-helm-charts/reference-chart_3-9-0/schema.json @@ -8,11 +8,7 @@ "type": "object", "properties": { "envoyPort": { - "type": "integer", - "enum": [ - 8799, - 8800 - ] + "type": "integer" }, "idleTimeout": { "type": "string" diff --git a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/schema.json b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/schema.json index a112a6f905..a45de43d8b 100644 --- a/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/schema.json +++ b/scripts/devtron-reference-helm-charts/reference-chart_4-10-0/schema.json @@ -9,11 +9,7 @@ "type": "object", "properties": { "envoyPort": { - "type": "integer", - "enum": [ - 8799, - 8800 - ] + "type": "integer" }, "idleTimeout": { "type": "string"