blob: a135ad388c85a92a29a6d279654c268ed0ba1646 [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
Michal Ptacek863926e2019-06-05 16:14:00 +00002index c87a26b..4212c96 100644
Michal Ptacekfff4f532019-05-28 13:59:07 +00003--- 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
Michal Ptacek863926e2019-06-05 16:14:00 +00005@@ -1,4 +1,4 @@
Michal Ptacekfff4f532019-05-28 13:59:07 +00006 #!/bin/sh
7-pip install flask
8-pip install requests
Michal Ptacekfff4f532019-05-28 13:59:07 +00009+pip install -i https://nexus3.onap.org/repository/pypi-private/simple/ --trusted-host nexus3.onap.org flask
10+pip install -i https://nexus3.onap.org/repository/pypi-private/simple/ --trusted-host nexus3.onap.org requests
11 python /share/etc/config/mock.py
Michal Ptacek863926e2019-06-05 16:14:00 +000012diff --git a/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/templates/deployment.yaml b/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/templates/deployment.yaml
13index b26f6dd..2d31aad 100644
14--- a/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/templates/deployment.yaml
15+++ b/kubernetes/oof/charts/oof-cmso/charts/oof-cmso-service/templates/deployment.yaml
16@@ -30,6 +30,10 @@ spec:
17 app: {{ include "common.name" . }}
18 release: {{ .Release.Name }}
19 spec:
20+ hostAliases:
21+ - ip: INFRA_CLUSTER_IP
22+ hostnames:
23+ - nexus3.onap.org
24 initContainers:
25 - command:
26 - /root/ready.py
Michal Ptacekfff4f532019-05-28 13:59:07 +000027--
Michal Ptacek84617e82019-05-24 12:05:04 +000028
29diff --git a/kubernetes/common/dgbuilder/templates/deployment.yaml b/kubernetes/common/dgbuilder/templates/deployment.yaml
30index 353c231..cf38409 100644
31--- a/kubernetes/common/dgbuilder/templates/deployment.yaml
32+++ b/kubernetes/common/dgbuilder/templates/deployment.yaml
33@@ -49,8 +49,12 @@ spec:
34 - name: {{ include "common.name" . }}
35 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
36 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
37- command: ["/bin/bash"]
38- args: ["-c", "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait"]
39+ command:
40+ - /bin/bash
41+ - -c
42+ - >
43+ NPM_REGISTRY_RECORD;
44+ cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait
45 ports:
46 - containerPort: {{ .Values.service.internalPort }}
47 readinessProbe:
Michal Ptacek863926e2019-06-05 16:14:00 +000048--
Michal Ptacek84617e82019-05-24 12:05:04 +0000491.8.3.1
50