forked from kata-containers/kata-containers
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agent: log policy prints for allow=false
Log into Pod VM's /tmp/policy.txt the policy print output for requests that get evaluated to false - to help debugging. This output was already provided for interactive commands - e.g., when ExecProcessRequest gets rejected for "kubectl exec". However, for non interactive requests - e.g., ExecProcessRequest for a livenessProbe - it can be helpful to set AllowRequestsFailingPolicy = true and to collect the policy prints from the Pod VM log file. Signed-off-by: Dan Mihai <[email protected]>
- Loading branch information
Showing
1 changed file
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters