summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/statefulset.yaml
diff options
context:
space:
mode:
authorjmac <james.macnider@amdocs.com>2018-04-07 03:46:12 +0000
committerjmac <james.macnider@amdocs.com>2018-04-07 03:48:18 +0000
commitbc92d13598938ad2abcd0a89b4c08b2f6500488e (patch)
tree75817a74bee13821afa7aa96574b676fa1ad8195 /kubernetes/sdnc/templates/statefulset.yaml
parentdc4a88493697af864298eda18895c7af50f4de0a (diff)
Ensure sdnctl user/schema created on master MySQL
Change-Id: I5507d23ff62c9d5d5d19f86374ea91ccea2e95a9 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-887
Diffstat (limited to 'kubernetes/sdnc/templates/statefulset.yaml')
-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 8b4055e1df..fd4f81bd8f 100644
--- a/kubernetes/sdnc/templates/statefulset.yaml
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -76,7 +76,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