tetragon: 0.1.1 -> 1.2.0

Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
This commit is contained in:
Ganga Ram 2024-11-17 10:01:18 +04:00
parent cd43d68671
commit 927bf0fee4

View File

@ -10,7 +10,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "tetragon";
version = "0.11.0";
version = "1.2.0";
src = fetchFromGitHub {
owner = "cilium";
@ -40,6 +40,11 @@ stdenv.mkDerivation (finalAttrs: {
runHook postBuild
'';
# For BPF compilation
hardeningDisable = [
"zerocallusedregs"
];
postPatch = ''
substituteInPlace bpf/Makefile --replace '/bin/bash' '${lib.getExe bash}'
substituteInPlace pkg/defaults/defaults.go --replace '/var/lib/tetragon/' $out/lib/tetragon/bpf/