projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
full_install_osm.sh: ng-ui as default UI
[osm/devops.git]
/
installers
/
docker
/
osm_pods
/
nbi.yaml
diff --git
a/installers/docker/osm_pods/nbi.yaml
b/installers/docker/osm_pods/nbi.yaml
index
0b8a84b
..
87a459d
100644
(file)
--- a/
installers/docker/osm_pods/nbi.yaml
+++ b/
installers/docker/osm_pods/nbi.yaml
@@
-47,18
+47,26
@@
spec:
initContainers:
- name: kafka-mongo-test
image: alpine:latest
initContainers:
- name: kafka-mongo-test
image: alpine:latest
- command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongo 27017); do sleep 3; done; exit 0"]
+ command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongo
db-k8s
27017); do sleep 3; done; exit 0"]
containers:
- name: nbi
containers:
- name: nbi
- image: opensourcemano/nbi:
7
+ image: opensourcemano/nbi:
8
ports:
- containerPort: 9999
protocol: TCP
env:
ports:
- containerPort: 9999
protocol: TCP
env:
- - name: OSMNBI_DATABASE_
HOST
- value: mongo
+ - name: OSMNBI_DATABASE_
URI
+ value: mongo
db://mongodb-k8s:27017/?replicaSet=rs0
- name: OSMNBI_MESSAGE_HOST
value: kafka
- name: OSMNBI_MESSAGE_HOST
value: kafka
+ - name: OSMNBI_STORAGE_DRIVER
+ value: mongo
+ - name: OSMNBI_STORAGE_PATH
+ value: /app/storage
+ - name: OSMNBI_STORAGE_COLLECTION
+ value: files
+ - name: OSMNBI_STORAGE_URI
+ value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
envFrom:
- secretRef:
name: nbi-secret
envFrom:
- secretRef:
name: nbi-secret