summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/components/sdnc-web/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-19 17:52:07 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-27 14:17:21 +0000
commitcbc703c708b0c4805e4280e04d88dd3dea5b6e95 (patch)
tree550ec8d258f535c2e92cdc39f6d1252dfe3822e9 /kubernetes/sdnc/components/sdnc-web/templates
parenta6fa6b1fe4c8c9b8e2a3e29b364dc96804404a9c (diff)
[SDNC] Uses new tpls for repos / images
This commit makes SDNC chart to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Iec8379934829947be1cb466b007c949a8448e742
Diffstat (limited to 'kubernetes/sdnc/components/sdnc-web/templates')
-rw-r--r--kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml b/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
index 7c1f262ec2..501125f99c 100644
--- a/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
+++ b/kubernetes/sdnc/components/sdnc-web/templates/deployment.yaml
@@ -26,7 +26,7 @@ spec:
spec:
initContainers: {{ include "common.certInitializer.initContainer" . | indent 6 }}
- 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
@@ -42,7 +42,7 @@ spec:
containers:
- name: {{ include "common.name" . }}
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
ports: {{- include "common.containerPorts" . | indent 10 }}
# disable liveness probe when breakpoints set in debugger