Welcome to the v0.25.0 release of Inspektor Gadget. The most relevant changes for this version are:
- run: Add trace sni by @claudiamarcubina in #2322
- trace exec: add upper_layer field by @alban in #2353
- ci: Add SBOMs as release artifacts. by @eiffel-fl in #2121
- Add support for TC programs by @mauriciovasquezbernal in #2376
General Improvements
- gadgets: Convert trace oomkill to image based gadget by @eiffel-fl in #2333
- Extend buffer.h by @eiffel-fl in #2331
- trace fsslower: Add support for statfs by @eiffel-fl in #2234
- Convert existing gadgets to use buffer.h API by @eiffel-fl in #2323
- use client-go informers instead of active polling by @matthyx in #2347
- columns: Avoid creating uneeded function by @mauriciovasquezbernal in #2349
- cmd/deploy log level in ig-k8s pod by @ghinks in #2312
- add checks for lost samples and empty record in capabilities tracer by @matthyx in #2350
- Add
watch
permission forservices
by @burak-ok in #2352 - filter: Allow filtering for '[]char' for containerized gadgets by @mqasimsarfraz in #2122
- K8sInventoryCache: Manage resources better + fix rare race condition by @burak-ok in #2354
- gadgets/Makefile: Exit on error when pushing gadget by @mqasimsarfraz in #2362
- oci: Use default registry for Inspektor Gadget by @mauriciovasquezbernal in #2307
- oci: wasm modules are no longer stored in the wasm architecture by @alban in #2355
- image: Add test for build/list/tag/push/pull/remove by @mqasimsarfraz in #2171
- Update DetectBpfKtimeGetBootNs by @mauriciovasquezbernal in #2368
- readme: update talks list by @claudiamarcubina in #2366
- tracepoints: check the section has a group and a name by @alban in #2375
- README.md: add OpenSSF Best Practices badge by @alban in #2370
- trace exec upper_layer: fix BTF type size relocation by @alban in #2400
- socket enricher: Use single instance for multiple gadgets by @mauriciovasquezbernal in #2324
- [RFE] Added toleration to Inspektor Gadget manifest by @pawarpranav83 in #2410
- trace/exec: Fix crash when using --cwd by @mauriciovasquezbernal in #2422
- WithKubernetesEnrichment: Enrich if PodLabels is nil by @burak-ok in #2418
- pkg/oci: Use garbage collecting to delete whole image. by @eiffel-fl in #2402
- Set gadget_heap size to event tracer one by @eiffel-fl in #2351
- auto-mount-filesystems: add alternative path for tracefs by @alban in #2427
- include: Add missing import in sockets-map.h by @mauriciovasquezbernal in #2414
- Don't use vishvananda/netns fork by @mauriciovasquezbernal in #2415
- charts: Reduce /host coverage and remove /lib/modules. by @eiffel-fl in #2285
Bug Fixes
- Fix boundary checks by @mauriciovasquezbernal in #2338
- pkg/oci: Do not trim repository prefix if default. by @eiffel-fl in #2401
Documentation Improvements
- docs: Add documentation on doing bugfix release. by @eiffel-fl in #2356
- docs/examples: Improve documentation about privileged by @mauriciovasquezbernal in #2416
Testing and Continue Integration
- integration: Use correct type for netns. by @eiffel-fl in #2357
- integration: Normalize ContainerImageDigest in all tests by @mauriciovasquezbernal in #2367
- integration: Add timeout for all tests by @mauriciovasquezbernal in #2373
- CI: Print previous logs for gadget pods by @mauriciovasquezbernal in #2389
- Fix CodeQL jobs in the CI by @eiffel-fl in #2405
- integration/TraceOOMKill: Don't check triggered uid & gid by @burak-ok in #2411
Statistics
This new release comes with 4259 new lines and removed 1273.
We focused on adding new features, like support for TC programs, hence this increase.
So far, Inspektor Gadget relies on the following software:
Language | files | blank | comment | code |
---|---|---|---|---|
C/C++ Header | 44 | 33272 | 383 | 250327 |
Go | 561 | 12743 | 13169 | 66680 |
Markdown | 105 | 2555 | 0 | 8889 |
C | 58 | 1430 | 906 | 6054 |
SVG | 8 | 1 | 2 | 5177 |
YAML | 80 | 144 | 436 | 4315 |
make | 17 | 170 | 81 | 734 |
Bourne Shell | 22 | 84 | 132 | 247 |
JSON | 5 | 0 | 0 | 223 |
Dockerfile | 11 | 61 | 41 | 173 |
Protocol Buffers | 2 | 36 | 51 | 94 |
Perl | 1 | 18 | 13 | 54 |
NAnt script | 1 | 5 | 0 | 31 |
Bourne Again Shell | 1 | 4 | 3 | 16 |
-------- | -------- | -------- | -------- | -------- |
SUM: | 916 | 50523 | 15217 | 343014 |
New Contributors
- @ghinks made their first contribution in #2312
- @pawarpranav83 made their first contribution in #2410
Full Changelog: v0.24.0...v0.25.0