Merge "Add alert templates via alertmanager's values.yaml file"
This commit is contained in:
commit
1545482b8b
@ -24,4 +24,6 @@ metadata:
|
||||
data:
|
||||
alertmanager.yml:
|
||||
{{- toYaml .Values.conf.alertmanager | indent 4 }}
|
||||
alert-templates.tmpl:
|
||||
{{- toYaml .Values.conf.alert_templates | indent 4 }}
|
||||
{{- end }}
|
||||
|
@ -77,6 +77,10 @@ spec:
|
||||
volumeMounts:
|
||||
- name: etc-alertmanager
|
||||
mountPath: /etc/config
|
||||
- name: alertmanager-etc
|
||||
mountPath: /etc/alertmanager/template/alert-templates.tmpl
|
||||
subPath: alert-templates.tmpl
|
||||
readOnly: true
|
||||
- name: alertmanager-etc
|
||||
mountPath: /etc/config/alertmanager.yml
|
||||
subPath: alertmanager.yml
|
||||
|
@ -270,3 +270,4 @@ conf:
|
||||
room_id: 85
|
||||
message_format: html
|
||||
notify: true
|
||||
alertmanager_templates: null
|
||||
|
Loading…
x
Reference in New Issue
Block a user