summaryrefslogtreecommitdiff
path: root/app/validators/json_schemas/helm_metadata.json
diff options
context:
space:
mode:
Diffstat (limited to 'app/validators/json_schemas/helm_metadata.json')
-rw-r--r--app/validators/json_schemas/helm_metadata.json128
1 files changed, 128 insertions, 0 deletions
diff --git a/app/validators/json_schemas/helm_metadata.json b/app/validators/json_schemas/helm_metadata.json
new file mode 100644
index 00000000000..7ac36e956f3
--- /dev/null
+++ b/app/validators/json_schemas/helm_metadata.json
@@ -0,0 +1,128 @@
+{
+ "description": "Helm metadata",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "home": {
+ "type": "string"
+ },
+ "sources": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "version": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "keywords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "maintainers": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "icon": {
+ "type": "string"
+ },
+ "apiVersion": {
+ "type": "string"
+ },
+ "condition": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "appVersion": {
+ "type": "string"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "annotations": {
+ "type": "object",
+ "patternProperties": {
+ ".+": {
+ "type": "string"
+ },
+ "additionalProperties": false
+ }
+ },
+ "kubeVersion": {
+ "type": "string"
+ },
+ "dependencies": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ },
+ "repository": {
+ "type": "string"
+ },
+ "condition": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "import-values": {
+ "type": "array",
+ "items": {
+
+ }
+ },
+ "alias": {
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9_-]+$"
+ },
+ "additionalProperties": false
+ }
+ }
+ },
+ "type": {
+ "type": "string",
+ "enum": ["application", "library"]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "version",
+ "apiVersion"
+ ]
+} \ No newline at end of file