blob: 05e217e75383490fa4f1066426c78d5a8e7be26a [file] [log] [blame]
Michal Ptacekfff4f532019-05-28 13:59:07 +00001diff --git a/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/resources/config/msosimulator.sh b/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/resources/config/msosimulator.sh
2index c87a26b..79ad921 100644
3--- a/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/resources/config/msosimulator.sh
4+++ b/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/resources/config/msosimulator.sh
5@@ -1,4 +1,10 @@
6 #!/bin/sh
7-pip install flask
8-pip install requests
9+
10+# for some reason DNS is not working properly on this pod
11+# therefore we need to explicitly add record just for
12+# the purpose of this script
13+HOSTS_FILE_RECORD >> /etc/hosts
14+
15+pip install -i https://nexus3.onap.org/repository/pypi-private/simple/ --trusted-host nexus3.onap.org flask
16+pip install -i https://nexus3.onap.org/repository/pypi-private/simple/ --trusted-host nexus3.onap.org requests
17 python /share/etc/config/mock.py
18--
Michal Ptacek84617e82019-05-24 12:05:04 +000019
20diff --git a/kubernetes/common/dgbuilder/templates/deployment.yaml b/kubernetes/common/dgbuilder/templates/deployment.yaml
21index 353c231..cf38409 100644
22--- a/kubernetes/common/dgbuilder/templates/deployment.yaml
23+++ b/kubernetes/common/dgbuilder/templates/deployment.yaml
24@@ -49,8 +49,12 @@ spec:
25 - name: {{ include "common.name" . }}
26 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
27 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
28- command: ["/bin/bash"]
29- args: ["-c", "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait"]
30+ command:
31+ - /bin/bash
32+ - -c
33+ - >
34+ NPM_REGISTRY_RECORD;
35+ cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait
36 ports:
37 - containerPort: {{ .Values.service.internalPort }}
38 readinessProbe:
39--
401.8.3.1
41