Skip to content

Commit a0051c4

Browse files
committed
fix: grafana securityContext
1 parent 8817106 commit a0051c4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

kubernetes-services/templates/prometheus.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,17 @@ spec:
7171
storageClassName: longhorn
7272
accessModes: ["ReadWriteOnce"]
7373
size: 1Gi
74+
securityContext:
75+
runAsNonRoot: false
76+
runAsUser: 0
77+
seccompProfile:
78+
type: RuntimeDefault
79+
capabilities:
80+
add:
81+
- CHOWN
82+
- DAC_READ_SEARCH
83+
drop:
84+
- ALL
7485
- path: ./kubernetes-services/additions/prometheus
7586
repoURL: https://github.com/procinger/turing-pi-v2-cluster.git
7687
targetRevision: main

0 commit comments

Comments
 (0)