Skip to content

Commit

Permalink
revert to SYS_RESOURCE condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrokethecloud committed Jan 17, 2024
1 parent 3ad0727 commit 3a76207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/webhook/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func resourcePatch(add []corev1.Capability, basePath string) (types.PatchOps, er
basePath = basePath + "/-"
}

value := append(add, "SYS_ADMIN")
value := append(add, "SYS_RESOURCE")
valueStr, err := json.Marshal(value)
if err != nil {
return nil, err
Expand Down

0 comments on commit 3a76207

Please sign in to comment.