From 81ae0b4e35866ea896d716bd71131d98b4a9bb52 Mon Sep 17 00:00:00 2001 From: Mohammadreza Pasandideh Date: Tue, 15 May 2018 17:17:44 -0400 Subject: SDN-C db schema/sdnctl not reliably being created Change-Id: I7fa43e090c11956eb68f89ec65bfe0ee7922c78e Signed-off-by: Mohammadreza Pasandideh Issue-ID: OOM-887 --- kubernetes/sdnc/templates/statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes') 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 -- cgit 1.2.3-korg