Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[prometheus-elasticsearch-exporter]: Fix preStop command #3838

Conversation

m3adow
Copy link
Contributor

@m3adow m3adow commented Sep 29, 2023

What this PR does / why we need it

This PR fixes the preStop command for the elasticsearch-exporter deployment. Right now, it's using /bin/bash sleep 20, but bash does not exist in the container image. Thusly, the fix is to use the existing /bin/sleep command to sleep 20 seconds.

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

Use the existing `/bin/sleep` instead of the non-existing `/bin/bash`

Signed-off-by: Till Wiese <[email protected]>
Copy link
Member

@zeritti zeritti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @m3adow, LGTM.

@zeritti zeritti merged commit 74d6e9e into prometheus-community:main Sep 29, 2023
4 checks passed
Matiasmct pushed a commit to giffgaff/prometheus-charts-backup that referenced this pull request Mar 20, 2024
Use the existing `/bin/sleep` instead of the non-existing `/bin/bash`

Signed-off-by: Till Wiese <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants