[stable/prometheus] Added configPath parameter (#10976)

* Added configPath parameter

Signed-off-by: Ivan Kiselev <ivan@messagebird.com>

* bump chart version

Signed-off-by: Ivan Kiselev <ivan@messagebird.com>
This commit is contained in:
Ivan Kiselev
2019-01-30 10:24:32 -08:00
committed by Kubernetes Prow Robot
parent d6b957fd02
commit c2c328eaa6
5 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: prometheus
version: 8.4.8
version: 8.4.9
appVersion: 2.6.1
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
+1
View File
@@ -230,6 +230,7 @@ Parameter | Description | Default
`server.image.tag` | Prometheus server container image tag | `v2.6.1`
`server.image.pullPolicy` | Prometheus server container image pull policy | `IfNotPresent`
`server.enableAdminApi` | If true, Prometheus administrative HTTP API will be enabled. Please note, that you should take care of administrative API access protection (ingress or some frontend Nginx with auth) before enabling it. | `false`
`server.configPath` | Path to a prometheus server config file on the container FS | `/etc/config/prometheus.yml`
`server.global.scrape_interval` | How frequently to scrape targets by default | `1m`
`server.global.scrape_timeout` | How long until a scrape request times out | `10s`
`server.global.evaluation_interval` | How frequently to evaluate rules | `1m`
@@ -89,7 +89,7 @@ spec:
{{- if .Values.server.retention }}
- --storage.tsdb.retention={{ .Values.server.retention }}
{{- end }}
- --config.file=/etc/config/prometheus.yml
- --config.file={{ .Values.server.configPath }}
- --storage.tsdb.path={{ .Values.server.persistentVolume.mountPath }}
- --web.console.libraries=/etc/prometheus/console_libraries
- --web.console.templates=/etc/prometheus/consoles
@@ -82,7 +82,7 @@ spec:
{{- if .Values.server.retention }}
- --storage.tsdb.retention={{ .Values.server.retention }}
{{- end }}
- --config.file=/etc/config/prometheus.yml
- --config.file={{ .Values.server.configPath }}
- --storage.tsdb.path={{ .Values.server.persistentVolume.mountPath }}
- --web.console.libraries=/etc/prometheus/console_libraries
- --web.console.templates=/etc/prometheus/consoles
+3
View File
@@ -555,6 +555,9 @@ server:
## series. This is disabled by default.
enableAdminApi: false
## Path to a configuration file on prometheus server container FS
configPath: /etc/config/prometheus.yml
global:
## How frequently to scrape targets by default
##