From c79cfb8c6a9756e1e6fa0f93392e1c3f4c275420 Mon Sep 17 00:00:00 2001 From: titver968 Date: Tue, 19 Aug 2025 10:05:24 +0200 Subject: [PATCH] prometheus pod security changed --- argocd/apps/prometheus/prometheus.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/argocd/apps/prometheus/prometheus.yaml b/argocd/apps/prometheus/prometheus.yaml index 27fac89..f6a4bcd 100644 --- a/argocd/apps/prometheus/prometheus.yaml +++ b/argocd/apps/prometheus/prometheus.yaml @@ -67,9 +67,13 @@ spec: namespace: prometheus syncPolicy: + anagedNamespaceMetadata: + labels: + pod-security.kubernetes.io/enforce: "privileged" automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true - PrunePropagationPolicy=foreground + - RespectIgnoreDifferences=true