# alertmanager-matrix
  
Service for managing and receiving Alertmanager alerts on Matrix
## Usage
Helm must be installed and setup to your kubernetes cluster to use the charts.
Refer to Helm's [documentation](https://helm.sh/docs) to get started.
Once Helm has been set up correctly, fetch the charts as follows:
```bash
helm pull oci://codeberg.org/wrenix/helm-charts/alertmanager-matrix
```
You can install a chart release using the following command:
```bash
helm install alertmanager-matrix-release oci://codeberg.org/wrenix/helm-charts/alertmanager-matrix --values values.yaml
```
To uninstall a chart release use `helm`'s delete command:
```bash
helm uninstall alertmanager-matrix-release
```
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| autoscaling.enabled | bool | `false` | |
| autoscaling.maxReplicas | int | `100` | |
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| bot.alertmanager | string | `"http://localhost:9093"` | |
| bot.colors.alert | string | `"black"` | |
| bot.colors.critical | string | `"red"` | |
| bot.colors.error | string | `"red"` | |
| bot.colors.info | string | `"blue"` | |
| bot.colors.information | string | `"blue"` | |
| bot.colors.resolved | string | `"green"` | |
| bot.colors.silenced | string | `"gray"` | |
| bot.colors.warning | string | `"orange"` | |
| bot.icons.alert | string | `"đī¸"` | |
| bot.icons.critical | string | `"đ¨"` | |
| bot.icons.error | string | `"đ¨"` | |
| bot.icons.info | string | `"âšī¸"` | |
| bot.icons.information | string | `"âšī¸"` | |
| bot.icons.resolved | string | `"â
"` | |
| bot.icons.silenced | string | `"đ"` | |
| bot.icons.warning | string | `"â ī¸"` | |
| bot.matrix.homeserver | string | `"http://localhost:8008"` | |
| bot.matrix.rooms[0] | string | `"!not_existing:matrix.org"` | |
| bot.matrix.rooms[1] | string | `"!also_not_existing:matrix.org"` | |
| bot.matrix.token | string | `"SECRET_TOKEN"` | |
| bot.matrix.userID | string | `"bot"` | |
| bot.messageType | string | `"m.notice"` | |
| bot.showLabels | bool | `false` | |
| bot.template.html | string | `"{{ range .Alerts }}\n \n {{.StatusString|icon}}\n {{.StatusString|upper}}\n {{.AlertName}}:\n \n {{.Summary}}\n {{if ne .Fingerprint \"\"}}\n ({{.Fingerprint}})\n {{end}}\n {{if $.ShowLabels}}\n
\n Labels:\n {{.LabelString}}
\n {{end}}\n
\n{{- end -}}\n"` | |
| bot.template.text | string | `"{{ range .Alerts }}\n {{.StatusString|icon}}\n {{.StatusString|upper}}\n {{.AlertName}}:\n {{.Summary}}\n {{if ne .Fingerprint \"\"}}\n ({{.Fingerprint}})\n {{end}}\n {{if $.ShowLabels}}\n , labels:\n {{.LabelString}}\n {{end}}\n \\n\n{{ end -}}\n"` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.registry | string | `"docker.io"` | |
| image.repository | string | `"silkeh/alertmanager_matrix"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
| ingress.enabled | bool | `false` | |
| ingress.hosts[0].host | string | `"chart-example.local"` | |
| ingress.hosts[0].paths[0].path | string | `"/"` | |
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
| ingress.tls | list | `[]` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| podAnnotations | object | `{}` | |
| podLabels | object | `{}` | |
| podSecurityContext | object | `{}` | |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| securityContext | object | `{}` | |
| service.port | int | `4051` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | |
| serviceAccount.name | string | `""` | |
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)