helm-charts/alertmanager-matrix/templates/configmap.yaml

19 lines
600 B
YAML
Raw Normal View History

2023-07-20 21:11:14 +02:00
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "alertmanager-matrix.fullname" . }}
annotations:
config-icons: {{ toYaml .Values.bot.icons | sha256sum | trunc 32}}
config-colors: {{ toYaml .Values.bot.colors | sha256sum | trunc 32}}
config-templates: {{ toYaml .Values.bot.templates | sha256sum | trunc 32}}
2023-07-20 21:11:14 +02:00
data:
icon.yaml: |
2023-07-20 21:11:14 +02:00
{{- toYaml .Values.bot.icons | nindent 4 }}
color.yaml: |
2023-07-20 21:11:14 +02:00
{{- toYaml .Values.bot.colors | nindent 4 }}
text.tpl: |
2023-07-20 21:11:14 +02:00
{{- .Values.bot.template.text | nindent 4 }}
html.tpl: |
2023-07-20 21:11:14 +02:00
{{- .Values.bot.template.html | nindent 4 }}