From f51bbef3978f1176551d6891c7e583d128a0875a Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Fri, 31 Mar 2023 12:07:23 +0200 Subject: [COMMON][OTHERS] Fix dependency conditions In case of local DB the "init" dependency is activated as the "not" condition is not working Issue-ID: OOM-3152 Signed-off-by: Andreas Geissler Change-Id: I27dba69a644bbcc2b61245c22784976ba7c66173 --- .../components/modeling-etsicatalog/templates/deployment.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'kubernetes/modeling/components/modeling-etsicatalog/templates/deployment.yaml') diff --git a/kubernetes/modeling/components/modeling-etsicatalog/templates/deployment.yaml b/kubernetes/modeling/components/modeling-etsicatalog/templates/deployment.yaml index dd9c020c22..bfbff215db 100644 --- a/kubernetes/modeling/components/modeling-etsicatalog/templates/deployment.yaml +++ b/kubernetes/modeling/components/modeling-etsicatalog/templates/deployment.yaml @@ -41,8 +41,13 @@ spec: - command: - /app/ready.py args: - - -j - - "{{ include "common.release" . }}-{{ include "common.name" . }}-config-job" +{{- if .Values.global.mariadbGalera.localCluster }} + - --container-name + - {{ index .Values "mariadb-galera" "nameOverride" }} +{{- else }} + - --job-name + - {{ include "common.release" . }}-{{ include "common.name" . }}-config-job +{{- end }} env: - name: NAMESPACE valueFrom: -- cgit 1.2.3-korg