From 88d8dc2f8f434d0a0ffd2fbd7b8fc2b53d12cf50 Mon Sep 17 00:00:00 2001 From: jmlrt <8582351+jmlrt@users.noreply.github.com> Date: Wed, 5 Jan 2022 12:57:24 +0100 Subject: [PATCH] [kibana] use bash for readiness script 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