From b83415937b6459c208f27b680c45c2539c0c1b46 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Tue, 23 Feb 2021 15:54:00 +0100 Subject: [COMMON][CERTINIT] Fail if cert retrieval fails Current script that retrieve certificates can fail but exit code will be 0. We then add a check in the script in order to avoid such issue Issue-ID: OOM-2688 Signed-off-by: Sylvain Desbureaux Change-Id: Ib41c66a4de46db8752f68ef35a2bfb67ca575246 --- kubernetes/common/certInitializer/values.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'kubernetes/common/certInitializer/values.yaml') diff --git a/kubernetes/common/certInitializer/values.yaml b/kubernetes/common/certInitializer/values.yaml index e7a0a3f02e..52b2765329 100644 --- a/kubernetes/common/certInitializer/values.yaml +++ b/kubernetes/common/certInitializer/values.yaml @@ -54,6 +54,7 @@ importCustomCertsEnabled: false truststoreMountpath: "" truststoreOutputFileName: truststore.jks truststorePassword: changeit +envVarToCheck: cadi_keystore_password_p12 # This introduces implicit dependency on cert-wrapper # if you are using cert initializer cert-wrapper has to be also deployed. -- cgit 1.2.3-korg