From: Sylvain Desbureaux Date: Wed, 9 Dec 2020 07:13:09 +0000 (+0100) Subject: [ROBOT] Uses new tpls for repos / images X-Git-Tag: 8.0.0~181^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=3179a85ad8bad3e7a51d4297f807e226516d9f45;p=oom.git [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 --- 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 }}