Skip to content

Commit

Permalink
allow containers.privileged
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso committed Dec 30, 2024
1 parent 58923e7 commit 9f09651
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/schema-tweak/overrides.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,16 @@ func revSpecOverrides(prefixPath string) []entry {
allowedFields: sets.New(
"allowPrivilegeEscalation",
"capabilities",
"privileged",
"readOnlyRootFilesystem",
"runAsGroup",
"runAsNonRoot",
"runAsUser",
"seccompProfile",
),
}, {
path: "containers.securityContext.privileged",
description: "Run container in privileged mode. This can only be set to explicitly to 'false'",
}, {
path: "containers.securityContext.capabilities",
allowedFields: sets.New(
Expand Down

0 comments on commit 9f09651

Please sign in to comment.