We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42064e0 + f0c2afa commit bb089b9Copy full SHA for bb089b9
pkg/securitycontext/util.go
@@ -188,7 +188,7 @@ func AddNoNewPrivileges(sc *v1.SecurityContext) bool {
188
189
var (
190
// These *must* be kept in sync with moby/moby.
191
- // https://github.com/moby/moby/blob/master/oci/defaults.go#L105-L123
+ // https://github.com/moby/moby/blob/master/oci/defaults.go#L105-L124
192
// @jessfraz will watch changes to those files upstream.
193
defaultMaskedPaths = []string{
194
"/proc/asound",
@@ -201,6 +201,7 @@ var (
201
"/proc/sched_debug",
202
"/proc/scsi",
203
"/sys/firmware",
204
+ "/sys/devices/virtual/powercap",
205
}
206
defaultReadonlyPaths = []string{
207
"/proc/bus",
0 commit comments