mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/prometheus] Use yaml not literal for alertmanagerFiles (#3777)
- Use yaml not literal for alertmanagerFiles (closes #3576). - Raise minor release number to mark the updated values structure. - Fix typo in README associated with yaml not literal for serverFiles.
This commit is contained in:
committed by
k8s-ci-robot
parent
d419cb7bee
commit
fa28e3b7ea
@@ -1,5 +1,5 @@
|
||||
name: prometheus
|
||||
version: 5.3.3
|
||||
version: 5.4.0
|
||||
description: Prometheus is a monitoring system and time series database.
|
||||
home: https://prometheus.io/
|
||||
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
|
||||
|
||||
@@ -77,7 +77,7 @@ Assuming you have an existing release of the prometheus chart, named `prometheus
|
||||
1. Deploy a new release of the chart with version 5.0+ using prometheus 2.x. In the values.yaml set the scrape config as usual, and also add the `prometheus-old` instance as a remote-read target.
|
||||
|
||||
```
|
||||
prometheus.yml: |
|
||||
prometheus.yml:
|
||||
...
|
||||
remote_read:
|
||||
- url: http://prometheus-old/api/v1/read
|
||||
@@ -126,7 +126,7 @@ Parameter | Description | Default
|
||||
`alertmanager.service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | `[]`
|
||||
`alertmanager.service.servicePort` | alertmanager service port | `80`
|
||||
`alertmanager.service.type` | type of alertmanager service to create | `ClusterIP`
|
||||
`alertmanagerFiles` | alertmanager ConfigMap entries | `alertmanager.yml`
|
||||
`alertmanagerFiles.alertmanager.yml` | Prometheus alertmanager configuration | example configuration
|
||||
`configmapReload.name` | configmap-reload container name | `configmap-reload`
|
||||
`configmapReload.image.repository` | configmap-reload container image repository | `jimmidyson/configmap-reload`
|
||||
`configmapReload.image.tag` | configmap-reload container image tag | `v0.1`
|
||||
|
||||
@@ -10,5 +10,9 @@ metadata:
|
||||
release: {{ .Release.Name }}
|
||||
name: {{ template "prometheus.alertmanager.fullname" . }}
|
||||
data:
|
||||
{{ toYaml .Values.alertmanagerFiles | indent 2 }}
|
||||
{{- end }}
|
||||
{{- $root := . -}}
|
||||
{{- range $key, $value := .Values.alertmanagerFiles }}
|
||||
{{ $key }}: |
|
||||
{{ toYaml $value | default "{}" | indent 4 }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -644,7 +644,7 @@ pushgateway:
|
||||
## alertmanager ConfigMap entries
|
||||
##
|
||||
alertmanagerFiles:
|
||||
alertmanager.yml: |-
|
||||
alertmanager.yml:
|
||||
global:
|
||||
# slack_api_url: ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user