From 3179a85ad8bad3e7a51d4297f807e226516d9f45 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Wed, 9 Dec 2020 08:13:09 +0100 Subject: [ROBOT] Uses new tpls for repos / images This commit makes Robot chart to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux Change-Id: I7e29b4178a84b27c2fa98d1ae3de6f2635f3b19a --- kubernetes/robot/requirements.yaml | 4 +++- kubernetes/robot/templates/deployment.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'kubernetes/robot') diff --git a/kubernetes/robot/requirements.yaml b/kubernetes/robot/requirements.yaml index cac9ba506f..1e08aaf3cd 100644 --- a/kubernetes/robot/requirements.yaml +++ b/kubernetes/robot/requirements.yaml @@ -19,4 +19,6 @@ dependencies: # a part of this chart's package and will not # be published independently to a repo (at this point) repository: '@local' - + - name: repositoryGenerator + version: ~7.x-0 + repository: '@local' diff --git a/kubernetes/robot/templates/deployment.yaml b/kubernetes/robot/templates/deployment.yaml index a466189c22..7d588e4de4 100644 --- a/kubernetes/robot/templates/deployment.yaml +++ b/kubernetes/robot/templates/deployment.yaml @@ -47,7 +47,7 @@ spec: - "so-monitoring" 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: - containerPort: {{ .Values.service.internalPort }} -- cgit 1.2.3-korg