We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 361bd66 commit 208386aCopy full SHA for 208386a
prometheus-ksonnet/lib/config.libsonnet
@@ -11,6 +11,7 @@
11
{
12
title: 'Grafana',
13
path: 'grafana',
14
+ params: '/?search=open',
15
url: 'http://grafana.%(namespace)s.svc.%(cluster_dns_suffix)s/' % $._config,
16
allowWebsockets: true,
17
},
prometheus-ksonnet/lib/nginx.libsonnet
@@ -48,8 +48,8 @@
48
locations: std.join('\n', self.location_stanzas),
49
link_stanzas: [
50
|||
51
- <li><a href="/%(path)s">%(title)s</a></li>
52
- ||| % service
+ <li><a href="/%(path)s%(params)s">%(title)s</a></li>
+ ||| % ({ params: '' } + service)
53
for service in $._config.admin_services
54
],
55
links: std.join('\n', self.link_stanzas),
0 commit comments