mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-15 13:58:55 +00:00
ci: Install policy document on host to run kata-agent as local process.
The test setup starts kata-agent as a local process without the UVM. The agent policy initialization fails due to missing policy document at `/etc/kata-opa/default-policy.rego`. The fix - installs a relaxed `allow-all.rego` policy document - cleans up the install during exit Signed-off-by: Sumedh Alok Sharma <sumsharma@microsoft.com>
This commit is contained in:
@@ -48,6 +48,8 @@ main()
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
install_policy_doc
|
||||
|
||||
setup_agent
|
||||
|
||||
run_tests
|
||||
|
Reference in New Issue
Block a user