From: garciadeblas Date: Tue, 1 Mar 2022 15:37:08 +0000 (+0100) Subject: Change prometheus folder permissions in prometheus pod X-Git-Tag: v10.1.0-rc1^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F16%2F11716%2F1;p=osm%2Fdevops.git Change prometheus folder permissions in prometheus pod Change-Id: Id77a6ab6ba70c90abd87a76eb505e08f2d3ba7ac Signed-off-by: garciadeblas --- diff --git a/installers/docker/osm_pods/prometheus.yaml b/installers/docker/osm_pods/prometheus.yaml index 93cd20ae..2b2ee5fc 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