read the publisher in authelia's container in the ci-metrics eval and error text
This commit is contained in:
parent
b68a8ef290
commit
126101d304
2 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ let
|
||||||
&& c.kind == "machine"
|
&& c.kind == "machine"
|
||||||
&& c.audience == [ clientId ]
|
&& c.audience == [ clientId ]
|
||||||
&& lib.hasInfix "secret/swarm/services/${clientId}/oidc/client" (
|
&& lib.hasInfix "secret/swarm/services/${clientId}/oidc/client" (
|
||||||
allLocal.systemd.services.swarm-secret-publish.script
|
allLocal.containers.swarm-authelia.config.systemd.services.swarm-secret-publish.script
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -258,7 +258,7 @@ async fn client_secret(client_id: &str) -> Result<String> {
|
||||||
match stored {
|
match stored {
|
||||||
Some(s) if !s.value.trim().is_empty() => Ok(s.value.trim().to_owned()),
|
Some(s) if !s.value.trim().is_empty() => Ok(s.value.trim().to_owned()),
|
||||||
_ => bail!(
|
_ => bail!(
|
||||||
"nothing at {path}: swarm-secret-publish, on the host that runs authelia, has not \
|
"nothing at {path}: swarm-secret-publish, in authelia's container, has not \
|
||||||
published this service's client secret"
|
published this service's client secret"
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue