From 91ea2c2ab6904a2a1ce0339097a7edf6d82303c2 Mon Sep 17 00:00:00 2001 From: Julien Mailleret <8582351+jmlrt@users.noreply.github.com> Date: Wed, 5 Jan 2022 16:52:58 +0100 Subject: [PATCH] [kibana] use bash for readiness script (#1530) 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 #1529 --- kibana/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibana/templates/deployment.yaml b/kibana/templates/deployment.yaml index 872876903..0d8b46ba0 100644 --- a/kibana/templates/deployment.yaml +++ b/kibana/templates/deployment.yaml @@ -108,7 +108,7 @@ spec: {{ toYaml .Values.readinessProbe | indent 10 }} exec: command: - - sh + - bash - -c - | #!/usr/bin/env bash -e