Skip to content

Commit

Permalink
feat: update policy-evaluator enabling OCI image capability.
Browse files Browse the repository at this point in the history
Updates the Cargo files pointing to the policy-evaluator version with
the new capability to allow users to fetch OCI image manifest.

Signed-off-by: José Guilherme Vanz <jguilhermevanz@suse.com>
  • Loading branch information
jvanz committed Feb 6, 2024
1 parent ba14600 commit d6f686f
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 45 deletions.
125 changes: 82 additions & 43 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ opentelemetry = { version = "0.21", default-features = false, features = [
] }
opentelemetry_sdk = { version = "0.21", features = ["rt-tokio"] }
procfs = "0.16"
policy-evaluator = { git = "https://github.com/kubewarden/policy-evaluator", tag = "v0.14.2" }
policy-evaluator = { git = "https://github.com/kubewarden/policy-evaluator", tag = "v0.15.0" }
rayon = "1.8"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion src/policy_downloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ async fn create_verifier(
None
}
};
Verifier::new(sources, fulcio_and_rekor_data.as_ref())
Ok(Verifier::new(sources, fulcio_and_rekor_data.as_ref())?)
}

#[cfg(test)]
Expand Down

0 comments on commit d6f686f

Please sign in to comment.