diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-11-19 18:02:37 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-11-27 14:18:19 +0000 |
commit | 7c8c6864e33d0296194546ff626eb64b99e7cff8 (patch) | |
tree | 2ba0d12715c02269ed413112258a643b59c5daa3 /kubernetes/policy/templates | |
parent | a6fa6b1fe4c8c9b8e2a3e29b364dc96804404a9c (diff) |
[POLICY] Uses new tpls for repos / images
This commit makes Policy 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: Ibc592fdc393e37c075ce905027d49d70fcbe4d84
Diffstat (limited to 'kubernetes/policy/templates')
-rwxr-xr-x | kubernetes/policy/templates/job.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/policy/templates/job.yaml b/kubernetes/policy/templates/job.yaml index 2c51728772..f2a55879ee 100755 --- a/kubernetes/policy/templates/job.yaml +++ b/kubernetes/policy/templates/job.yaml @@ -33,7 +33,7 @@ spec: initContainers: #This container checks that all galera instances are up before initializing it. - 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 @@ -47,7 +47,7 @@ spec: fieldPath: metadata.namespace containers: - name: {{ include "common.release" . }}-policy-galera-config - image: {{ .Values.mariadb_image }} + image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.mariadb.image }} imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} volumeMounts: - mountPath: /dbcmd-config/db.sh |