From 46e1756c3beefa0108e847b02225de381d9a6c7c Mon Sep 17 00:00:00 2001 From: Prabhjot Singh Sethi Date: Fri, 20 Aug 2021 22:40:23 +0530 Subject: [SO] Check for job instead of container for so-mariadb-config so-bpmn-infra deployment init container waits on so-mariadb-config pod to complete instead of checking job status itself. This causes issues when the completed config job container finishes and gets cleaned up due to garbage collector, after which so-bpmn-infra pod gets stuck in init state forever. Fixing other instances of waiting for so-mariadb-config job as well. Issue-ID: OOM-2799 Signed-off-by: Prabhjot Singh Sethi Change-Id: Ib6d1b53d52c178386a743558c4b45b8f8748487b --- kubernetes/so/components/so-etsi-sol005-adapter/values.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kubernetes/so/components/so-etsi-sol005-adapter') diff --git a/kubernetes/so/components/so-etsi-sol005-adapter/values.yaml b/kubernetes/so/components/so-etsi-sol005-adapter/values.yaml index 31b925576b..f32587f9c0 100755 --- a/kubernetes/so/components/so-etsi-sol005-adapter/values.yaml +++ b/kubernetes/so/components/so-etsi-sol005-adapter/values.yaml @@ -31,7 +31,8 @@ global: readinessCheck: wait_for: - - so-mariadb-config + jobs: + - '{{ include "common.release" . }}-so-mariadb-config-job' ################################################################# # Secrets metaconfig -- cgit 1.2.3-korg