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:07:39 +0200 |
commit | 1ab07437d4c6c787ec30563fd4a52c162bd689a2 (patch) | |
tree | 57ea472fc09df037464b180f738fdc66f2762c03 /functest_kubernetes/ims/helm/templates/homestead-depl.yaml | |
parent | 521642ab84512aff7e4df952b0725703f1a70779 (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/homestead-depl.yaml')
-rw-r--r-- | functest_kubernetes/ims/helm/templates/homestead-depl.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/functest_kubernetes/ims/helm/templates/homestead-depl.yaml b/functest_kubernetes/ims/helm/templates/homestead-depl.yaml index 782ff16d..4e7f86a6 100644 --- a/functest_kubernetes/ims/helm/templates/homestead-depl.yaml +++ b/functest_kubernetes/ims/helm/templates/homestead-depl.yaml @@ -15,13 +15,13 @@ spec: spec: 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'] - name: wait-on-astaire - image: busybox:1.28 + image: {{ .Values.repo.dockerHub }}/busybox:1.28 command: ['sh', '-c', 'until nslookup astaire; do echo waiting for astaire to start ...; sleep 2; done'] containers: - - image: "{{ .Values.image.path }}-homestead:{{ .Values.image.tag }}" + - image: "{{ .Values.repo.dockerHub }}/{{ .Values.image.path }}-homestead:{{ .Values.image.tag }}" name: homestead ports: - containerPort: 22 @@ -44,7 +44,7 @@ spec: volumeMounts: - name: homesteadlogs mountPath: /var/log/homestead - - image: busybox:1.28 + - image: {{ .Values.repo.dockerHub }}/busybox:1.28 name: tailer command: [ "tail", "-F", "/var/log/homestead/homestead_current.txt" ] volumeMounts: |