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 99 // Overrides for the nginx frontend for all these services.
1010 admin_services: std.prune ([
1111 {
12- title: 'Grafana' ,
12+ title: 'Grafana (Light) ' ,
1313 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' ,
1522 url: 'http://grafana.%(namespace)s.svc.%(cluster_dns_suffix)s/' % $._config,
1623 allowWebsockets: true ,
1724 },
Original file line number Diff line number Diff line change 4545 local vars = {
4646 location_stanzas: [
4747 buildLocation(service)
48- for service in $._config.admin_services
48+ for service in std.set( $._config.admin_services, function(s) s.url)
4949 ],
5050 locations: std.join('\n', self.location_stanzas),
5151 link_stanzas: [
You can’t perform that action at this time.
0 commit comments