Skip to content

Commit 3aba38d

Browse files
committed
Generate Helm json schema
1 parent 0d0a2b8 commit 3aba38d

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

charts/ecowitt-exporter/values.schema.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,13 @@
255255
},
256256
"prometheusRules": {
257257
"properties": {
258+
"aqiWarn": {
259+
"default": 7,
260+
"description": "Warn when AQI exceeds this value, on whatever scale is set in aqiStandard",
261+
"required": [],
262+
"title": "aqiWarn",
263+
"type": "integer"
264+
},
258265
"batteryAlerts": {
259266
"default": true,
260267
"description": "Enable battery alerts",
@@ -269,12 +276,61 @@
269276
"title": "enabled",
270277
"type": "boolean"
271278
},
279+
"pm25Warn": {
280+
"default": 30,
281+
"description": "Warn when PM2.5 concentration exceeds this value, in µg/m³",
282+
"required": [],
283+
"title": "pm25Warn",
284+
"type": "integer"
285+
},
286+
"tempHigh": {
287+
"default": 40,
288+
"description": "Warn when temperature exceeds this value, in whatever unit is set in tempUnit",
289+
"required": [],
290+
"title": "tempHigh",
291+
"type": "integer"
292+
},
293+
"tempLow": {
294+
"default": 0,
295+
"description": "Warn when temperature falls below this value, in whatever unit is set in tempUnit",
296+
"required": [],
297+
"title": "tempLow",
298+
"type": "integer"
299+
},
300+
"uvExtreme": {
301+
"default": 11,
302+
"description": "Warn when UV index exceeds this Extreme value",
303+
"required": [],
304+
"title": "uvExtreme",
305+
"type": "integer"
306+
},
307+
"uvHigh": {
308+
"default": 8,
309+
"description": "Warn when UV index exceeds this High value",
310+
"required": [],
311+
"title": "uvHigh",
312+
"type": "integer"
313+
},
314+
"voltageWarning": {
315+
"default": 1.5,
316+
"description": "Warn when battery voltage drops below this threshold, in volts",
317+
"required": [],
318+
"title": "voltageWarning",
319+
"type": "number"
320+
},
272321
"weatherAlerts": {
273322
"default": true,
274323
"description": "Enable weather alerts",
275324
"required": [],
276325
"title": "weatherAlerts",
277326
"type": "boolean"
327+
},
328+
"windWarn": {
329+
"default": 50,
330+
"description": "Warn when wind speed exceeds this value, in whatever unit is set in windUnit",
331+
"required": [],
332+
"title": "windWarn",
333+
"type": "integer"
278334
}
279335
},
280336
"required": [],

0 commit comments

Comments
 (0)