aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/charts/portal-mariadb/templates
diff options
context:
space:
mode:
authorMandeep Khinda <mandeep.khinda@amdocs.com>2018-04-10 21:35:54 -0400
committerMandeep Khinda <mandeep.khinda@amdocs.com>2018-04-11 21:37:05 +0000
commit06ad9b7ab0cdecb9af73cbf7e2ac9684039b536d (patch)
tree773dcf4b42c5db62c2fb169e595bfee814f70ebf /kubernetes/portal/charts/portal-mariadb/templates
parentf39bd633c0acea07c3502a984178afa65f6c2b52 (diff)
fixing invalid portal db images
Finding strange issues with image pulling and names subst. When using registry.hub.docker.com and an Always pull policy the Job pod would sit there pulling images forever even though they are actually up to date and present. Therefore reverting back to plain old oomk8s/blah Issue-ID: OOM-746 Change-Id: Iec5de0e1314ac85fa4e8de6599922f1e0fd0e367 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
Diffstat (limited to 'kubernetes/portal/charts/portal-mariadb/templates')
-rw-r--r--kubernetes/portal/charts/portal-mariadb/templates/job.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/portal/charts/portal-mariadb/templates/job.yaml b/kubernetes/portal/charts/portal-mariadb/templates/job.yaml
index af14f44129..5dad1c0002 100644
--- a/kubernetes/portal/charts/portal-mariadb/templates/job.yaml
+++ b/kubernetes/portal/charts/portal-mariadb/templates/job.yaml
@@ -32,7 +32,7 @@ spec:
restartPolicy: Never
initContainers:
- name: {{ include "common.name" . }}-init-readiness
- image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
+ image: "{{ .Values.global.readinessRepository }}/{{ .Values.readinessImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
- /root/ready.py
@@ -47,7 +47,7 @@ spec:
fieldPath: metadata.namespace
containers:
- name: {{ include "common.name" . }}-job
- image: "{{ .Values.global.repository | default .Values.dockerHubRepository }}/{{ .Values.mariadbInitImage }}"
+ image: "{{ .Values.global.readinessRepository }}/{{ .Values.mariadbInitImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: DB_HOST
@@ -60,7 +60,7 @@ spec:
- name: SQL_SRC_DIR
value: {{ .Values.config.sqlSourceDirectory }}
- name: {{ include "common.name" . }}-oom-update-job
- image: "{{ .Values.global.repository | default .Values.dockerHubRepository }}/{{ .Values.mariadbInitImage }}"
+ image: "{{ .Values.global.readinessRepository }}/{{ .Values.mariadbInitImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: DB_HOST