forked from vito/grafana-boshrelease
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spec
255 lines (190 loc) · 8.38 KB
/
spec
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
---
name: grafana
templates:
bpm.yml.erb: config/bpm.yml
post-start: bin/post-start
create-update-dashboards.erb: bin/create-update-dashboards
config.ini.erb: config/config.ini
ssl.key.erb: config/ssl.key
ssl.crt.erb: config/ssl.crt
credentials: home/.aws/credentials
client.key.erb: config/client.key
client.crt.erb: config/client.crt
cacert.pem.erb: config/cacert.pem
dashboards.yml: config/provisioning/dashboards/dashboards.yml
datasources.yml.erb: config/provisioning/datasources/datasources.yml
packages:
- grafana
properties:
grafana.listen_port:
description: "TCP port on which the Grafana server should listen."
default: 3000
grafana.root_url:
description: "The full root URL for the instance. Used for OAuth callbacks."
grafana.ssl.cert:
description: "SSL cert to use for HTTPS. If not specified, the server will listen in plaintext."
grafana.ssl.key:
description: "SSL private key to use for HTTPS. If not specified, the server will listen in plaintext."
grafana.admin_username:
description: "Username for the initial admin user."
grafana.admin_password:
description: "Password for the initial admin user."
grafana.users.allow_sign_up:
description: "If enabled, users can create their own accounts."
default: false
grafana.users.allow_organization_creation:
description: "If enabled, non-admin users can create organizations."
default: false
grafana.users.auto_assign_organization:
description: "If enabled, new users will be automatically added to the default organization (id 1)."
default: true
grafana.users.auto_assign_organization_role:
description: "The role for new users when automatically added to the default organization."
default: Viewer
grafana.auth.anonymous.enabled:
description: "If enabled, users do not have to log in."
default: false
grafana.auth.anonymous.organization:
description: "The organization that should be used for unauthenticated users."
default: Main Org.
grafana.auth.anonymous.organization_role:
description: "The role to assume for anonymous users."
default: Viewer
grafana.auth.github.enabled:
description: "Permit users to authenticate via GitHub OAuth."
default: false
grafana.auth.github.allow_sign_up:
description: "Permit users to register via GitHub OAuth."
default: true
grafana.auth.github.client_id:
description: "GitHub OAuth client ID."
grafana.auth.github.client_secret:
description: "GitHub OAuth client secret."
grafana.auth.github.auth_url:
description: "GitHub OAuth authorization endpoint."
default: https://github.com/login/oauth/authorize
grafana.auth.github.token_url:
description: "GitHub OAuth access token endpoint."
default: https://github.com/login/oauth/access_token
grafana.auth.github.api_url:
description: "GitHub users API endpoint."
default: https://api.github.com/user
grafana.auth.github.allowed_email_domains:
description: "E-mail address domains to allow. If empty, all are allowed."
default: []
grafana.auth.github.allowed_organizations:
description: "GitHub organizations to allow. If empty, all are allowed."
default: []
grafana.auth.github.team_ids:
description: "GitHub team IDs to allow. If empty, all are allowed."
default: []
grafana.auth.google.enabled:
description: "Permit users to authenticate via Google OAuth."
default: false
grafana.auth.google.allow_sign_up:
description: "Permit users to register via Google OAuth."
default: true
grafana.auth.google.client_id:
description: "Google OAuth client ID."
grafana.auth.google.client_secret:
description: "Google OAuth client secret."
grafana.auth.google.auth_url:
description: "Google OAuth authorization endpoint."
default: https://accounts.google.com/o/oauth2/auth
grafana.auth.google.token_url:
description: "Google OAuth access token endpoint."
default: https://accounts.google.com/o/oauth2/token
grafana.auth.google.api_url:
description: "Google users API endpoint."
default: https://www.googleapis.com/oauth2/v1/userinfo
grafana.auth.google.allowed_email_domains:
description: "E-mail address domains to allow. If empty, all are allowed."
default: []
grafana.auth.generic_oauth.enabled:
description: "Permit users to authenticate via Generic OAuth."
default: false
grafana.auth.generic_oauth.name:
description: "Generic OAuth login link display name."
default: "OAuth"
grafana.auth.generic_oauth.client_id:
description: "Generic OAuth client ID."
grafana.auth.generic_oauth.client_secret:
description: "Generic OAuth client secret."
grafana.auth.generic_oauth.scopes:
description: "Generic OAuth scopes."
grafana.auth.generic_oauth.auth_url:
description: "Generic OAuth authorization endpoint."
grafana.auth.generic_oauth.token_url:
description: "Generic OAuth access token endpoint."
grafana.auth.generic_oauth.api_url:
description: "Generic OAuth OpenID UserInfo API endpoint."
grafana.auth.generic_oauth.allowed_domains:
description: "E-mail address domains to allow. If empty, all are allowed."
default: []
grafana.auth.generic_oauth.allow_sign_up:
description: "Permit users to register via Generic OAuth."
default: true
grafana.auth.generic_oauth.tls_client_cert:
description: "PEM encoded certificate for TLS client authentication via Generic OAuth."
grafana.auth.generic_oauth.tls_client_key:
description: "PEM encoded private key for TLS client authentication via Generic OAuth."
grafana.auth.generic_oauth.tls_client_ca:
description: "PEM encoded CA certificate for TLS client authentication via Generic OAuth."
grafana.datasource:
description: "Grafana datasource; see http://docs.grafana.org/http_api/data_source/ for details"
grafana.datasources:
description: |
* If you want to configure multiple datasources, you can define an array of hashes here. Each hash must have 'name', 'url', 'type', 'user', 'password' and 'database' defined.
* These datasources will be created in addition to the datasource defined in 'grafana.datasource'. The latter property is for backwards compatibility.
* See http://docs.grafana.org/http_api/data_source/ for details
example: |
- name: influxdb
url: http://1.2.3.4:8086
type: influxdb
user: admin
password: admin123
database: metrics
default: []
grafana.dashboards:
description: |
List of grafana dasboards, converted to YAML
example: |
- name: frontend (without extension)
content: <minified JSON content>
default: []
grafana.auth.proxy.enabled:
description: "Handle authentication in a http reverse proxy"
grafana.auth.proxy.header_name:
description: "The name of the http header used to forward authenticated user"
grafana.auth.proxy.header_property:
description: "Whether the header contains a user name or an email address (allowed values are 'username' or 'email')."
grafana.auth.proxy.auto_sign_up:
description: "Enable sign up of users who do not exist in Grafana DB"
grafana.aws.aws_access_key_id:
description: "access key for AWS cloudwatch data source"
default: ""
grafana.aws.aws_secret_access_key:
description: "secret access key for AWS cloudwatch data source"
default: ""
grafana.aws.region:
description: "region for AWS cloudwatch data source"
default: ""
grafana.snapshots.external_enabled:
description: "Enable external snapshots sharing (to snapshot.raintank.io)"
default: true
grafana.external_image_storage.s3.bucket:
description: "S3 Bucket to which images can be uploaded for public visibility (i.e. alerting)."
grafana.external_image_storage.s3.region:
description: "S3 Bucket region."
grafana.external_image_storage.s3.path:
description: "S3 Bucket path."
grafana.external_image_storage.s3.access_key:
description: "Access key to use when uploading to the bucket."
grafana.external_image_storage.s3.secret_key:
description: "Secret key to use when uploading to the bucket."
grafana.external_image_storage.webdav.url:
description: "WebDAV URL to which images can be uploaded for public visibility (i.e. alerting)."
grafana.external_image_storage.webdav.username:
description: "WebDAV user name."
grafana.external_image_storage.webdav.password:
description: "WebDAV password."