Skip to content

Commit bcbe1bd

Browse files
committed
Configure kata-agent to read policy from /run/peerpod/policy.rego
Without an explicit policy_file, kata-agent falls back to /etc/kata-opa/default-policy.rego and ignores the initdata-provided policy written by process-user-data. The tmpfiles rule already seeds /run/peerpod/policy.rego with allow-all.rego at boot, and process-user-data overwrites it when cc_init_data is present. Made-with: Cursor
1 parent 6dd1690 commit bcbe1bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
server_addr = "unix:///run/kata-containers/agent.sock"
22
guest_components_procs = "none"
3+
policy_file = "/run/peerpod/policy.rego"

0 commit comments

Comments
 (0)