-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kata.kata-runtime: drop OCI version check from policy
Signed-off-by: Paul Meyer <[email protected]>
- Loading branch information
1 parent
7bacd11
commit 0b64089
Showing
6 changed files
with
41 additions
and
44 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
packages/by-name/kata/kata-runtime/0007-genpolicy-rules-remove-check-for-OCI-version.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Paul Meyer <[email protected]> | ||
Date: Fri, 6 Dec 2024 15:16:45 +0100 | ||
Subject: [PATCH] genpolicy/rules: remove check for OCI version | ||
|
||
Signed-off-by: Paul Meyer <[email protected]> | ||
--- | ||
src/tools/genpolicy/rules.rego | 3 --- | ||
1 file changed, 3 deletions(-) | ||
|
||
diff --git a/src/tools/genpolicy/rules.rego b/src/tools/genpolicy/rules.rego | ||
index 6ddcd18cd1334dfabeadd1b0e7a54c723c7cae4d..c8de30897a01a0de49b99587c7e12ef534c353bc 100644 | ||
--- a/src/tools/genpolicy/rules.rego | ||
+++ b/src/tools/genpolicy/rules.rego | ||
@@ -71,9 +71,6 @@ CreateContainerRequest { | ||
|
||
p_oci := p_container.OCI | ||
|
||
- print("CreateContainerRequest: p Version =", p_oci.Version, "i Version =", i_oci.Version) | ||
- p_oci.Version == i_oci.Version | ||
- | ||
print("CreateContainerRequest: p Readonly =", p_oci.Root.Readonly, "i Readonly =", i_oci.Root.Readonly) | ||
p_oci.Root.Readonly == i_oci.Root.Readonly | ||
|
30 changes: 0 additions & 30 deletions
30
packages/by-name/kata/kata-runtime/0007-genpolicy-settings-bump-OCI-version.patch
This file was deleted.
Oops, something went wrong.
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
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
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
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