Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 17 additions & 51 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 @@ -11,7 +11,7 @@ default-members = ["fact"]
license = "MIT OR Apache-2.0"

[workspace.dependencies]
aya = { version = "0.13.1", default-features = false }
aya = { version = "0.14.0", default-features = false }

anyhow = { version = "1", default-features = false, features = ["std", "backtrace"] }
clap = { version = "4.5.41", features = ["derive", "env"] }
Expand Down
8 changes: 4 additions & 4 deletions fact/src/bpf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ impl Bpf {
// Include the BPF object as raw bytes at compile-time and load it
// at runtime.
let obj = aya::EbpfLoader::new()
.set_global("host_mount_ns", &host_info::get_host_mount_ns(), true)
.set_global(
.override_global("host_mount_ns", &host_info::get_host_mount_ns(), true)
.override_global(
"path_hooks_support_bpf_d_path",
&(checks.path_hooks_support_bpf_d_path as u8),
true,
)
.set_max_entries(RINGBUFFER_NAME, bpf_config.ringbuf_size() * 1024)
.set_max_entries("inode_map", bpf_config.inodes_max())
.map_max_entries(RINGBUFFER_NAME, bpf_config.ringbuf_size() * 1024)
.map_max_entries("inode_map", bpf_config.inodes_max())
.load(fact_ebpf::EBPF_OBJ)?;

let (tx, rx) = mpsc::channel(100);
Expand Down
6 changes: 3 additions & 3 deletions konflux.Containerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM registry.access.redhat.com/ubi9/ubi-micro@sha256:fdf68a4f5f88cca14ae906bbec6e0fbbffe92b5b91e73e0862c961234d63b986 AS ubi-micro-base
FROM registry.access.redhat.com/ubi9/ubi-micro@sha256:35de56a9413112f1474e392ebc35e0cf6f0fb484c8e8877bbae59b513694b41f AS ubi-micro-base

FROM registry.access.redhat.com/ubi9/ubi@sha256:37a15896602263cb998cd3c21919efb433adf9dbd3a7c961da5d8e3083a0db82 AS package_installer
FROM registry.access.redhat.com/ubi9/ubi@sha256:8bf0e8f20737e9c8a68c8a498299e9504ab397b1b1f2837acb2fef12ec698f0e AS package_installer

COPY --from=ubi-micro-base / /out/

Expand All @@ -19,7 +19,7 @@ RUN dnf install -y \
dnf clean all --installroot=/out/ && \
rm -rf /out/var/cache/dnf /out/var/cache/yum

FROM registry.access.redhat.com/ubi9/ubi@sha256:37a15896602263cb998cd3c21919efb433adf9dbd3a7c961da5d8e3083a0db82 AS builder
FROM registry.access.redhat.com/ubi9/ubi@sha256:8bf0e8f20737e9c8a68c8a498299e9504ab397b1b1f2837acb2fef12ec698f0e AS builder

ARG FACT_TAG
RUN echo "Checking required FACT_TAG"; [[ "${FACT_TAG}" != "" ]]
Expand Down
Loading