X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fdocker%2Fosm_pods%2Fprometheus.yaml;h=adf3c11e65fc829830bcebd7cbbb141ca8ebcb98;hb=66554567908ade44b837b0960ffcb0ae843a232f;hp=93cd20aea451226bcabacecb6d205fd3eb989579;hpb=11a6fedc8882a44b915d4648c38b24492fcde5cb;p=osm%2Fdevops.git diff --git a/installers/docker/osm_pods/prometheus.yaml b/installers/docker/osm_pods/prometheus.yaml index 93cd20ae..adf3c11e 100644 --- a/installers/docker/osm_pods/prometheus.yaml +++ b/installers/docker/osm_pods/prometheus.yaml @@ -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