From ad74568cf36d39f342ccbcab7e98c26467ff0473 Mon Sep 17 00:00:00 2001 From: demskeq8 Date: Wed, 3 Nov 2021 10:50:38 +0100 Subject: [SDNC] Sdnc pod restart stucks in readiness check for sdnrdb-init-job change readiness check from container to job Issue-ID: OOM-2875 Signed-off-by: demskeq8 Change-Id: I613f58988dd007f03b949b20570564e28aa5db52 --- kubernetes/sdnc/templates/statefulset.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kubernetes') diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml index 01d51a21f6..6b97882dd6 100644 --- a/kubernetes/sdnc/templates/statefulset.yaml +++ b/kubernetes/sdnc/templates/statefulset.yaml @@ -141,8 +141,8 @@ spec: - {{ include "common.fullname" . }}-dbinit-job {{ end -}} {{ if .Values.config.sdnr.enabled -}} - - --container-name - - {{ include "common.name" . }}-sdnrdb-init-job + - --job-name + - {{ include "common.fullname" . }}-sdnrdb-init-job {{ end -}} env: - name: NAMESPACE -- cgit 1.2.3-korg