helm-charts/alertmanager-matrix/values.yaml

169 lines
4.6 KiB
YAML
Raw Normal View History

2023-07-20 21:11:14 +02:00
# Default values for alertmanager-matrix.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
registry: registry.gitlab.com
repository: wrenix/alertmanager_matrix
2023-07-20 21:11:14 +02:00
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
# latest with current:
# - amd64 @sha256:2afd6d70f39fdfa98f11758090506f7845aee33cc8d900f9fe39a2574c272063
# - 386 /x86 @sha256:beca95e9595de7169ab34406936b585d6676ce03a7fe51815b3a6a4944f9dd6d
# - arm v6 @sha256:ce40ea204497bfc9b2e796cf984eba53ba7c59164d39dcd4c11f0ca561e57eca
# - arm v7 @sha256:59ce3dfc73be5f70b873fe095e1eee4e0fe1f256b39f8f051ad0a2ffe9d1177e
# - arm v8 @sha256:fdbf50e944f8118dd1a44dde21b9cc098fb13837031e2f2492c148848c3d3cc8
# - ppc64le @sha256:4ce02adbf4efe3ad04422e35bd4e87442a7c899fea13988adaeb985c720e0c63
# - s390x @sha256:a202252cc00664a17caa5760f749b35a7b71253d1b1474b861f233e83ada1c76
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
bot:
matrix:
homeserver: "http://localhost:8008"
userID: "bot"
token: "SECRET_TOKEN"
rooms:
2024-01-13 01:18:16 +01:00
- "!not_existing:matrix.org"
- "!also_not_existing:matrix.org"
2023-07-20 21:11:14 +02:00
alertmanager: "http://localhost:9093"
showLabels: false
messageType: "m.notice"
icons:
2024-01-13 01:18:16 +01:00
alert: "🔔️"
2023-07-20 21:11:14 +02:00
information: ""
2024-01-13 01:18:16 +01:00
info: ""
warning: "⚠️"
critical: "🚨"
error: "🚨"
resolved: "✅"
silenced: "🔕"
2023-07-20 21:11:14 +02:00
colors:
2024-01-13 01:18:16 +01:00
alert: "black"
2023-07-20 21:11:14 +02:00
information: "blue"
2024-01-13 01:18:16 +01:00
info: "blue"
warning: "orange"
critical: "red"
error: "red"
resolved: "green"
silenced: "gray"
2023-07-20 21:11:14 +02:00
# get from: https://gitlab.com/silkeh/alertmanager_matrix/-/blob/master/pkg/bot/formatting.go
template:
text: >
{{ range .Alerts }}
{{- .StatusString|icon}} {{ .StatusString|upper }}{{ .AlertName }}: {{ .Summary }} {{ if ne .Fingerprint "" -}}
2023-07-20 21:11:14 +02:00
({{.Fingerprint}})
{{- end}}
{{- if $.ShowLabels -}}
2023-07-20 21:11:14 +02:00
, labels:
{{- .LabelString}}
{{- end }}
2023-07-20 21:11:14 +02:00
{{ end -}}
html: >
{{ range .Alerts }}
<font color="{{.StatusString|color}}">
{{.StatusString|icon}}
<b>{{.StatusString|upper}}</b>
{{.AlertName}}:
</font>
{{.Summary}}
{{if ne .Fingerprint ""}}
({{.Fingerprint}})
{{end}}
{{if $.ShowLabels}}
<br/>
<b>Labels:</b>
<code>{{.LabelString}}</code>
{{end}}
<br/>
{{- end -}}
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podLabels: {}
2023-07-20 21:11:14 +02:00
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 4051
ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}
# Logging
# This HelmChart could also deploy Flow for the [Logging-Operator](https://kube-logging.github.io/docs/)
# Configuration is optimzed for deliever to elasticsearch
logging:
# -- Deploy Flow for logging-operator
enabled: false
# -- if an filter (here or global) for dedot is active - for disable set `null`
dedot:
# -- Add other filters to Flow
additionalFilters: []
# -- Flows localOutputRefs for use of Outputs
localOutputRefs: []
# -- Flows globalOutputRefs for use of ClusterOutputs
globalOutputRefs:
- "default"