aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/so/components/so-cnfm-lcm/templates/deployment.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-01-10 22:20:05 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2024-01-11 13:24:47 +0100
commit2c1ba293ccef7dcaf09c46f5b0a8a36245238389 (patch)
tree12c6ad43ce4c89c494ea5c4f198a2b9ddbdb8dd3 /kubernetes/so/components/so-cnfm-lcm/templates/deployment.yaml
parentc8ef023537910038ef05ce84337a35e429bfc931 (diff)
[MARIADB][SO] Connect MariaDB Galera via master node
To avoid "lock" situations all clients of the mariadb-galera cluster should use the "primary" service, which connects to the master node. This service is provided by the mariadb-operator. Additionally for SO the bugfix for "local" DB configuration is fixed. Additionally missing readiness checks added to so-cnfm-lcm and so-etsi-nfvo-ns-lcm to wait for the DB job to complete Issue-ID: OOM-3261 Issue-ID: OOM-2697 Change-Id: I3d44f8b6d84d112c0271bfccebc4fa533c4e6aff Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/so/components/so-cnfm-lcm/templates/deployment.yaml')
-rw-r--r--kubernetes/so/components/so-cnfm-lcm/templates/deployment.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/so/components/so-cnfm-lcm/templates/deployment.yaml b/kubernetes/so/components/so-cnfm-lcm/templates/deployment.yaml
index 42d5fcfdc0..2f035db3cb 100644
--- a/kubernetes/so/components/so-cnfm-lcm/templates/deployment.yaml
+++ b/kubernetes/so/components/so-cnfm-lcm/templates/deployment.yaml
@@ -27,6 +27,8 @@ spec:
template:
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
spec:
+ initContainers:
+ {{ include "common.readinessCheck.waitFor" . | indent 8 | trim }}
containers:
- name: {{ include "common.name" . }}
command: [ "./start-app.sh" ]