Added prometheus as a k8s service related params
Change-Id: I2551542445f4d77acca3a6ce10589c35d1034ffb
Related-Bug: PROD-21820
diff --git a/prometheus/server/init.yml b/prometheus/server/init.yml
index 5d115ac..cd511d4 100644
--- a/prometheus/server/init.yml
+++ b/prometheus/server/init.yml
@@ -2,10 +2,12 @@
_param:
prometheus_server_config_directory: /srv/prometheus
prometheus_server_data_directory: /data
+ prometheus_server_host_config_directory: /srv/volumes/local/prometheus/config
+ prometheus_server_host_data_directory: /srv/volumes/local/prometheus/data
prometheus:
server:
version: 2.0
dir:
- data: /srv/volumes/local/prometheus/data
- config: /srv/volumes/local/prometheus/config
+ data: ${_param:prometheus_server_host_data_directory}
+ config: ${_param:prometheus_server_host_config_directory}
config_in_container: ${_param:prometheus_server_config_directory}