You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/openapi/definitions.yaml
+38-33Lines changed: 38 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,33 @@
1
1
alerts:
2
2
additionalProperties: false
3
3
properties:
4
-
drone:
5
-
default: slack
6
-
description: Select default notification channel for Drone.
7
-
enum:
8
-
- slack
9
-
- msteams
10
-
title: Drone Notifications
4
+
repeatInterval:
5
+
default: 3h
6
+
description: Indicates waiting time before sending a notification again after it was sent successfully for an alert. (Usually ~3h or more).
7
+
title: Repeat Interval
8
+
type: string
9
+
groupInterval:
10
+
default: 5m
11
+
description: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.)
12
+
title: Group Interval
11
13
type: string
14
+
slack:
15
+
additionalProperties: false
16
+
properties:
17
+
channel:
18
+
default: mon-otomi
19
+
description: The Slack channel for non-critical notifications.
20
+
title: Non-critical
21
+
type: string
22
+
channelCrit:
23
+
default: mon-otomi
24
+
description: The Slack channel for critical notifications.
25
+
title: Critical
26
+
type: string
27
+
url:
28
+
$ref: '#/url'
29
+
description: A Slack webhook URL.
30
+
type: object
12
31
email:
13
32
additionalProperties: false
14
33
properties:
@@ -21,11 +40,6 @@ alerts:
21
40
$ref: '#/email'
22
41
description: One or more email addresses (comma separated) for non-critical events.
23
42
type: object
24
-
groupInterval:
25
-
default: 5m
26
-
description: How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.)
27
-
title: Group Interval
28
-
type: string
29
43
msteams:
30
44
additionalProperties: false
31
45
description: Select Microsoft Teams notification settings.
@@ -46,28 +60,17 @@ alerts:
46
60
- msteams
47
61
- email
48
62
type: string
49
-
title: Notification Receivers
63
+
title: Notification receivers
50
64
type: array
51
-
repeatInterval:
52
-
default: 3h
53
-
description: Indicates waiting time before sending a notification again after it was sent successfully for an alert. (Usually ~3h or more).
54
-
title: Repeat Interval
65
+
uniqueItems: true
66
+
drone:
67
+
default: slack
68
+
description: Select default notification channel for Drone.
69
+
enum:
70
+
- slack
71
+
- msteams
72
+
title: Drone Notifications
55
73
type: string
56
-
slack:
57
-
additionalProperties: false
58
-
properties:
59
-
channel:
60
-
default: mon-otomi
61
-
description: The Slack channel for non-critical notifications.
62
-
type: string
63
-
channelCrit:
64
-
default: mon-otomi
65
-
description: The Slack channel for critical notifications.
66
-
type: string
67
-
url:
68
-
$ref: '#/url'
69
-
description: A Slack webhook URL.
70
-
type: object
71
74
annotation:
72
75
type: string
73
76
pattern: ^((.){1,253}\/)?(.){1,63}$
@@ -344,6 +347,8 @@ jobSpec:
344
347
type: integer
345
348
init:
346
349
$ref: '#/containerSpec'
350
+
title: Init container
351
+
description: May specify an init container, allowing to do preparations like checking for conditions.
347
352
nullable: true
348
353
required:
349
354
- name
@@ -352,7 +357,7 @@ jobSpec:
352
357
type: object
353
358
k8sVersion:
354
359
default: '1.19'
355
-
description: The cluster k8s version. Otomi supports 2 minor versions backwards compatibility from the suggested default.
360
+
description: The cluster k8s version. Otomi supports 2 minor versions backwards from the suggested default.
0 commit comments