Skip to content

Commit

Permalink
remove kernel-security-path mount
Browse files Browse the repository at this point in the history
Signed-off-by: rksharma95 <[email protected]>
  • Loading branch information
rksharma95 committed Aug 8, 2023
1 parent b414427 commit 4ef5c06
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions pkg/KubeArmorOperator/common/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,6 @@ var CommonVolumes = []corev1.Volume{
EmptyDir: &corev1.EmptyDirVolumeSource{},
},
},
{
Name: "sys-kernel-security-path",
VolumeSource: corev1.VolumeSource{
HostPath: &corev1.HostPathVolumeSource{
Path: "/sys/kernel/security",
Type: &HostPathDirectory,
},
},
},
{
Name: "sys-kernel-debug-path",
VolumeSource: corev1.VolumeSource{
Expand All @@ -218,10 +209,6 @@ var CommonVolumesMount = []corev1.VolumeMount{
Name: "bpf",
MountPath: "/opt/kubearmor/BPF",
},
{
Name: "sys-kernel-security-path",
MountPath: "/sys/kernel/security",
},
{
Name: "sys-kernel-debug-path",
MountPath: "/sys/kernel/debug",
Expand Down

0 comments on commit 4ef5c06

Please sign in to comment.