diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-11-19 17:56:08 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-11-24 09:39:33 +0100 |
commit | 0a1eaf3fe57ea88f9a166055b7338898bc097eb6 (patch) | |
tree | a8fd59366f91204817e2f13b1ffdf68ccf23be8d /kubernetes/sdc/components/sdc-cs/templates | |
parent | 5229ec2ce61bbaf416c746c91254cb39175ff2bc (diff) |
[SDC] Uses new tpls for repos / images
This commit makes SDC 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: I91eb59675ef0080f67aced0ae99c238143461efe
Diffstat (limited to 'kubernetes/sdc/components/sdc-cs/templates')
-rw-r--r-- | kubernetes/sdc/components/sdc-cs/templates/job.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/sdc/components/sdc-cs/templates/job.yaml b/kubernetes/sdc/components/sdc-cs/templates/job.yaml index 3b7b8b15a2..bb218bbfae 100644 --- a/kubernetes/sdc/components/sdc-cs/templates/job.yaml +++ b/kubernetes/sdc/components/sdc-cs/templates/job.yaml @@ -36,7 +36,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 @@ -64,7 +64,7 @@ spec: memory: 20Mi containers: - name: {{ include "common.name" . }}-job - image: "{{ include "common.repository" . }}/{{ .Values.cassandraInitImage }}" + image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.cassandraInitImage }} imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} volumeMounts: - name: {{ include "common.fullname" . }}-environments |