aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorMohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com>2018-05-15 17:17:44 -0400
committerMohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com>2018-05-15 17:19:33 -0400
commit81ae0b4e35866ea896d716bd71131d98b4a9bb52 (patch)
treec2ce2d5bf4f25cecdc8550a9e082a6d4e10b21ec /kubernetes
parent9edbc2ab963f9a7ede31d0934979cc5de11734bb (diff)
SDN-C db schema/sdnctl not reliably being created
Change-Id: I7fa43e090c11956eb68f89ec65bfe0ee7922c78e Signed-off-by: Mohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com> Issue-ID: OOM-887
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/sdnc/templates/statefulset.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml
index e821406d45..69816dffb4 100644
--- a/kubernetes/sdnc/templates/statefulset.yaml
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -89,7 +89,7 @@ spec:
- name: SDNC_REPLICAS
value: "{{ .Values.replicaCount }}"
- name: MYSQL_HOST
- value: "{{.Values.mysql.service.name}}.{{.Release.Namespace}}"
+ value: "{{.Release.Name}}-{{.Values.mysql.nameOverride}}-0.{{.Values.mysql.service.name}}.{{.Release.Namespace}}"
volumeMounts:
- mountPath: /etc/localtime
name: localtime