Watch
0
0
Fork
You've already forked hyperhive
0

pin the container units in the hive collector's journal allow-list

This commit is contained in:
atlas 2026-10-29 13:03:54 +01:00
commit e8190a4972

View file

@ -455,11 +455,12 @@ let
{
# Squid rides this fixture because its journal and metrics reach the
# swarm through this collector. The allow-list of journal units must stay
# exactly the three named: hive-c0re's (control: the list is not just
# squid's), squid's and its self-check's.
name = "the hive collector forwards the journal of squid, its self-check and hive-c0re and no other unit";
# exactly the four named: hive-c0re's (control: the list is not just
# squid's), the container units', squid's and its self-check's.
name = "the hive collector forwards the journal of squid, its self-check, hive-c0re and the container units and no other unit";
ok =
lib.sort builtins.lessThan hiveOtelSettings.receivers.journald.units == [
"container@*.service"
"hive-c0re.service"
"squid-selfcheck.service"
"squid.service"