Skip to content

Commit

Permalink
fix(lmc): add json schema to validate configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
vkumbhar94 committed Jul 6, 2022
1 parent 72bfacb commit cd18bb9
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/lm-container/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: lm-container
description: A Helm chart for Logicmonitor's Kubernetes monitoring solutions
type: application
version: 1.0.0-ea3
version: 1.0.0-ea4
maintainers:
- name: LogicMonitor
email: argus@logicmonitor.com
Expand Down
47 changes: 47 additions & 0 deletions charts/lm-container/values.schema.json
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
}
}
}

0 comments on commit cd18bb9

Please sign in to comment.