Allow adding additional global config options (#11160)

Signed-off-by: Naseem Ullah <naseemkullah@gmail.com>
This commit is contained in:
Naseem
2019-02-06 06:49:57 -08:00
committed by Kubernetes Prow Robot
parent 08c82581a1
commit 2cacf4e208
4 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
description: ElastAlert is a simple framework for alerting on anomalies, spikes, or other patterns of interest from data in Elasticsearch.
name: elastalert
version: 0.10.0
version: 0.11.0
appVersion: 0.1.38
home: https://github.com/Yelp/elastalert
icon: https://static-www.elastic.co/assets/blteb1c97719574938d/logo-elastic-elasticsearch-lt.svg
+1
View File
@@ -68,6 +68,7 @@ The command removes all the Kubernetes components associated with the chart and
| `elasticsearch.caCerts` | path to a CA cert bundle to use to verify SSL connections | /certs/ca.pem |
| `elasticsearch.certsVolumes` | certs volumes, required to mount ssl certificates when elasticsearch has tls enabled | `NULL` |
| `elasticsearch.certsVolumeMounts` | mount certs volumes, required to mount ssl certificates when elasticsearch has tls enabled | `NULL` |
| `extraConfigOptions` | Additional options to propagate to all rules, cannot be `alert`, `type`, `name` or `index` | `{}` |
| `resources` | Container resource requests and limits | {} |
| `rules` | Rule and alert configuration for Elastalert | {} example shown in values.yaml |
| `runIntervalMins` | Default interval between alert checks, in minutes | 1 |
+1
View File
@@ -42,3 +42,4 @@ data:
{{- end }}
alert_time_limit:
minutes: {{ .Values.alertRetryLimitMins }}
{{ toYaml .Values.extraConfigOptions | indent 4 }}
+8
View File
@@ -64,6 +64,14 @@ elasticsearch:
# mountPath: /certs
# readOnly: true
extraConfigOptions: {}
# # Options to propagate to all rules, e.g. a common slack_webhook_url or kibana_url
# # Please note at the time of implementing this value, it will not work for required_locals
# # Which MUST be set at the rule level, these are: ['alert', 'type', 'name', 'index']
# generate_kibana_link: true
# kibana_url: https://kibana.yourdomain.com
# slack_webhook_url: dummy
# Command and args override for container e.g. (https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/)
# command: ["YOUR_CUSTOM_COMMAND"]
# args: ["YOUR", "CUSTOM", "ARGS"]