aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-09 08:13:09 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-09 08:14:23 +0100
commit3179a85ad8bad3e7a51d4297f807e226516d9f45 (patch)
tree916c9b6c20398fe91b258ff75f12c3a645659c96
parent208c952967efcd791eb0ffc5432c92284bc5c881 (diff)
[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 <sylvain.desbureaux@orange.com> Change-Id: I7e29b4178a84b27c2fa98d1ae3de6f2635f3b19a
-rw-r--r--kubernetes/robot/requirements.yaml4
-rw-r--r--kubernetes/robot/templates/deployment.yaml2
2 files changed, 4 insertions, 2 deletions
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 }}