aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/readinessCheck/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-19 16:56:22 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-01-08 11:02:20 +0100
commit6cda61042bd277665cf35cc27410cebd08b9e4e0 (patch)
treead6930f265688a0772b855926fbb2749767a24f8 /kubernetes/common/readinessCheck/templates
parent9b759702f0cc15b9f20cb71c77e61da7379b3b43 (diff)
[COMMON][Readiness] Uses new tpls for repos / images
This commit makes Readiness Check template to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6d115a071e11f9e992f04ec2a14595a5aed5401b
Diffstat (limited to 'kubernetes/common/readinessCheck/templates')
-rw-r--r--kubernetes/common/readinessCheck/templates/_readinessCheck.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/readinessCheck/templates/_readinessCheck.tpl b/kubernetes/common/readinessCheck/templates/_readinessCheck.tpl
index aa03938d28..95de6ec29f 100644
--- a/kubernetes/common/readinessCheck/templates/_readinessCheck.tpl
+++ b/kubernetes/common/readinessCheck/templates/_readinessCheck.tpl
@@ -65,7 +65,7 @@
{{- $namePart := index (ternary (dict) $wait_for (kindIs "slice" $wait_for)) "name" -}}
{{- $jobs := index (ternary (dict) $wait_for (kindIs "slice" $wait_for)) "jobs" -}}
- name: {{ include "common.name" $dot }}{{ ternary "" (printf "-%s" $namePart) (empty $namePart) }}-readiness
- image: "{{ include "common.repository" $subchartDot }}/{{ $subchartDot.Values.global.readinessImage }}"
+ image: {{ include "repositoryGenerator.image.readiness" $subchartDot }}
imagePullPolicy: {{ $subchartDot.Values.global.pullPolicy | default $subchartDot.Values.pullPolicy }}
command:
- /app/ready.py