Skip to content

Commit

Permalink
Fix securityContext in static yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Indresh Prakash <[email protected]>
  • Loading branch information
Indresh2410 committed Oct 22, 2024
1 parent f796076 commit 135f62e
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
Expand Up @@ -47,6 +47,8 @@ spec:
securityContext:
runAsNonRoot: false
runAsUser: 0
capabilities:
add: ["SYS_ADMIN"]
volumeMounts:
- name: "pod-gpu-resources"
readOnly: true
Expand Down

0 comments on commit 135f62e

Please sign in to comment.