summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-26 10:01:18 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-26 10:01:18 +0000
commita18e6f219d98a7b13ffd29d15c0345dce8ea2464 (patch)
tree58a568e480d1d24a7ecdc0b910a6d0257982e961 /kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml
parent9ad94aaf081f1fe5b69cc4bea9d90577dd07aa17 (diff)
parent99baf8e526d5a2019a7dadf82446e1303afc86e4 (diff)
Merge "[DCAEMOD] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml')
-rw-r--r--kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml b/kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml
index 9e811a9e84..b795f6b736 100644
--- a/kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml
+++ b/kubernetes/dcaemod/components/dcaemod-onboarding-api/templates/deployment.yaml
@@ -28,7 +28,7 @@ spec:
spec:
initContainers:
- name: {{ include "common.name" . }}-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:
args:
- -c
- 'PG_CONN=postgresql://${PG_USER}:${PG_PASSWORD}@${PG_ADDR}:${PG_PORT}/${PG_DB_NAME} ./start.sh'
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
ports: {{ include "common.containerPorts" . | nindent 12 }}
{{- if eq .Values.liveness.enabled true }}