From 9ba1cab231cca64561dd9a222f1e9c3cad7aa128 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Wed, 24 Mar 2021 08:23:03 +0100 Subject: 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 Change-Id: I3b5e78fcf43ca7af6bcfd2d87fa4bb0705373697 (cherry picked from commit 9c95b5f46e57365c1f6e7e5c9073f7fe2ad48a66) --- functest_kubernetes/ims/helm/templates/bono-depl.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'functest_kubernetes/ims/helm/templates/bono-depl.yaml') 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: -- cgit