Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
[elasticsearch] use bash for readiness script (#1458)
Browse files Browse the repository at this point in the history
This commit set the readiness probe to use bash instead of sh. This is
required for Elasticsearch > 7.16.0 because the Docker image is now
based on Ubuntu instead of CentOS 8, and sh on Ubuntu isn't compatible
with the `if [[ ... -eq .... ]]` statements used in the readiness probe.
  • Loading branch information
jmlrt authored Dec 9, 2021
1 parent c52ad07 commit 167278e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elasticsearch/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ spec:
readinessProbe:
exec:
command:
- sh
- bash
- -c
- |
#!/usr/bin/env bash -e
Expand Down

0 comments on commit 167278e

Please sign in to comment.