mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
d6b957fd02
commit
c2c328eaa6
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user