-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.schema.yaml
140 lines (136 loc) · 3.52 KB
/
config.schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
---
jupyter:
description: Jupyter Settings and tokens
type: "object"
required: true
properties:
dev_token:
type: "string"
description: "Token for test.jupyter.stfc.ac.uk"
required: false
training_token:
type: "string"
description: "Token for training.jupyter.stfc.ac.uk"
required: false
prod_token:
type: "string"
description: "Token for jupyter.stfc.ac.uk"
required: false
smtp_accounts:
description: "SMTP accounts"
type: "array"
required: true
items:
type: "object"
required: true
properties:
name:
description: "Name of the account"
type: "string"
secret: false
required: true
server:
description: "Email server name - e.g. imap.gmail.com"
type: "string"
secret: false
required: true
username:
description: "Mailbox username"
type: "string"
required: false
password:
description: "Mailbox password."
type: "string"
secret: true
required: false
port:
description: "Port to connect to - e.g. 465, 587."
type: "integer"
default: 465
required: true
secure:
description: "Set to False to disable secure protocol. Default value is True."
type: "boolean"
default: true
smtp_auth:
description: "Authenticate username and password with SMTP server to send email. Default True"
type: "boolean"
default: true
max_attachment_size:
description: "Maxium size of downloaded attachment in bytes (default 1024)"
type: "integer"
required: false
default: 1024
attachment_datastore_ttl:
description: "TTL in seconds to keep attachments in the datastore. Default 1800"
type: "integer"
required: false
default: 1800
jira_accounts:
type: "array"
required: true
description: Jira Settings and tokens
items:
type: "object"
required: true
properties:
name:
description: "Name of the jira account"
type: "string"
secret: false
required: true
username:
type: "string"
description: "Username for stfc.atlassian.net"
required: true
api_token:
type: "string"
description: "Token for stfc.atlassian.net"
required: true
secret: true
atlassian_endpoint:
type: "string"
description: "atlassian endpoint"
required: true
secret: false
default: "https://stfc.atlassian.net"
icinga_accounts:
type: "array"
required: true
description: Icinga account
items:
type: "object"
required: true
properties:
name:
description: "Name of the jira account"
type: "string"
secret: false
required: true
username:
type: "string"
description: "Username for icinga"
required: true
password:
type: "string"
description: "Password for icinga"
required: true
secret: true
icinga_endpoint:
type: "string"
description: "icinga endpoint"
required: true
secret: false
default: ""
hypervisor_sensor:
description: "Hypervisor sensor specific settings."
type: "object"
required: false
additionalProperties: false
properties:
cloud_account:
type: "string"
description: "cloud account to use - set in clouds.ymal"
uptime_limit:
type: "integer"
description: "Number of uptime days before marking hypervisor for maintenance"