fix: WOPI registration on restart + Collabora readiness probes

- Add readiness/liveness probes to Collabora (GET /hosting/discovery)
- Add init container to Drive backend that waits for Collabora and runs
  trigger_wopi_configuration on every pod start — fixes WOPI silently
  breaking after server restarts (chart Job only ran on sunbeam apply)
- Add OIDC_RESPONSE_MODE=query to Projects config
This commit is contained in:
2026-03-24 12:22:10 +00:00
parent 5e622ce316
commit 1147b1a5aa
5 changed files with 135 additions and 14 deletions

View File

@@ -16,6 +16,10 @@ data:
OIDC_IGNORE_ROLES: "true"
OIDC_ADMIN_ROLES: "*"
OIDC_FULLNAME_ATTRIBUTES: "given_name,family_name"
# Planka defaults to response_mode=fragment, which returns the auth code in the
# URL hash (#code=...). The SPA callback handler doesn't parse fragments correctly,
# causing a silent auth loop. Use query mode so the code comes as ?code=...
OIDC_RESPONSE_MODE: "query"
# S3 file storage via SeaweedFS
S3_ENDPOINT: "http://seaweedfs-filer.storage.svc.cluster.local:8333"