mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 11:48:53 +00:00
prometheus: use computed route prefix instead of the spec
This commit is contained in:
parent
0d446f3052
commit
eac07aec8b
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
## 0.10.2 / 2017-06-21
|
||||
|
||||
* [BUGFIX] Use computed route prefix instead of directly from manifest.
|
||||
|
||||
## 0.10.1 / 2017-06-13
|
||||
|
||||
Attention: if the basic auth feature was previously used, the `key` and `name`
|
||||
|
|
|
@ -327,7 +327,7 @@ func makeStatefulSetSpec(p v1alpha1.Prometheus, c *Config, ruleConfigMaps []*v1.
|
|||
if p.Spec.RoutePrefix != "" {
|
||||
webRoutePrefix = p.Spec.RoutePrefix
|
||||
}
|
||||
promArgs = append(promArgs, "-web.route-prefix="+p.Spec.RoutePrefix)
|
||||
promArgs = append(promArgs, "-web.route-prefix="+webRoutePrefix)
|
||||
|
||||
localReloadURL := &url.URL{
|
||||
Scheme: "http",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue