Release v0.28.0
Welcome to the v0.28.0 release of Inspektor Gadget. The most relevant changes for this version are:
- pkg/uprobetracer: add support for USDT tracepoints by @i-Pear in #2655
- cmd: Verifying container image if policy controller is present. by @eiffel-fl in #2703
- operators/ebpf: Support associate programs (iterators) to snapshotters by @blanquicet in #2637
- Bump Go version to 1.22.0 by @burak-ok in #2744
- Remove
bpftrace
by @eiffel-fl in #2757
General Improvements
- gadget-context: Don't add op instance's params if op is not requested by @blanquicet in #2667
- pkg/uprobetracer: use kfilefields to identify inodes by @i-Pear in #2669
- artifacthub-pkg.yml: update gadget versions to new release by @alban in #2679
- re-add support for jsonpretty + yaml to image based gadgets by @flyth in #2652
- trace/open: Compute error and file descriptor fields on eBPF code by @blanquicet in #2687
- rename methods/structs/interfaces from Gadget... to BuiltInGadget... by @flyth in #2559
- pkg/datasource: Don't use sync.Pool for data by @blanquicet in #2708
- Cleanup custom-columns CLI flag by @shivaabhishek07 in #2465
- cmd: Add
--seccomp-profile
to specify seccomp profile to apply to Inspektor Gadget by @eiffel-fl in #2710 - treewide: remove run gadget by @flyth in #2673
- add version skew warning by @mauriciovasquezbernal in #2718
- run: Remove dead code by @mauriciovasquezbernal in #2740
- cmd: Do not truncate output when listing image-based gadgets. by @eiffel-fl in #2743
- tests.mk: Update kube-apiserver to 1.30.0 by @burak-ok in #2750
- oci: Remove dead code by @mauriciovasquezbernal in #2754
- Sign image based gadgets by @eiffel-fl in #2678
- image/build: Implement option to keep built file by @mauriciovasquezbernal in #2738
- pkg/uprobetracer: support LSM trace points by @i-Pear in #2747
- trace/{dns,sni}: Split NewTracer() logic by @amirmalka in #2768
- Verify image based gadget by @eiffel-fl in #2707
- Add signal formatter by @mauriciovasquezbernal in #2630
- gadget-service: Improve address validation by @mauriciovasquezbernal in #2780
- cmd: Implement image import and export commands by @mauriciovasquezbernal in #2779
- columns/filter: Add support for time.Duration by @mqasimsarfraz in #2791
- trace exec: Add user and group field by @burak-ok in #2751
- image-based gadgets: Implement btfgen support by @mauriciovasquezbernal in #2598
Bug Fixes
- charts: Add '/host/var' to volumeMounts by @mqasimsarfraz in #2664
- image based gadgets: fix hostNetwork info by @flyth in #2674
- image based gadgets: return error if no valid gadget layers are found by @flyth in #2691
- resolve symlinks in runtime path by @matthyx in #2656
- fix: re-add timeout for image-based gadgets by @flyth in #2713
- ebpf: Remove trailing garbage when reading sample from perf event array by @mauriciovasquezbernal in #2720
- KubeInventoryCache: Keep old pods/svcs in a cached for enrichment by @burak-ok in #2659
- cmd: Require experimental flag for run command. by @mauriciovasquezbernal in #2778
- fix gRPC timeout for image-based gadgets on GetGadgetInfo() by @flyth in #2712
- pkg/oci: Use Singleton for getLocalOciStore by @burak-ok in #2803
Documentation Improvements
- docs/devel: Update hello world gadget guide by @blanquicet in #2668
- docs: Document how to verify container image at runtime using policy-controller by @eiffel-fl in #2675
- docs: Fix instructions to verify container image by @mauriciovasquezbernal in #2711
- install-kubernetes.md: Fix and update table of contents by @burak-ok in #2749
- examples: Move gadgets to builtin-gadgets by @mauriciovasquezbernal in #2769
Testing and Continuous Integration
- release: automatically update artifact hub version by @alban in #2681
- integration: Separate and simplify container-related stuff by @blanquicet in #2666
- ci: Add wait to ensure GKE clusters are deleted by @mqasimsarfraz in #2682
- ci/lint: Skip package cache by @burak-ok in #2694
- Avoid repeated code on inspektor-gadget and kubectl-gadget integration tests by @pawarpranav83 in #2450
- ci: Check that metadata file is updated to build-and-push-gadgets by @mauriciovasquezbernal in #2702
- Testing package for image-based gadgets by @pawarpranav83 in #2607
- ci: Always build helper images on main and release branches by @mauriciovasquezbernal in #2737
- integration: Add timestamp to Run/Start/Stop by @burak-ok in #2661
- gadgets/trace_open/test: Verify container name and ID by @blanquicet in #2759
- ci: Add workflow to clean eks resources by @burak-ok in #2686
- test-integration-eks: Fix missing quotes + define explicit timeformat by @burak-ok in #2777
- eks-cleanup: Don't error when stack can't be deleted by @burak-ok in #2784
- TestRunTraceOOMKill: Add sleep after starting ig/kubectl-gadget by @burak-ok in #2785
- integration: Logging timestamp before calling step.Stop by @burak-ok in #2790
- tools: Rewrite check-readme in go by @mauriciovasquezbernal in #2786
New Contributors
- @shivaabhishek07 made their first contribution in #2465
- @amirmalka made their first contribution in #2768
Full Changelog: v0.27.0...v0.28.0