1
0
Fork 0
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:
Frederic Branczyk 2017-06-21 11:49:24 +02:00
parent 0d446f3052
commit eac07aec8b
No known key found for this signature in database
GPG key ID: CA14788B1E48B256
2 changed files with 5 additions and 1 deletions

View file

@ -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`

View file

@ -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",