From dd5ec40dd49d8bd92ef42b69e18e636b3b34ae27 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 15 Apr 2024 15:57:13 +0800 Subject: [PATCH] add prod prom --- prod-upgrade/prom/prometheus.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prod-upgrade/prom/prometheus.yaml b/prod-upgrade/prom/prometheus.yaml index baf560d..a9016ed 100644 --- a/prod-upgrade/prom/prometheus.yaml +++ b/prod-upgrade/prom/prometheus.yaml @@ -66,6 +66,9 @@ spec: containers: - name: prometheus image: prom/prometheus:v2.51.2 + securityContext: + runAsUser: 1000 + allowPrivilegeEscalation: false args: - --config.file=/etc/prometheus/prometheus.yaml - --storage.tsdb.path=/prometheus/data