Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
kklinch0
6f9b8ba040 feature add possible configure alerta
Signed-off-by: kklinch0 <kklinch0@gmail.com>
2025-09-10 23:16:12 +03:00
6 changed files with 30 additions and 3 deletions

View file

@ -3,4 +3,4 @@ name: monitoring
description: Monitoring and observability stack
icon: /logos/monitoring.svg
type: application
version: 1.13.0
version: 1.14.0

View file

@ -67,6 +67,7 @@
| `alerta.resources.limits` | | `*object` | `null` |
| `alerta.resources.limits.cpu` | CPU limit (maximum available CPU) | `*quantity` | `1` |
| `alerta.resources.limits.memory` | Memory limit (maximum available memory) | `*quantity` | `1Gi` |
| `alerta.extraEnvs` | Additional environment variables to inject into the alerta container | `[]object` | `[]` |
| `alerta.alerts` | Configuration for alerts | `*object` | `null` |
| `alerta.alerts.telegram` | Configuration for Telegram alerts | `*object` | `null` |
| `alerta.alerts.telegram.token` | Telegram token for your bot | `string` | `""` |

View file

@ -121,7 +121,9 @@ spec:
- name: TELEGRAM_DISABLE_NOTIFICATION_SEVERITY
value: "{{ .Values.alerta.alerts.telegram.disabledSeverity }}"
{{- end }}
{{- with .Values.alerta.extraEnvs }}
{{- toYaml . | nindent 10 }}
{{- end }}
ports:
- name: http
containerPort: 8080

View file

@ -13,6 +13,7 @@
"token": ""
}
},
"extraEnvs": {},
"resources": {
"limits": {
"cpu": "1",
@ -68,6 +69,15 @@
}
}
},
"extraEnvs": {
"description": "Additional environment variables to inject into the alerta container",
"type": "array",
"default": [],
"items": {
"type": "object",
"x-kubernetes-preserve-unknown-fields": true
}
},
"resources": {
"description": "Resources configuration",
"type": "object",

View file

@ -85,6 +85,7 @@ logsStorages:
## @field alerta.storage {*string} Persistent Volume size for the database
## @field alerta.storageClassName {*string} StorageClass used to store the data
## @field alerta.resources {*resources} Resources configuration
## @field alerta.extraEnvs {[]object} Additional environment variables to inject into the alerta container
## @field alerta.alerts {*alerts} Configuration for alerts
## @field alerts.telegram {*telegramAlerts} Configuration for Telegram alerts
## @field telegramAlerts.token {string} Telegram token for your bot
@ -93,6 +94,18 @@ logsStorages:
alerta:
storage: 10Gi
storageClassName: ""
## example:
## extraEnvs:
## - name: CUSTOM_FEATURE
## value: "enabled"
## - name: LOG_LEVEL
## value: "debug"
## - name: CONFIG_FROM_CM
## valueFrom:
## configMapKeyRef:
## name: my-config
## key: some-key
extraEnvs: []
resources:
limits:
cpu: "1"

View file

@ -54,7 +54,8 @@ monitoring 1.10.1 8c86905b
monitoring 1.11.0 4369b031
monitoring 1.12.0 0e47e1e8
monitoring 1.12.1 c02a3818
monitoring 1.13.0 HEAD
monitoring 1.13.0 8f1975d1
monitoring 1.14.0 HEAD
seaweedfs 0.1.0 71514249
seaweedfs 0.2.0 5fb9cfe3
seaweedfs 0.2.1 fde4bcfa