aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/job.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-30 09:17:04 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-30 09:17:04 +0000
commit6f1cdc1aee56e11d8c05e569e5f5f31351b5fb1e (patch)
tree96cbfeb1cc3c35dd89424b47d502875ff80dc25d /kubernetes/sdnc/templates/job.yaml
parent8078860750eeb57c94758440492d2341241a6d53 (diff)
parentcbc703c708b0c4805e4280e04d88dd3dea5b6e95 (diff)
Merge "[SDNC] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/sdnc/templates/job.yaml')
-rwxr-xr-xkubernetes/sdnc/templates/job.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/sdnc/templates/job.yaml b/kubernetes/sdnc/templates/job.yaml
index e0f0e55252..897a0bac7e 100755
--- a/kubernetes/sdnc/templates/job.yaml
+++ b/kubernetes/sdnc/templates/job.yaml
@@ -76,7 +76,7 @@ spec:
name: config-input
- mountPath: /config
name: properties
- image: "{{ .Values.global.envsubstImage }}"
+ image: {{ include "repositoryGenerator.image.envsubst" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-update-config
@@ -92,11 +92,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.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: MYSQL_ROOT_PASSWORD