Updated community installer to use grafana 8.1.1 and prometheus v2.28.1
[osm/devops.git] / installers / docker / osm_pods / prometheus.yaml
index 93cd20a..adf3c11 100644 (file)
@@ -85,7 +85,7 @@ spec:
       - name: prometheus-init-config
         image: busybox
         command: ["/bin/sh", "-c"]
-        args: ['if [ ! -f "/etc/prometheus/prometheus.yml" ]; then cp /etc/prometheus_init/prometheus.yml /etc/prometheus; fi']
+        args: ['if [ ! -f "/etc/prometheus/prometheus.yml" ]; then cp /etc/prometheus_init/prometheus.yml /etc/prometheus; chown -R 1000:1000 /etc/prometheus; fi']
         volumeMounts:
           - name: prom-config
             mountPath: /etc/prometheus
@@ -93,7 +93,7 @@ spec:
             mountPath: /etc/prometheus_init
       containers:
       - name: prometheus
-        image: prom/prometheus:v2.4.3
+        image: prom/prometheus:v2.28.1
         args:
         - --config.file=/etc/prometheus/prometheus.yml
         - --web.enable-lifecycle