5a290e1d83
This patch set adds a new Alertmanager dashboard to Grafana. Note that a new configmap is created for this instead of using the same configmap which includes all the dashboards. Using the same configmap will eventually run into issue with configmap size limitation. Change-Id: I10561c0b0b464c3b67d4a738f9f2cb70ef601b3d
26 lines
812 B
YAML
26 lines
812 B
YAML
{{/*
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/}}
|
|
|
|
{{- if .Values.manifests.configmap_dashboards_alertmanager }}
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: grafana-dashboards-alertmanager
|
|
data:
|
|
{{ range $key, $value := .Values.conf.dashboards_alertmanager }}
|
|
{{$key}}.json: {{ $value | toJson }}
|
|
{{ end }}
|
|
{{- end }}
|