Compare commits
2 commits
main
...
fix/config
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28d8ba8219 | ||
|
|
85f370eb2b |
5 changed files with 30 additions and 2 deletions
|
|
@ -72,6 +72,8 @@
|
|||
| `alerta.alerts.telegram.token` | Telegram token for your bot | `string` | `""` |
|
||||
| `alerta.alerts.telegram.chatID` | Specify multiple ID's separated by comma. Get yours in https://t.me/chatid_echo_bot | `string` | `""` |
|
||||
| `alerta.alerts.telegram.disabledSeverity` | List of severity without alerts, separated by comma like: "informational,warning" | `string` | `""` |
|
||||
| `alerta.alerts.slack` | Configuration for Telegram alerts | `*object` | `null` |
|
||||
| `alerta.alerts.slack.url` | Slack webhook URL | `string` | `""` |
|
||||
|
||||
|
||||
### Grafana configuration
|
||||
|
|
|
|||
|
|
@ -122,6 +122,13 @@ spec:
|
|||
value: "{{ .Values.alerta.alerts.telegram.disabledSeverity }}"
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.alerta.alerts.slack.url }}
|
||||
- name: "PLUGINS"
|
||||
value: "slack"
|
||||
- name: "SLACK_WEBHOOK_URL"
|
||||
value: "{{ .Values.alerta.alerts.slack.url }}"
|
||||
{{- end }}
|
||||
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
|
|
|
|||
|
|
@ -12,6 +12,20 @@
|
|||
"type": "object",
|
||||
"default": {},
|
||||
"properties": {
|
||||
"slack": {
|
||||
"description": "Configuration for Telegram alerts",
|
||||
"type": "object",
|
||||
"default": {},
|
||||
"required": [
|
||||
"url"
|
||||
],
|
||||
"properties": {
|
||||
"url": {
|
||||
"description": "Slack webhook URL",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"telegram": {
|
||||
"description": "Configuration for Telegram alerts",
|
||||
"type": "object",
|
||||
|
|
|
|||
|
|
@ -87,9 +87,11 @@ logsStorages:
|
|||
## @field alerta.resources {*resources} Resources configuration
|
||||
## @field alerta.alerts {*alerts} Configuration for alerts
|
||||
## @field alerts.telegram {*telegramAlerts} Configuration for Telegram alerts
|
||||
## @field alerts.slack {*slackAlerts} Configuration for Telegram alerts
|
||||
## @field telegramAlerts.token {string} Telegram token for your bot
|
||||
## @field telegramAlerts.chatID {string} Specify multiple ID's separated by comma. Get yours in https://t.me/chatid_echo_bot
|
||||
## @field telegramAlerts.disabledSeverity {string} List of severity without alerts, separated by comma like: "informational,warning"
|
||||
## @field slackAlerts.url {string} Slack webhook URL
|
||||
alerta:
|
||||
storage: 10Gi
|
||||
storageClassName: ""
|
||||
|
|
@ -112,6 +114,9 @@ alerta:
|
|||
chatID: ""
|
||||
disabledSeverity: ""
|
||||
|
||||
slack:
|
||||
url: ""
|
||||
|
||||
## @section Grafana configuration
|
||||
|
||||
## @param grafana {grafana} Configuration for Grafana
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue