summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-04-06 12:36:41 +0000
committerGerrit Code Review <gerrit@onap.org>2021-04-06 12:36:41 +0000
commit58516015120dfad3aa6bd3ad251879b060ec640b (patch)
treeacf091b5e8ec0b645d2572d292fe5a7b5f46c5b8 /kubernetes
parent7e8244a3a3a835a8758ffa865542f4dc53bb6771 (diff)
parent17554770bdc355599c18fbdf87edbe9bcfc9b0e3 (diff)
Merge "[SDNC] Add readiness check for sdnc-dbinit job"
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/sdnc/templates/statefulset.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml
index 01cc0c0e87..152337ee52 100644
--- a/kubernetes/sdnc/templates/statefulset.yaml
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -137,6 +137,8 @@ spec:
{{ if or .Values.dgbuilder.enabled .Values.config.sdnr.enabled -}}
- --container-name
- {{ include "common.mariadbService" . }}
+ - --job-name
+ - {{ include "common.fullname" . }}-dbinit-job
{{ end -}}
{{ if .Values.config.sdnr.enabled -}}
- --container-name