add authelia as a stub operator ancilliary node, mirroring garage #910

Merged
kiara merged 2 commits from kiara/fediversity:ancilliary-authelia into main 2026-05-06 23:34:50 +02:00
Owner

Wires authelia symmetrically with garage: adds a resources.authelia module with request/policy/resource-type structure, an ancilliaryRequests.authelia collection field in hosts-common.nix, an app == "authelia" dispatch branch, a placeholder machine entry in operator group, and an application module so the per-app loop reaches it. Concrete OIDC/forward-auth semantics are out of scope (stubbed with TODOs); the new operator-authelia NixOS config materializes and deployment-nixos-hosts passes unchanged.

while this is just a modest start to #212, for now it would at least unblock moving garage to hosting-provider (#187).

Wires `authelia` symmetrically with `garage`: adds a `resources.authelia` module with `request`/`policy`/`resource-type` structure, an `ancilliaryRequests.authelia` collection field in `hosts-common.nix`, an `app == "authelia"` dispatch branch, a placeholder machine entry in `operator` group, and an application module so the per-app loop reaches it. Concrete OIDC/forward-auth semantics are out of scope (stubbed with TODOs); the new `operator-authelia` NixOS config materializes and `deployment-nixos-hosts` passes unchanged. while this is just a modest start to #212, for now it would at least unblock moving garage to `hosting-provider` (#187).
kiara force-pushed ancilliary-authelia from c3951754f4
Some checks failed
nix-unit-lib-lib / lib-lib (pull_request) Waiting to run
nixosConfigurations-dev-combined / dev-combined (pull_request) Waiting to run
nixosConfigurations-dev-forgejo-actions-runner / dev-forgejo-actions-runner (pull_request) Waiting to run
nixosConfigurations-dev-forgejo / dev-forgejo (pull_request) Waiting to run
nixosConfigurations-hosting-provider-combined / hosting-provider-combined (pull_request) Waiting to run
nixosConfigurations-hosting-provider-incus / hosting-provider-incus (pull_request) Waiting to run
nixosConfigurations-hosting-provider-netbox / hosting-provider-netbox (pull_request) Waiting to run
nixosConfigurations-hosting-provider-openbao / hosting-provider-openbao (pull_request) Waiting to run
nixosConfigurations-hosting-provider-panel / hosting-provider-panel (pull_request) Waiting to run
nixosConfigurations-hosting-provider-terraform-backend / hosting-provider-terraform-backend (pull_request) Waiting to run
nixosConfigurations-operator-authelia / operator-authelia (pull_request) Waiting to run
nixosConfigurations-operator-combined / operator-combined (pull_request) Waiting to run
nixosConfigurations-operator-garage / operator-garage (pull_request) Waiting to run
nixosConfigurations-operator-mastodon / operator-mastodon (pull_request) Waiting to run
nixosConfigurations-operator-peertube / operator-peertube (pull_request) Waiting to run
nixosConfigurations-operator-pixelfed / operator-pixelfed (pull_request) Waiting to run
Nix flake completeness check / _complete (pull_request) Failing after 7s
checks-apps-panel / apps-panel (pull_request) Failing after 8s
checks-apps-tf / apps-tf (pull_request) Failing after 11s
checks-deployment-nixos-hosts / deployment-nixos-hosts (pull_request) Successful in 10s
checks-apps-tf-incus / apps-tf-incus (pull_request) Failing after 17s
checks-pre-commit / pre-commit (pull_request) Successful in 6s
checks-test-mastodon-service / test-mastodon-service (pull_request) Failing after 3s
checks-test-peertube-service / test-peertube-service (pull_request) Failing after 3s
checks-test-pixelfed-service / test-pixelfed-service (pull_request) Failing after 3s
devShells-default / default (pull_request) Successful in 6s
flake-show / apps-ssh (pull_request) Successful in 31s
nix-unit-effects-common-lib / effects-common-lib (pull_request) Successful in 8s
nix-unit-effects-tf-common-conversion / effects-tf-common-conversion (pull_request) Successful in 7s
checks-deployment-ssh-hosts / deployment-ssh-hosts (pull_request) Successful in 1m35s
checks-deployment-tf-incus-hosts / deployment-tf-incus-hosts (pull_request) Has been cancelled
checks-deployment-tf-hosts / deployment-tf-hosts (pull_request) Has been cancelled
nix-unit-lib-function / lib-function (pull_request) Has been cancelled
nix-unit-lib-data-model / lib-data-model (pull_request) Has been cancelled
to de39efe9d3
Some checks failed
checks-apps-panel / apps-panel (pull_request) Failing after 8s
Nix flake completeness check / _complete (pull_request) Successful in 9s
checks-apps-tf-incus / apps-tf-incus (pull_request) Failing after 19s
checks-apps-tf / apps-tf (pull_request) Failing after 11s
checks-deployment-nixos-hosts / deployment-nixos-hosts (pull_request) Successful in 11s
checks-pre-commit / pre-commit (pull_request) Successful in 5s
checks-test-mastodon-service / test-mastodon-service (pull_request) Failing after 3s
checks-test-peertube-service / test-peertube-service (pull_request) Failing after 3s
checks-test-pixelfed-service / test-pixelfed-service (pull_request) Failing after 3s
devShells-default / default (pull_request) Successful in 6s
flake-show / apps-ssh (pull_request) Successful in 31s
nix-unit-effects-common-lib / effects-common-lib (pull_request) Successful in 7s
nix-unit-effects-tf-common-conversion / effects-tf-common-conversion (pull_request) Successful in 7s
nix-unit-lib-data-model / lib-data-model (pull_request) Successful in 7s
nix-unit-lib-function / lib-function (pull_request) Successful in 7s
checks-deployment-ssh-hosts / deployment-ssh-hosts (pull_request) Successful in 1m37s
nix-unit-lib-lib / lib-lib (pull_request) Successful in 7s
nixosConfigurations-dev-combined / dev-combined (pull_request) Failing after 2s
nixosConfigurations-dev-forgejo-actions-runner / dev-forgejo-actions-runner (pull_request) Failing after 2s
nixosConfigurations-dev-forgejo / dev-forgejo (pull_request) Failing after 2s
nixosConfigurations-hosting-provider-combined / hosting-provider-combined (pull_request) Failing after 2s
nixosConfigurations-hosting-provider-incus / hosting-provider-incus (pull_request) Failing after 2s
nixosConfigurations-hosting-provider-netbox / hosting-provider-netbox (pull_request) Failing after 2s
nixosConfigurations-hosting-provider-openbao / hosting-provider-openbao (pull_request) Failing after 2s
nixosConfigurations-hosting-provider-panel / hosting-provider-panel (pull_request) Failing after 2s
nixosConfigurations-hosting-provider-terraform-backend / hosting-provider-terraform-backend (pull_request) Failing after 2s
nixosConfigurations-operator-authelia / operator-authelia (pull_request) Failing after 2s
nixosConfigurations-operator-combined / operator-combined (pull_request) Failing after 2s
nixosConfigurations-operator-garage / operator-garage (pull_request) Failing after 2s
nixosConfigurations-operator-mastodon / operator-mastodon (pull_request) Failing after 2s
nixosConfigurations-operator-peertube / operator-peertube (pull_request) Failing after 2s
nixosConfigurations-operator-pixelfed / operator-pixelfed (pull_request) Failing after 2s
checks-deployment-tf-hosts / deployment-tf-hosts (pull_request) Successful in 2m28s
checks-deployment-tf-incus-hosts / deployment-tf-incus-hosts (pull_request) Successful in 9m2s
2026-05-06 23:11:30 +02:00
Compare
fix: use separate resource namespace for authelia policy
All checks were successful
Nix flake completeness check / _complete (pull_request) Successful in 28s
checks-deployment-nixos-hosts / deployment-nixos-hosts (pull_request) Successful in 13s
checks-deployment-ssh-hosts / deployment-ssh-hosts (pull_request) Successful in 1m42s
checks-pre-commit / pre-commit (pull_request) Successful in 6s
checks-test-mastodon-service / test-mastodon-service (pull_request) Successful in 8s
checks-test-peertube-service / test-peertube-service (pull_request) Successful in 9s
checks-test-pixelfed-service / test-pixelfed-service (pull_request) Successful in 9s
devShells-default / default (pull_request) Successful in 7s
flake-show / apps-ssh (pull_request) Successful in 35s
nix-unit-effects-common-lib / effects-common-lib (pull_request) Successful in 9s
nix-unit-effects-tf-common-conversion / effects-tf-common-conversion (pull_request) Successful in 8s
nix-unit-lib-data-model / lib-data-model (pull_request) Successful in 8s
nix-unit-lib-function / lib-function (pull_request) Successful in 8s
checks-deployment-tf-hosts / deployment-tf-hosts (pull_request) Successful in 2m39s
nixosConfigurations-dev-combined / dev-combined (pull_request) Successful in 2s
nix-unit-lib-lib / lib-lib (pull_request) Successful in 7s
nixosConfigurations-dev-forgejo-actions-runner / dev-forgejo-actions-runner (pull_request) Successful in 2s
nixosConfigurations-dev-forgejo / dev-forgejo (pull_request) Successful in 2s
nixosConfigurations-hosting-provider-combined / hosting-provider-combined (pull_request) Successful in 2s
nixosConfigurations-hosting-provider-incus / hosting-provider-incus (pull_request) Successful in 2s
nixosConfigurations-hosting-provider-netbox / hosting-provider-netbox (pull_request) Successful in 2s
nixosConfigurations-hosting-provider-openbao / hosting-provider-openbao (pull_request) Successful in 2s
nixosConfigurations-hosting-provider-panel / hosting-provider-panel (pull_request) Successful in 2s
nixosConfigurations-hosting-provider-terraform-backend / hosting-provider-terraform-backend (pull_request) Successful in 2s
nixosConfigurations-operator-authelia / operator-authelia (pull_request) Successful in 2s
nixosConfigurations-operator-combined / operator-combined (pull_request) Successful in 2s
nixosConfigurations-operator-garage / operator-garage (pull_request) Successful in 2s
nixosConfigurations-operator-mastodon / operator-mastodon (pull_request) Successful in 2s
nixosConfigurations-operator-peertube / operator-peertube (pull_request) Successful in 2s
nixosConfigurations-operator-pixelfed / operator-pixelfed (pull_request) Successful in 2s
checks-apps-panel / apps-panel (pull_request) Successful in 10m50s
checks-apps-tf / apps-tf (pull_request) Successful in 10m38s
checks-deployment-tf-incus-hosts / deployment-tf-incus-hosts (pull_request) Successful in 9m52s
checks-apps-tf-incus / apps-tf-incus (pull_request) Successful in 24m33s
4c8fab17ed
`attrTag` only accepts a single tag per key, so `"external"` could not
hold both `garage` and `authelia` policies simultaneously. Use a
dedicated `"auth-server"` key for the authelia policy, mirroring how
`"external"` is reserved for garage.

Assisted-by: Claude:claude-sonnet-4-6
kiara merged commit 5e453172ae into main 2026-05-06 23:34:50 +02:00
Sign in to join this conversation.
No reviewers
fediversity/developers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
fediversity/fediversity!910
No description provided.