summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-04-13 02:14:34 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-13 02:14:34 +0000
commit8cb27a420a63aa864543d207754d90816eb713fa (patch)
tree941b71214a6ebd822499e405383bf875407f7fa4 /kubernetes/sdnc/templates
parent8a07775e196d6837f8963da6a5d6d5e1077189d5 (diff)
parentbc92d13598938ad2abcd0a89b4c08b2f6500488e (diff)
Merge "Ensure sdnctl user/schema created on master MySQL"
Diffstat (limited to 'kubernetes/sdnc/templates')
-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