feat(lcm-prometheus interconnection): allows lcm to modify prometheus config in order to push new jobs like snmp metrics recollection
Change-Id: I8ea564f9d6ae96d6a5042e691ccaa0c758add158
Signed-off-by: bravof <fbravo@whitestack.com>
diff --git a/installers/docker/osm_pods/lcm.yaml b/installers/docker/osm_pods/lcm.yaml
index c74143f..9464ffd 100644
--- a/installers/docker/osm_pods/lcm.yaml
+++ b/installers/docker/osm_pods/lcm.yaml
@@ -50,7 +50,12 @@
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