Skip to content

Commit

Permalink
Merge pull request #1717 from rhatdan/run
Browse files Browse the repository at this point in the history
Add masked paths and readonly paths to config
  • Loading branch information
openshift-ci[bot] authored Oct 27, 2023
2 parents 2346b88 + 3c7f68f commit ecc52e4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkg/config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,30 @@ const (
)

var (
DefaultMaskedPaths = []string{
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/sched_debug",
"/proc/scsi",
"/proc/timer_list",
"/proc/timer_stats",
"/sys/dev/block",
"/sys/devices/virtual/powercap",
"/sys/firmware",
"/sys/fs/selinux",
}

DefaultReadOnlyPaths = []string{
"/proc/asound",
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger",
}

// DefaultInfraImage is the default image to run as infrastructure containers in pods.
DefaultInfraImage = ""
// DefaultRootlessSHMLockPath is the default path for rootless SHM locks.
Expand Down

0 comments on commit ecc52e4

Please sign in to comment.