Skip to content

Commit

Permalink
chore(deps): fix broken deps
Browse files Browse the repository at this point in the history
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
  • Loading branch information
flavio committed Sep 23, 2024
1 parent 3ee80a6 commit 55c3049
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 19 deletions.
84 changes: 78 additions & 6 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
jsonpath_lib = "0.3.0"
kubewarden-policy-sdk = "0.11.0"
k8s-openapi = { version = "0.23.0", features = ["v1_29"] }
kubewarden-policy-sdk = "0.11.1"
k8s-openapi = { version = "0.23.0", features = ["v1_30"] }

[dev-dependencies]
assert-json-diff = "2.0.2"
assert-json-diff = "2.0"
test_helpers = { path = "test_helpers" }
11 changes: 1 addition & 10 deletions src/mutate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,7 @@ fn patch_container_security_context(
add: Some(Vec::<String>::new()),
drop: Some(Vec::<String>::new()),
}),
allow_privilege_escalation: None,
privileged: None,
proc_mount: None,
read_only_root_filesystem: None,
run_as_group: None,
run_as_non_root: None,
run_as_user: None,
se_linux_options: None,
seccomp_profile: None,
windows_options: None,
..Default::default()
});

let mut capabilities = sc.capabilities.unwrap_or_default();
Expand Down

0 comments on commit 55c3049

Please sign in to comment.