File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 9
9
// Overrides for the nginx frontend for all these services.
10
10
admin_services: std.prune ([
11
11
{
12
- title: 'Grafana' ,
12
+ title: 'Grafana (Light) ' ,
13
13
path: 'grafana' ,
14
- params: '/?search=open' ,
14
+ params: '/?search=open&theme=light' ,
15
+ url: 'http://grafana.%(namespace)s.svc.%(cluster_dns_suffix)s/' % $._config,
16
+ allowWebsockets: true ,
17
+ },
18
+ {
19
+ title: 'Grafana (Dark)' ,
20
+ path: 'grafana' ,
21
+ params: '/?search=open&theme=dark' ,
15
22
url: 'http://grafana.%(namespace)s.svc.%(cluster_dns_suffix)s/' % $._config,
16
23
allowWebsockets: true ,
17
24
},
Original file line number Diff line number Diff line change 45
45
local vars = {
46
46
location_stanzas: [
47
47
buildLocation(service)
48
- for service in $._config.admin_services
48
+ for service in std.set( $._config.admin_services, function(s) s.url)
49
49
],
50
50
locations: std.join('\n', self.location_stanzas),
51
51
link_stanzas: [
You can’t perform that action at this time.
0 commit comments