feat(wiki): deployable Wiki.js config job (#0049) — headless setup + OIDC + roles

Idempotent GraphQL bootstrap job (verified live): /finalize with the random SOPS
admin, then the OIDC strategy and the groups 'authentik Admins' (full) and
'wiki-anwender' (read /anwender), Guests locked. Replaces the manual setup wizard
entirely. OIDC client_id/secret in a SOPS secret; NetworkPolicy lets the job reach
wikijs. Script as a fixed-name ConfigMap; re-run = delete the Job.
This commit is contained in:
Thore Cimbal
2026-08-12 12:00:00 +00:00
parent 3844f42f1f
commit 026b499d1d
5 changed files with 295 additions and 0 deletions
+3
View File
@@ -377,6 +377,9 @@ spec:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: kube-system
- podSelector:
matchLabels:
app.kubernetes.io/name: wikijs-config # Konfig-Job darf Wiki.js erreichen
ports:
- protocol: TCP
port: http