mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-13 12:59:36 +00:00
Merge pull request #11759 from microsoft/danmihai1/policy-storages
genpolicy: print Input and Policy storages
This commit is contained in:
@@ -1032,6 +1032,9 @@ mount_source_allows(p_mount, i_mount, bundle_id, sandbox_id) if {
|
||||
# Create container Storages
|
||||
|
||||
allow_storages(p_storages, i_storages, bundle_id, sandbox_id) if {
|
||||
print("allow_storages: p_storages =", p_storages)
|
||||
print("allow_storages: i_storages =", i_storages)
|
||||
|
||||
p_count := count(p_storages)
|
||||
i_count := count(i_storages)
|
||||
img_pull_count := count([s | s := i_storages[_]; s.driver == "image_guest_pull"])
|
||||
|
Reference in New Issue
Block a user