From 9c95b5f46e57365c1f6e7e5c9073f7fe2ad48a66 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 --- functest_kubernetes/ims/helm/templates/chronos-depl.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'functest_kubernetes/ims/helm/templates/chronos-depl.yaml') diff --git a/functest_kubernetes/ims/helm/templates/chronos-depl.yaml b/functest_kubernetes/ims/helm/templates/chronos-depl.yaml index 641ba479..6188754e 100644 --- a/functest_kubernetes/ims/helm/templates/chronos-depl.yaml +++ b/functest_kubernetes/ims/helm/templates/chronos-depl.yaml @@ -17,10 +17,10 @@ spec: terminationGracePeriodSeconds: 120 initContainers: - name: wait-on-cassandra - image: busybox:1.28 + image: {{ .Values.repo.dockerHub }}/busybox:1.28 command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done'] containers: - - image: "{{ .Values.image.path }}-chronos:{{ .Values.image.tag }}" + - image: "{{ .Values.repo.dockerHub }}/{{ .Values.image.path }}-chronos:{{ .Values.image.tag }}" name: chronos ports: - containerPort: 22 @@ -48,7 +48,7 @@ spec: preStop: exec: command: ["/bin/bash", "-c", "/usr/bin/pre-stop"] - - image: busybox:1.28 + - image: {{ .Values.repo.dockerHub }}/busybox:1.28 name: tailer command: [ "tail", "-F", "/var/log/chronos/chronos_current.txt" ] volumeMounts: -- cgit 1.2.3-korg