aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ims/helm/templates/bono-depl.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-03-24 08:23:03 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-04-02 10:04:18 +0200
commit9ba1cab231cca64561dd9a222f1e9c3cad7aa128 (patch)
tree8b5d01c8811cde5d9f51cce330b38468d61b3a11 /functest_kubernetes/ims/helm/templates/bono-depl.yaml
parent8382256efd1e308b6f43d88216687ae97369fbb6 (diff)
Provide support for air gapped env for ims
Sometimes, tested Kubernetes doesn't have direct access to Internet but access through repository mirrors. This patch handles this case for ims test cases. Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I3b5e78fcf43ca7af6bcfd2d87fa4bb0705373697 (cherry picked from commit 9c95b5f46e57365c1f6e7e5c9073f7fe2ad48a66)
Diffstat (limited to 'functest_kubernetes/ims/helm/templates/bono-depl.yaml')
-rw-r--r--functest_kubernetes/ims/helm/templates/bono-depl.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/functest_kubernetes/ims/helm/templates/bono-depl.yaml b/functest_kubernetes/ims/helm/templates/bono-depl.yaml
index d3fb1b82..2ab749b4 100644
--- a/functest_kubernetes/ims/helm/templates/bono-depl.yaml
+++ b/functest_kubernetes/ims/helm/templates/bono-depl.yaml
@@ -15,10 +15,10 @@ spec:
spec:
initContainers:
- name: wait-on-sprout
- image: busybox:1.28
+ image: {{ .Values.repo.dockerHub }}/busybox:1.28
command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done']
containers:
- - image: "{{ .Values.image.path }}-bono:{{ .Values.image.tag }}"
+ - image: "{{ .Values.repo.dockerHub }}/{{ .Values.image.path }}-bono:{{ .Values.image.tag }}"
name: bono
ports:
- containerPort: 22
@@ -54,7 +54,7 @@ spec:
volumeMounts:
- name: bonologs
mountPath: /var/log/bono
- - image: busybox:1.28
+ - image: {{ .Values.repo.dockerHub }}/busybox:1.28
name: tailer
command: [ "tail", "-F", "/var/log/bono/bono_current.txt" ]
volumeMounts: