aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authordemskeq8 <alexander.dehn@highstreet-technologies.com>2021-11-03 10:50:38 +0100
committerAlexander Dehn <alexander.dehn@highstreet-technologies.com>2021-11-08 14:08:29 +0000
commitad74568cf36d39f342ccbcab7e98c26467ff0473 (patch)
tree59a070fa8905813bea01ec45773c674f9b0bf812 /kubernetes
parent9c2f3e702748a1005f196359fc438e132c32de05 (diff)
[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 <alexander.dehn@highstreet-technologies.com> Change-Id: I613f58988dd007f03b949b20570564e28aa5db52
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/sdnc/templates/statefulset.yaml4
1 files changed, 2 insertions, 2 deletions
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