feat(lcm-prometheus interconnection): allows lcm to modify prometheus config in order...
[osm/devops.git] / installers / docker / osm_pods / lcm.yaml
index f69fba3..6858f2a 100644 (file)
@@ -36,7 +36,7 @@ spec:
          command: ["sh", "-c", "until (nc -zvw1 kafka 9092 && nc -zvw1 ro 9090 && nc -zvw1 mongo 27017 ); do sleep 3; done; exit 0"]
       containers:
       - name: lcm
-        image: opensourcemano/lcm:latest
+        image: opensourcemano/lcm:8
         env:
         - name: OSMLCM_RO_HOST
           value: ro
@@ -50,7 +50,12 @@ spec:
         volumeMounts:
         - name: osm-packages
           mountPath: /app/storage
+        - name: prometheus-config
+          mountPath: /etc/prometheus
       volumes:
       - name: osm-packages
         hostPath:
          path: /var/lib/osm/osm_osm_packages/_data
+      - name: prometheus-config
+        hostPath:
+          path: /var/lib/osm/prometheus