summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/charts/portal-mariadb/templates/job.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <mandeep.khinda@amdocs.com>2018-04-06 03:03:24 +0000
committerMandeep Khinda <mandeep.khinda@amdocs.com>2018-04-06 03:03:24 +0000
commit454e2fd0872dfe433e3edacdf69fde523b32c5a0 (patch)
treed1573cac855e889528b8d03d9e60895213524a5f /kubernetes/portal/charts/portal-mariadb/templates/job.yaml
parent1db773e68e50f333369ccde727166805bce2b795 (diff)
Correcting portal k8s configmap service names
The service.name is really a port name and was being used wrong. Need a better way than this to get dependant chart names. This gets it working. Issue-ID: OOM-842 Change-Id: I6a78a5adb0e69524a90aa3386009a0d87ebed73c Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
Diffstat (limited to 'kubernetes/portal/charts/portal-mariadb/templates/job.yaml')
-rw-r--r--kubernetes/portal/charts/portal-mariadb/templates/job.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/portal/charts/portal-mariadb/templates/job.yaml b/kubernetes/portal/charts/portal-mariadb/templates/job.yaml
index 75d5bb0874..af14f44129 100644
--- a/kubernetes/portal/charts/portal-mariadb/templates/job.yaml
+++ b/kubernetes/portal/charts/portal-mariadb/templates/job.yaml
@@ -51,7 +51,7 @@ spec:
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: DB_HOST
- value: "{{ .Release.Name }}-{{ .Values.service.name }}"
+ value: "{{ include "common.fullname" . }}"
- name: DB_USER
value: {{ .Values.config.mariadbUser }}
- name: DB_PASS
@@ -64,7 +64,7 @@ spec:
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: DB_HOST
- value: "{{ .Release.Name }}-{{ .Values.service.name }}"
+ value: "{{ include "common.fullname" . }}"
- name: DB_USER
value: {{ .Values.config.mariadbUser }}
- name: DB_PORT