Skip to content

Commit

Permalink
Allow adding additional global config options (helm#11160)
Browse files Browse the repository at this point in the history
Signed-off-by: Naseem Ullah <[email protected]>
  • Loading branch information
naseemkullah authored and k8s-ci-robot committed Feb 6, 2019
1 parent 08c8258 commit 2cacf4e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/elastalert/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions stable/elastalert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
1 change: 1 addition & 0 deletions stable/elastalert/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ data:
{{- end }}
alert_time_limit:
minutes: {{ .Values.alertRetryLimitMins }}
{{ toYaml .Values.extraConfigOptions | indent 4 }}
8 changes: 8 additions & 0 deletions stable/elastalert/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 2cacf4e

Please sign in to comment.