From d079be0f737ba80957ac906fbc50f78ee46514bc Mon Sep 17 00:00:00 2001 From: Frederik Nordahl Jul Sabroe Date: Tue, 14 Jul 2026 11:15:28 +0200 Subject: [PATCH] Switch the init command and lifecycle hook from /bin/sh to /bin/bash The current scripts are invalid when using /bin/sh. Specifically the `[[` syntax is not valid. This syntax is however supported in /bin/bash. --- charts/ejbca/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/ejbca/templates/deployment.yaml b/charts/ejbca/templates/deployment.yaml index e36299600b..45ba1c1463 100644 --- a/charts/ejbca/templates/deployment.yaml +++ b/charts/ejbca/templates/deployment.yaml @@ -60,7 +60,7 @@ spec: {{- toYaml .Values.ejbca.envFrom | nindent 12 }} {{- end }} command: - - "/bin/sh" + - "/bin/bash" - "-c" - | /opt/keyfactor/bin/start.sh & @@ -199,7 +199,7 @@ spec: postStart: exec: command: - - "/bin/sh" + - "/bin/bash" - "-c" - | {{- if not .Values.ejbca.importEjbcaConfFiles }}