mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 11:48:53 +00:00
prometheus: added command arguments for consoles visualizationprometheus neddes to know where console templates and libaries areto render them in the browser.Fixes #1460
This commit is contained in:
parent
14d647a5c6
commit
836ed6c92e
1 changed files with 5 additions and 1 deletions
|
@ -286,7 +286,11 @@ func makeStatefulSetSpec(p monitoringv1.Prometheus, c *Config) (*appsv1.Stateful
|
|||
return nil, errors.Wrap(err, "parse version")
|
||||
}
|
||||
|
||||
var promArgs []string
|
||||
promArgs := []string{
|
||||
"-web.console.templates=/etc/prometheus/consoles",
|
||||
"-web.console.libraries=/etc/prometheus/console-libraries",
|
||||
}
|
||||
|
||||
var securityContext *v1.PodSecurityContext
|
||||
|
||||
switch version.Major {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue