mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/prometheus] Ability to enable admin API (#5570)
New `server.enableAdminApi` option to control administrative HTTP API Closes #5568
This commit is contained in:
committed by
k8s-ci-robot
parent
ef8519883d
commit
efdcffe0b6
@@ -1,5 +1,5 @@
|
||||
name: prometheus
|
||||
version: 6.6.0
|
||||
version: 6.6.1
|
||||
appVersion: 2.2.1
|
||||
description: Prometheus is a monitoring system and time series database.
|
||||
home: https://prometheus.io/
|
||||
|
||||
@@ -208,6 +208,7 @@ Parameter | Description | Default
|
||||
`server.image.repository` | Prometheus server container image repository | `prom/prometheus`
|
||||
`server.image.tag` | Prometheus server container image tag | `v2.1.0`
|
||||
`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.extraArgs` | Additional Prometheus server container arguments | `{}`
|
||||
`server.prefixURL` | The prefix slug at which the server can be accessed | ``
|
||||
`server.baseURL` | The external url at which the server can be accessed | ``
|
||||
|
||||
@@ -83,6 +83,9 @@ spec:
|
||||
{{- if .Values.server.baseURL }}
|
||||
- --web.external-url={{ .Values.server.baseURL }}
|
||||
{{- end }}
|
||||
{{- if .Values.server.enableAdminApi }}
|
||||
- --web.enable-admin-api
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: 9090
|
||||
readinessProbe:
|
||||
|
||||
@@ -444,6 +444,10 @@ server:
|
||||
## Maybe same with Ingress host name
|
||||
baseURL: ""
|
||||
|
||||
## This flag controls access to the administrative HTTP API which includes functionality such as deleting time
|
||||
## series. This is disabled by default.
|
||||
enableAdminApi: false
|
||||
|
||||
## Additional Prometheus server container arguments
|
||||
##
|
||||
extraArgs: {}
|
||||
|
||||
Reference in New Issue
Block a user