fixture: give otelNoIdentity a hand-delivered forge SSO secret
otelNoIdentity points swarm.authelia.url at a remote authelia while deploy.authelia.enable stays false, so ssoLocal is false and nothing mkDefaults the forge's deploy.forgejo.sso.clientSecretFile. The forge module's config is gated only on services.hyperhive.enable (there is no deploy.forgejo.enable to opt out of), so its SSO assertion fired against every fixture that lacks the secret — entirely orthogonal to what this fixture tests. Supply the by-hand path, mirroring otelRemoteAuthelia's own hand-delivered secret. The swarm.otel.journaldUnits = [ "nginx" ] line added in the previous commit targeted an assertion that was never firing: journaldUnits already defaults non-empty, so the effective list just contained "nginx" twice. Removed as redundant. Refs #4374
This commit is contained in:
parent
30b9955ad3
commit
065f93f037
1 changed files with 1 additions and 1 deletions
|
|
@ -533,7 +533,7 @@ let
|
|||
otelNoIdentity = hive {
|
||||
deploy.swarm-otel.enable = true;
|
||||
swarm.authelia.url = "https://auth.example.invalid";
|
||||
swarm.otel.journaldUnits = [ "nginx" ];
|
||||
deploy.forgejo.sso.clientSecretFile = "/var/lib/forgejo-oidc/by-hand.secret";
|
||||
};
|
||||
|
||||
# authelia somewhere else, the credential delivered by hand. Whether this
|
||||
|
|
|
|||
Loading…
Reference in a new issue