-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from ChildishSahin/main
some improvements for the helm chart
- Loading branch information
Showing
5 changed files
with
92 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ apiVersion: v1 | |
appVersion: 2.0.2 | ||
description: A Helm chart for the calert which uses Alertmanager webhook receiver to receive alerts payload, and pushes this data to Google Chat webhook endpoint. | ||
name: calert | ||
version: 2.0.2 | ||
version: 2.0.3 | ||
icon: https://github.com/mr-karan/calert/raw/master/images/logo.png | ||
home: https://github.com/mr-karan/calert | ||
sources: | ||
- https://github.com/mr-karan/calert | ||
maintainers: | ||
- name: Karan Sharma | ||
email: [email protected] | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# calert | ||
|
||
  | ||
  | ||
|
||
A Helm chart for the calert which uses Alertmanager webhook receiver to receive alerts payload, and pushes this data to Google Chat webhook endpoint. | ||
|
||
**Homepage:** <https://github.com/mr-karan/calert> | ||
**Source Code:** <https://github.com/mr-karan/calert> | ||
|
||
## Alertmanager Integration | ||
# Alertmanager Integration | ||
|
||
The Alertmanager helm chart can be found [here](https://github.com/prometheus-community/helm-charts/tree/main/charts/alertmanager). You can refer to the following config block to route webhook alerts to `calert`: | ||
|
||
|
@@ -25,56 +25,35 @@ config: | |
group_by: ['alertname'] | ||
``` | ||
## Maintainers | ||
# Parameters | ||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| Karan Sharma | <[email protected]> | | | ||
The following tables lists the configurable parameters of the chart and their default values. | ||
## Source Code | ||
* <https://github.com/mr-karan/calert> | ||
## Values | ||
Change the values according to the need of the environment in ``contrib/helm/values.yaml`` file. | ||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | | | ||
| app.address | string | `"0.0.0.0:6000"` | | | ||
| app.server_timeout | string | `"60s"` | | | ||
| app.enable_request_logs | bool | `true` | | | ||
| app.log | string | `"info"` | | | ||
| providers | object | `{}` | | | ||
| templates | object | `{}` | | | ||
| replicaCount | int | `1` | | | ||
| image.repository | string | `"ghcr.io/mr-karan/calert"` | | | ||
| image.tag | string | `"v2.0.2"` | | | ||
| image.pullPolicy | string | `"Always"` | | | ||
| args[0] | string | `"--config=/app/static/config.toml"` | | | ||
| configmap.app.address | string | `"0.0.0.0:6000"` | | | ||
| configmap.app.enable_request_logs | bool | `true` | | | ||
| configmap.app.log | string | `"info"` | | | ||
| configmap.app.server_timeout | string | `"5s"` | | | ||
| configmap.providers.dev_alerts.dry_run | bool | `false` | | | ||
| configmap.providers.dev_alerts.endpoint | string | `"https://chat.googleapis.com/v1/spaces/xxx/messages?key=key&token=token%3D"` | | | ||
| configmap.providers.dev_alerts.max_idle_conns | int | `50` | | | ||
| configmap.providers.dev_alerts.proxy_url | string | `"http://internal-squid-proxy.com:3128"` | | | ||
| configmap.providers.dev_alerts.template | string | `"static/message.tmpl"` | | | ||
| configmap.providers.dev_alerts.thread_ttl | string | `"12h"` | | | ||
| configmap.providers.dev_alerts.timeout | string | `"7s"` | | | ||
| configmap.providers.dev_alerts.type | string | `"google_chat"` | | | ||
| configmap.providers.prod_alerts.dry_run | bool | `false` | | | ||
| configmap.providers.prod_alerts.endpoint | string | `"https://chat.googleapis.com/v1/spaces/xxx/messages?key=key&token=token%3D"` | | | ||
| configmap.providers.prod_alerts.max_idle_conns | int | `50` | | | ||
| configmap.providers.prod_alerts.proxy_url | string | `"http://internal-squid-proxy.com:3128"` | | | ||
| configmap.providers.prod_alerts.template | string | `"static/message.tmpl"` | | | ||
| configmap.providers.prod_alerts.thread_ttl | string | `"12h"` | | | ||
| configmap.providers.prod_alerts.timeout | string | `"7s"` | | | ||
| configmap.providers.prod_alerts.type | string | `"google_chat"` | | | ||
| nameOverride | string | `""` | | | ||
| fullnameOverride | string | `""` | | | ||
| image.pullPolicy | string | `"Always"` | | | ||
| image.repository | string | `"ghcr.io/mr-karan/calert"` | | | ||
| image.tag | string | `"latest"` | | | ||
| service.type | string | `"ClusterIP"` | | | ||
| service.port | int | `6000` | | | ||
| ingress.enabled | bool | `false` | | | ||
| nameOverride | string | `""` | | | ||
| nodeSelector | object | `{}` | | | ||
| replicaCount | int | `1` | | | ||
| resources.limits.cpu | string | `"20m"` | | | ||
| resources.limits.memory | string | `"48Mi"` | | | ||
| resources.requests.cpu | string | `"5m"` | | | ||
| resources.requests.memory | string | `"24Mi"` | | | ||
| service.port | int | `6000` | | | ||
| service.type | string | `"ClusterIP"` | | | ||
| nodeSelector | object | `{}` | | | ||
| tolerations | list | `[]` | | | ||
|
||
---------------------------------------------- | ||
| affinity | object | `{}` | | | ||
| podAnnotations | object | `{}` | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters