-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lmc): add json schema to validate configurations
- Loading branch information
1 parent
72bfacb
commit cd18bb9
Showing
2 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"$id": "http://example.com/example.json", | ||
"type": "object", | ||
"title": "LM Container Helm chart Values Schema", | ||
"description": "LM Container Helm chart Values Schema", | ||
"default": {}, | ||
"examples": [ | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"global": { | ||
"$id": "#/properties/global", | ||
"description": "Global Properties", | ||
"type": "object", | ||
"additionalProperties": true | ||
}, | ||
"argus": { | ||
"$id": "#/properties/argus", | ||
"description": "Argus Helm Chart Configurations", | ||
"type": "object", | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean", | ||
"description": "Enable Argus chart installation", | ||
"default": true, | ||
"$id": "#/properties/argus/properties/enabled" | ||
} | ||
}, | ||
"additionalProperties": true | ||
}, | ||
"collectorset-controller": { | ||
"$id": "#/properties/collectorset-controller", | ||
"description": "Collectorset Controller Helm Chart Configurations", | ||
"type": "object", | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean", | ||
"description": "Enable Collectorset-Controller chart installation", | ||
"default": true, | ||
"$id": "#/properties/collectorset-controller/properties/enabled" | ||
} | ||
}, | ||
"additionalProperties": true | ||
} | ||
} | ||
} |