projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug 1481: fix typo in kafka init-container command
[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
7fc6595
..
e6fdae1
100644
(file)
--- a/
installers/docker/osm_pods/nbi.yaml
+++ b/
installers/docker/osm_pods/nbi.yaml
@@
-50,7
+50,7
@@
spec:
command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongodb-k8s 27017); do sleep 3; done; exit 0"]
containers:
- name: nbi
command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 mongodb-k8s 27017); do sleep 3; done; exit 0"]
containers:
- name: nbi
- image: opensourcemano/nbi:
8
+ image: opensourcemano/nbi:
9
ports:
- containerPort: 9999
protocol: TCP
ports:
- containerPort: 9999
protocol: TCP
@@
-59,6
+59,14
@@
spec:
value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
- name: OSMNBI_MESSAGE_HOST
value: kafka
value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
- 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