Watch
0
0
Fork
You've already forked hyperhive
0

the log and metrics stores ask every request for a credential the gateway supplies

Each store runs with -httpAuth.* and a credential from the secret store, published to the namespace as a Secret by the host. The gateway's locations send it after auth_request has passed, and the collector's scrape and push take the same one, so a process on the node that bypasses the gateway is refused.
This commit is contained in:
atlas 2026-11-27 17:24:08 +01:00 • committed by maia
commit 9b12532fc1

View file

@ -718,7 +718,11 @@ let
);
};
execWords = splitExec name (toString sc.ExecStart);
# A systemd `%d` in an argument is the credential directory, as in the
# environment.
execWords = map (builtins.replaceStrings [ "%d" ] [ credDir ]) (
splitExec name (toString sc.ExecStart)
);
entrypoint = "${svc.package}/bin/${daemon}";
# The credentials that are public CA files come from the CA ConfigMap, the