mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Allow setting of command and args on elastalert deployment (#5530)
* Allow setting of command and args on elastalert deployment * Bumping minor version
This commit is contained in:
committed by
k8s-ci-robot
parent
75e341de7b
commit
7a7c8ef343
@@ -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.2.2
|
||||
version: 0.3.0
|
||||
appVersion: 0.1.30
|
||||
home: https://github.com/Yelp/elastalert
|
||||
icon: https://static-www.elastic.co/assets/blteb1c97719574938d/logo-elastic-elasticsearch-lt.svg
|
||||
|
||||
@@ -35,6 +35,8 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `image.repository` | docker image | jertel/elastalert-docker |
|
||||
| `image.tag` | docker image tag | 0.1.30 |
|
||||
| `image.pullPolicy` | image pull policy | IfNotPresent |
|
||||
| `command` | command override for container | `NULL` |
|
||||
| `args` | args override for container | `NULL` |
|
||||
| `replicaCount` | number of replicas to run | 1 |
|
||||
| `elasticsearch.host` | elasticsearch endpoint to use | elasticsearch |
|
||||
| `elasticsearch.port` | elasticsearch port to use | 80 |
|
||||
|
||||
@@ -25,6 +25,14 @@ spec:
|
||||
- name: elastalert
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- if .Values.command }}
|
||||
command:
|
||||
{{ toYaml .Values.command | indent 10 }}
|
||||
{{- end }}
|
||||
{{- if .Values.args }}
|
||||
args:
|
||||
{{ toYaml .Values.args | indent 10 }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: '/opt/config'
|
||||
|
||||
@@ -25,6 +25,10 @@ elasticsearch:
|
||||
# whether or not to connect to es_host using TLS
|
||||
useSsl: "False"
|
||||
|
||||
# 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"]
|
||||
|
||||
# rule configurations e.g. (http://elastalert.readthedocs.io/en/latest/)
|
||||
rules: {}
|
||||
# deadman_slack: |-
|
||||
|
||||
Reference in New Issue
Block a user