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

Commit

Permalink
[kibana] use bash for readiness script
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 Kibana > 7.17.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.

Fix elastic#1529
  • Loading branch information
jmlrt committed Jan 5, 2022
1 parent 31ea1dd commit 88d8dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibana/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ spec:
{{ toYaml .Values.readinessProbe | indent 10 }}
exec:
command:
- sh
- bash
- -c
- |
#!/usr/bin/env bash -e
Expand Down

0 comments on commit 88d8dc2

Please sign in to comment.