summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/components/portal-mariadb/templates/job.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-23 11:21:23 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-23 11:21:23 +0000
commit37ff8414e2a492addb19a6bdedde4e76c768edd3 (patch)
tree7718254706a88139a780cdc6a8c6c5aefb616c55 /kubernetes/portal/components/portal-mariadb/templates/job.yaml
parentb6b8feb8263bc859d48640033087b38f295dfeb8 (diff)
parent585dd9dd7c02c76745cc7f3ec8a78b9fb0fc352b (diff)
Merge "[PORTAL] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/portal/components/portal-mariadb/templates/job.yaml')
-rw-r--r--kubernetes/portal/components/portal-mariadb/templates/job.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/portal/components/portal-mariadb/templates/job.yaml b/kubernetes/portal/components/portal-mariadb/templates/job.yaml
index 920ee73169..5a66bb96bd 100644
--- a/kubernetes/portal/components/portal-mariadb/templates/job.yaml
+++ b/kubernetes/portal/components/portal-mariadb/templates/job.yaml
@@ -35,7 +35,7 @@ spec:
restartPolicy: Never
initContainers:
- name: {{ include "common.name" . }}-init-readiness
- image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}"
+ image: {{ include "repositoryGenerator.image.readiness" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
- /app/ready.py
@@ -50,7 +50,7 @@ spec:
fieldPath: metadata.namespace
containers:
- name: {{ include "common.name" . }}-job
- image: "{{ include "common.repository" . }}/{{ .Values.mariadbInitImage }}"
+ image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.mariadbInitImage }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: DB_HOST
@@ -63,7 +63,7 @@ spec:
- name: SQL_SRC_DIR
value: {{ .Values.config.sqlSourceDirectory }}
- name: {{ include "common.name" . }}-oom-update-job
- image: "{{ include "common.repository" . }}/{{ .Values.mariadbInitImage }}"
+ image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.mariadbInitImage }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: DB_HOST