summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-init/templates/job.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-19 17:15:14 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-21 08:11:56 +0000
commit72bbabfb1592a18f639e152922ad5aeb14154f5e (patch)
treedb02c6bb9564d56e2a170f7ce56cc0b61c7288cd /kubernetes/common/mariadb-init/templates/job.yaml
parent2b2aa11021114438591d184af19fde6bbf06950a (diff)
[COMMON][MARIADB-INIT] Uses new tpls for repos / images
This commit makes mariadb init template to use the new generator for repositories and images. As mariadb images are coming from dockerhub, we're using directly this repository. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I21e99fc4c7c4d968b393d27dfad2b51bcc5c2cfd
Diffstat (limited to 'kubernetes/common/mariadb-init/templates/job.yaml')
-rw-r--r--kubernetes/common/mariadb-init/templates/job.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/common/mariadb-init/templates/job.yaml b/kubernetes/common/mariadb-init/templates/job.yaml
index fb06568777..ad97cd4ed6 100644
--- a/kubernetes/common/mariadb-init/templates/job.yaml
+++ b/kubernetes/common/mariadb-init/templates/job.yaml
@@ -49,11 +49,11 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}"
+ image: {{ include "repositoryGenerator.image.readiness" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
containers:
- name: {{ include "common.name" . }}
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.image.mariadb" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
- /bin/sh