Skip to content

Commit

Permalink
Fix securityContext in static yaml (#403)
Browse files Browse the repository at this point in the history
Signed-off-by: Indresh Prakash <indreshprakash24@gmail.com>
Indresh2410 authored Oct 25, 2024
1 parent f796076 commit 818a20f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dcgm-exporter.yaml
Original file line number Diff line number Diff line change
@@ -47,6 +47,8 @@ spec:
securityContext:
runAsNonRoot: false
runAsUser: 0
capabilities:
add: ["SYS_ADMIN"]
volumeMounts:
- name: "pod-gpu-resources"
readOnly: true

0 comments on commit 818a20f

Please sign in to comment.