run docker with user root

This commit is contained in:
2024-06-26 15:59:03 +10:00
parent d88e17efcd
commit 0619a824e4

View File

@@ -15,6 +15,9 @@ spec:
labels:
app: prometheus
spec:
securityContext:
runAsUser: 0
runAsGroup: 0
containers:
- name: prometheus
image: prom/prometheus:v2.53.0