Use FSMongo as the default FS in NBI and LCM 72/9972/3
authorDavid Garcia <david.garcia@canonical.com>
Thu, 12 Nov 2020 15:56:29 +0000 (16:56 +0100)
committerbeierlm <mark.beierl@canonical.com>
Fri, 27 Nov 2020 18:08:49 +0000 (19:08 +0100)
Change-Id: I49fa01dd3ba625a64a5a61b42c5f8cab027330ed
Signed-off-by: David Garcia <david.garcia@canonical.com>
installers/docker/osm_pods/lcm.yaml
installers/docker/osm_pods/nbi.yaml

index e2c27bd..ccaa57a 100644 (file)
@@ -44,6 +44,14 @@ spec:
           value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
         - name: OSMLCM_MESSAGE_HOST
           value: kafka
+        - name: OSMLCM_STORAGE_DRIVER
+          value: mongo
+        - name: OSMLCM_STORAGE_PATH
+          value: /app/storage
+        - name: OSMLCM_STORAGE_COLLECTION
+          value: files
+        - name: OSMLCM_STORAGE_URI
+          value: mongodb://mongodb-k8s:27017/?replicaSet=rs0
         envFrom:
         - secretRef:
            name: lcm-secret
index 7fc6595..87a459d 100644 (file)
@@ -59,6 +59,14 @@ spec:
            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