Skip to content

Commit

Permalink
feat: remove unnecessary mount of /sys/kernel/debug
Browse files Browse the repository at this point in the history
Signed-off-by: Bastien Grasnick <bastien.grasnick@deutschebahn.com>
  • Loading branch information
BGrasnick committed Sep 12, 2023
1 parent f0c91d2 commit 86af3c4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions manifests/config/exporter/patch/patch-openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,9 @@ spec:
- name: kernel-src
mountPath: /usr/src/kernels
readOnly: true
- name: kernel-debug
mountPath: /sys/kernel/debug
securityContext:
privileged: true
volumes:
- name: kernel-debug
hostPath:
path: /sys/kernel/debug
type: Directory
volumes:
- name: kernel-src
hostPath:
path: /usr/src/kernels
Expand Down

0 comments on commit 86af3c4

Please sign in to comment.