fluent-bit
fluent-bit copied to clipboard
snap: update yaml with core22
#8954
** Testing **
Need to assure that is working like core18, but there where breaking changes with Snapcraft from core18 to core22, I adapted the best I could.
cc: @niedbalski want to review?
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
@bryanwsmith Reopen ?
@bryanwsmith Reopen ?
Yes that would be very helpful. As a workaround for now I modified the snapcraft.yaml and rebuilt it and side loaded the snap.
Here is what I have so far, switched it to reference $SNAP_DATA and added log-observer to have the ability to send kernel messages., which fluent-bit already supports but ran into permission issues without it.
apps:
service:
command: usr/local/bin/fluent-bit -c $SNAP_DATA/etc/fluent-bit.conf
daemon: simple
plugs:
- network
- network-bind
- log-observe
# - read-config
fluent-bit:
command: usr/local/bin/fluent-bit
plugs:
- network
- network-bind
- log-observe
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
can't remove the stale
@bryanwsmith what needs changing on this PR and can you push it?