Michal Ptacek | fff4f53 | 2019-05-28 13:59:07 +0000 | [diff] [blame] | 1 | diff --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 Ptacek | 863926e | 2019-06-05 16:14:00 +0000 | [diff] [blame] | 2 | index c87a26b..4212c96 100644 |
Michal Ptacek | fff4f53 | 2019-05-28 13:59:07 +0000 | [diff] [blame] | 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 |
Michal Ptacek | 863926e | 2019-06-05 16:14:00 +0000 | [diff] [blame] | 5 | @@ -1,4 +1,4 @@ |
Michal Ptacek | fff4f53 | 2019-05-28 13:59:07 +0000 | [diff] [blame] | 6 | #!/bin/sh |
| 7 | -pip install flask |
| 8 | -pip install requests |
Michal Ptacek | fff4f53 | 2019-05-28 13:59:07 +0000 | [diff] [blame] | 9 | +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 Ptacek | 863926e | 2019-06-05 16:14:00 +0000 | [diff] [blame] | 12 | diff --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 |
| 13 | index 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 Ptacek | fff4f53 | 2019-05-28 13:59:07 +0000 | [diff] [blame] | 27 | -- |
Michal Ptacek | 84617e8 | 2019-05-24 12:05:04 +0000 | [diff] [blame] | 28 | |
| 29 | diff --git a/kubernetes/common/dgbuilder/templates/deployment.yaml b/kubernetes/common/dgbuilder/templates/deployment.yaml |
| 30 | index 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 Ptacek | 863926e | 2019-06-05 16:14:00 +0000 | [diff] [blame] | 48 | -- |
Michal Ptacek | 84617e8 | 2019-05-24 12:05:04 +0000 | [diff] [blame] | 49 | 1.8.3.1 |
| 50 | |