aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ims/sprout-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-03-25 09:59:34 +0100
commit9c95b5f46e57365c1f6e7e5c9073f7fe2ad48a66 (patch)
treebbf1191c54b571e95086ebe0d793bc72544b99ff /functest_kubernetes/ims/sprout-depl.yaml
parentaf623f6b45c9357b0e33210f54db64b270d162bf (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
Diffstat (limited to 'functest_kubernetes/ims/sprout-depl.yaml')
-rw-r--r--functest_kubernetes/ims/sprout-depl.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/functest_kubernetes/ims/sprout-depl.yaml b/functest_kubernetes/ims/sprout-depl.yaml
index 5e182483..b3840a8e 100644
--- a/functest_kubernetes/ims/sprout-depl.yaml
+++ b/functest_kubernetes/ims/sprout-depl.yaml
@@ -15,16 +15,16 @@ spec:
spec:
initContainers:
- name: wait-on-ralf
- image: busybox:1.28
+ image: {{ dockerhub_repo }}/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: {{ dockerhub_repo }}/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: {{ dockerhub_repo }}/busybox:1.28
command: ['sh', '-c', 'until nslookup homestead; do echo waiting for homestead to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-sprout:hunter"
+ - image: "{{ dockerhub_repo }}/ollivier/clearwater-sprout:hunter"
name: sprout
ports:
- containerPort: 22
@@ -47,7 +47,7 @@ spec:
volumeMounts:
- name: sproutlogs
mountPath: /var/log/sprout
- - image: busybox:1.28
+ - image: {{ dockerhub_repo }}/busybox:1.28
name: tailer
command: [ "tail", "-F", "/var/log/sprout/sprout_current.txt" ]
volumeMounts: