summaryrefslogtreecommitdiffstats
path: root/kubernetes/modeling/components/modeling-etsicatalog/templates/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/modeling/components/modeling-etsicatalog/templates/deployment.yaml')
-rw-r--r--kubernetes/modeling/components/modeling-etsicatalog/templates/deployment.yaml9
1 files changed, 7 insertions, 2 deletions
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: