oliver-zehentleitner / maity
admin: read-only overview of instance switches (firewall, sealing, every config switch) in Admin → Instance
tsk-f87sx61wbfdj Done An agent
Wish from Oliver (2026-11-15): an instance admin should see in the admin area, at a glance, how the hub is configured, and not only in the startup log. Today the agent firewall and verifier sealing state show up only in the log at start.
Scope
A read-only overview in instance administration (Admin → Instance), plus the admin endpoint behind it:
- Every operator switch set by environment or Helm: at least
MAITY_AGENT_FIREWALL,MAITY_SEAL_VERIFIERS, public pages, and every other on/off or mode setting inconfig.py. Each shows its value and where it came from (environment / default). - Secrets never appear. A key or password shows only "set" / "not set" (e.g.
MAITY_SECRET_KEY). - Version and schema head (alembic) on the same page.
- Nothing can be switched there; the page says how each one is changed (environment / Helm value), with a link to docs.
Rules
- Contract first: the new admin route and its fields in docs/api.md (§ instance administration), then hub, then web (catalog en + de).
- New settings later must appear there too: a test that fails when
config.pyhas a switch that the overview leaves out (or an explicit, commented exclusion list). - docs/humans.md (admin section) in the same PR.
- No migration.