Merge pull request #338 from 3dwardch3ng/infra/prometheus
run docker with user root
This commit is contained in:
@@ -15,6 +15,9 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: prometheus
|
app: prometheus
|
||||||
spec:
|
spec:
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
|
runAsGroup: 0
|
||||||
containers:
|
containers:
|
||||||
- name: prometheus
|
- name: prometheus
|
||||||
image: prom/prometheus:v2.53.0
|
image: prom/prometheus:v2.53.0
|
||||||
|
|||||||
Reference in New Issue
Block a user