mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-25 18:53:44 +00:00
genpolicy: temporarily disable allow_storages()
Temporarily disable the allow_storages() rules, because they are based on the tarfs snapshotter + container image integrity information that are not available yet in the main branch - see #8833. Fixes: #8834 Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
@@ -428,7 +428,8 @@ allow_by_bundle_or_sandbox_id(p_oci, i_oci, p_storages, i_storages) {
|
||||
allow_mount(p_oci, i_mount, bundle_id, sandbox_id)
|
||||
}
|
||||
|
||||
allow_storages(p_storages, i_storages, bundle_id, sandbox_id)
|
||||
# TODO: enable allow_storages() after fixing https://github.com/kata-containers/kata-containers/issues/8833
|
||||
# allow_storages(p_storages, i_storages, bundle_id, sandbox_id)
|
||||
|
||||
print("allow_by_bundle_or_sandbox_id: true")
|
||||
}
|
||||
|
Reference in New Issue
Block a user