Skip to content

Commit

Permalink
Fix elasticsearch-exporter preStop command (#3838)
Browse files Browse the repository at this point in the history
Use the existing `/bin/sleep` instead of the non-existing `/bin/bash`

Signed-off-by: Till Wiese <[email protected]>
  • Loading branch information
m3adow authored Sep 29, 2023
1 parent 56aa92d commit 74d6e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-elasticsearch-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Elasticsearch stats exporter for Prometheus
name: prometheus-elasticsearch-exporter
version: 5.3.0
version: 5.3.1
kubeVersion: ">=1.10.0-0"
appVersion: "v1.6.0"
home: https://github.com/prometheus-community/elasticsearch_exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ spec:
lifecycle:
preStop:
exec:
command: ["/bin/bash", "-c", "sleep 20"]
command: ["/bin/sleep", "20"]
volumeMounts:
{{- if and .Values.es.ssl.enabled (eq .Values.es.ssl.useExistingSecrets false) }}
- mountPath: /ssl
Expand Down

0 comments on commit 74d6e9e

Please sign in to comment.