aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ims/chronos-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/chronos-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/chronos-depl.yaml')
-rw-r--r--functest_kubernetes/ims/chronos-depl.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/functest_kubernetes/ims/chronos-depl.yaml b/functest_kubernetes/ims/chronos-depl.yaml
index 5f753f1f..cd9c8bcc 100644
--- a/functest_kubernetes/ims/chronos-depl.yaml
+++ b/functest_kubernetes/ims/chronos-depl.yaml
@@ -16,11 +16,11 @@ spec:
spec:
terminationGracePeriodSeconds: 120
initContainers:
- - name: wait-on-cassandra
- image: busybox:1.28
+ - name: {{ dockerhub_repo }}/wait-on-cassandra
+ image: {{ dockerhub_repo }}/busybox:1.28
command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-chronos:hunter"
+ - image: "{{ dockerhub_repo }}/ollivier/clearwater-chronos:hunter"
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: {{ dockerhub_repo }}/busybox:1.28
name: tailer
command: [ "tail", "-F", "/var/log/chronos/chronos_current.txt" ]
volumeMounts: