credential-delivery: reflow the two paragraphs the retry sentence joined
This commit is contained in:
parent
dad288d555
commit
1448168569
1 changed files with 17 additions and 16 deletions
|
|
@ -67,16 +67,17 @@ forgejo's `/metrics` as a scrape target, so the audience is never empty.
|
||||||
|
|
||||||
Until the store has the value, the collector's secret file is empty: tmpfiles
|
Until the store has the value, the collector's secret file is empty: tmpfiles
|
||||||
creates it so `LoadCredential` has a source. The unit fails and asks again
|
creates it so `LoadCredential` has a source. The unit fails and asks again
|
||||||
every 30 seconds while the store holds none, the same as Grafana's. The collector's unit starts through a
|
every 30 seconds while the store holds none, the same as Grafana's. The
|
||||||
wrapper that checks that file. On an empty one it loads the config without the
|
collector's unit starts through a wrapper that checks that file. On an empty
|
||||||
`publishedScrapeTargets` jobs, so it still receives and still scrapes its own
|
one it loads the config without the `publishedScrapeTargets` jobs, so it still
|
||||||
loopback targets, but asks authelia for no token. The prometheus receiver reads
|
receives and still scrapes its own loopback targets, but asks authelia for no
|
||||||
the secret file on every scrape and requests a token even when it's empty. One
|
token. The prometheus receiver reads the secret file on every scrape and
|
||||||
refused request per published target per minute would drain the token
|
requests a token even when it's empty. One refused request per published
|
||||||
endpoint's per-address rate limit and make authelia answer 429 to every other
|
target per minute would drain the token endpoint's per-address rate limit and
|
||||||
client of that address. The exporters already refuse an empty secret without
|
make authelia answer 429 to every other client of that address. The exporters
|
||||||
sending anything. When `swarm-bao-otel-oidc.service` writes the secret it
|
already refuse an empty secret without sending anything. When
|
||||||
restarts the running collector, and the restart loads the full config.
|
`swarm-bao-otel-oidc.service` writes the secret it restarts the running
|
||||||
|
collector, and the restart loads the full config.
|
||||||
|
|
||||||
⚠️ **A collector with no store identity isn't refused.** Unlike Grafana,
|
⚠️ **A collector with no store identity isn't refused.** Unlike Grafana,
|
||||||
where an absent OIDC block is a container with no way in at all, a collector
|
where an absent OIDC block is a container with no way in at all, a collector
|
||||||
|
|
@ -126,12 +127,12 @@ service's_ own credential rather than a hive's. It has exactly
|
||||||
one delivery route: `swarm-bao-grafana-oidc.service` reads
|
one delivery route: `swarm-bao-grafana-oidc.service` reads
|
||||||
`swarm/services/<client-id>/oidc/client` out of the store, on **every** host
|
`swarm/services/<client-id>/oidc/client` out of the store, on **every** host
|
||||||
that runs Grafana. Where authelia is doesn't enter into it — the mint in
|
that runs Grafana. Where authelia is doesn't enter into it — the mint in
|
||||||
authelia's container writes that path whether the reader is a network away or in the
|
authelia's container writes that path whether the reader is a network away or
|
||||||
container next door. On a fresh swarm the mint writes it a moment after the
|
in the container next door. On a fresh swarm the mint writes it a moment after
|
||||||
reader's first attempt, so a read that finds no value yet fails and the unit
|
the reader's first attempt, so a read that finds no value yet fails and the
|
||||||
asks again every 30 seconds until the value is there, as the forge's and the
|
unit asks again every 30 seconds until the value is there, as the forge's and
|
||||||
homeserver's do. A unit that finished there would wait for its refresh timer,
|
the homeserver's do. A unit that finished there would wait for its refresh
|
||||||
about ten minutes on.
|
timer, about ten minutes on.
|
||||||
|
|
||||||
That's a deliberate refusal of the shortcut. Copying the plaintext
|
That's a deliberate refusal of the shortcut. Copying the plaintext
|
||||||
straight out of authelia's tree when the two happen to share a host is one
|
straight out of authelia's tree when the two happen to share a host is one
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue