Merge "update log helm chart from 2 to 3.0.0"
[oom.git] / kubernetes / portal / charts / portal-mariadb / templates / job.yaml
index 5dad1c0..515c521 100644 (file)
@@ -1,4 +1,5 @@
 # Copyright © 2017 Amdocs, Bell Canada
+# Modifications Copyright © 2018 AT&T
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -51,7 +52,7 @@ spec:
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         env:
         - name: DB_HOST
-          value: "{{ include "common.fullname" . }}"
+          value: "{{ include "common.servicename" . }}"
         - name: DB_USER
           value: {{ .Values.config.mariadbUser }}
         - name: DB_PASS
@@ -64,7 +65,7 @@ spec:
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         env:
         - name: DB_HOST
-          value: "{{ include "common.fullname" . }}"
+          value: "{{ include "common.servicename" . }}"
         - name: DB_USER
           value: {{ .Values.config.mariadbUser }}
         - name: DB_PORT
@@ -87,4 +88,4 @@ spec:
           name: {{ include "common.fullname" . }}-mariadb
       imagePullSecrets:
       - name: "{{ include "common.namespace" . }}-docker-registry-key"
-      restartPolicy: Never
\ No newline at end of file
+      restartPolicy: Never