swarm-logs-auth and swarm-metrics-auth take --listen for a TCP address beside --socket. The log store is a Deployment on a static local volume that is its old container's data directory, behind a ClusterIP Service the gateway dials by name. Its two auth_request responders are one unpinned pod with a jwt role. The renderer gains a plain HTTP listener, a probe path, fsGroupChangePolicy, and one policy for a pod with both a listener and egress.
33 lines
870 B
TOML
33 lines
870 B
TOML
[package]
|
|
name = "swarm-metrics-auth"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[[bin]]
|
|
name = "swarm-metrics-auth"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
axum.workspace = true
|
|
# The read time in the fallback log line.
|
|
chrono.workspace = true
|
|
clap.workspace = true
|
|
hive-log.workspace = true
|
|
serde.workspace = true
|
|
# Comparing the presented bearer with the stored one.
|
|
subtle.workspace = true
|
|
swarm-secret-client.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
# `test-util` for `#[tokio::test(start_paused = true)]`: the lookup-timeout
|
|
# test waits out `LOOKUP_TIMEOUT` on paused time.
|
|
[dev-dependencies]
|
|
# `Shared`, so the injected stop future can be cloned like `shutdown_signal`'s.
|
|
futures-util.workspace = true
|
|
mockall.workspace = true
|
|
tokio = { workspace = true, features = ["test-util"] }
|