move hiveName to deploy.hive-controller; only a hive host needs a name
This commit is contained in:
parent
67f0d6a9d3
commit
0c6e8fc5a2
37 changed files with 402 additions and 215 deletions
|
|
@ -391,6 +391,19 @@ let
|
|||
&& !(builtins.elem container (wait baoWithHiveOtel).after)
|
||||
&& !(builtins.elem container (wait baoWithHiveOtel).requires);
|
||||
}
|
||||
{
|
||||
# What the hive collector presents and where it presents it, both derived
|
||||
# from the hive's name: pinned so the name's option path can move without
|
||||
# the collector's identity changing.
|
||||
name = "the hive collector authenticates as hive-<name> and pushes to the swarm collector under the name's path";
|
||||
ok =
|
||||
let
|
||||
otel = hiveOtel.services.hyperhive.swarm.otel;
|
||||
in
|
||||
hiveOtelSettings.extensions."oauth2client/swarm".client_id == "hive-h1"
|
||||
&& hiveOtelSettings.extensions."oauth2client/swarm".endpoint_params.audience == "hive-h1"
|
||||
&& hiveOtelSettings.exporters."otlphttp/swarm".endpoint == "https://${otel.domain}/h1";
|
||||
}
|
||||
];
|
||||
in
|
||||
runGroup "hive-otel" cases
|
||||
|
|
|
|||
Loading…
Reference in a new issue