diff --git a/infrastructure/prometheus/monitoring-app.yaml b/infrastructure/prometheus/monitoring-app.yaml index 519c833..118c291 100644 --- a/infrastructure/prometheus/monitoring-app.yaml +++ b/infrastructure/prometheus/monitoring-app.yaml @@ -20,6 +20,11 @@ spec: prometheus: prometheusSpec: # Prometheus soll nur auf Nodes mit diesem Label laufen: + securityContext: + runAsUser: 0 + runAsGroup: 0 + fsGroup: 0 + runAsNonRoot: false nodeSelector: tier: infra retention: 7d