diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-03-24 08:23:03 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-04-02 10:04:18 +0200 |
commit | 9ba1cab231cca64561dd9a222f1e9c3cad7aa128 (patch) | |
tree | 8b5d01c8811cde5d9f51cce330b38468d61b3a11 /functest_kubernetes/ims/helm/templates/sprout-depl.yaml | |
parent | 8382256efd1e308b6f43d88216687ae97369fbb6 (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/sprout-depl.yaml')
-rw-r--r-- | functest_kubernetes/ims/helm/templates/sprout-depl.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/functest_kubernetes/ims/helm/templates/sprout-depl.yaml b/functest_kubernetes/ims/helm/templates/sprout-depl.yaml index 1ee4701f..dd7ef49e 100644 --- a/functest_kubernetes/ims/helm/templates/sprout-depl.yaml +++ b/functest_kubernetes/ims/helm/templates/sprout-depl.yaml @@ -15,16 +15,16 @@ spec: spec: initContainers: - name: wait-on-ralf - image: busybox:1.28 + image: {{ .Values.repo.dockerHub }}/busybox:1.28 command: ['sh', '-c', 'until nslookup ralf; do echo waiting for ralf to start ...; sleep 2; done'] - name: wait-on-chronos - image: busybox:1.28 + image: {{ .Values.repo.dockerHub }}/busybox:1.28 command: ['sh', '-c', 'until nslookup chronos; do echo waiting for chronos to start ...; sleep 2; done'] - name: wait-on-homestead - image: busybox:1.28 + image: {{ .Values.repo.dockerHub }}/busybox:1.28 command: ['sh', '-c', 'until nslookup homestead; do echo waiting for homestead to start ...; sleep 2; done'] containers: - - image: "{{ .Values.image.path }}-sprout:{{ .Values.image.tag }}" + - image: "{{ .Values.repo.dockerHub }}/{{ .Values.image.path }}-sprout:{{ .Values.image.tag }}" name: sprout ports: - containerPort: 22 @@ -47,7 +47,7 @@ spec: volumeMounts: - name: sproutlogs mountPath: /var/log/sprout - - image: busybox:1.28 + - image: {{ .Values.repo.dockerHub }}/busybox:1.28 name: tailer command: [ "tail", "-F", "/var/log/sprout/sprout_current.txt" ] volumeMounts: |