Configuration
Add the switches you need to the ConfigMapoverleaf-env:
30-config.yaml (additions)
@ must be quoted in YAML, otherwise kubectl apply rejects the file.
Registration limited to domains sends an activation email, so Email delivery must work from the pods: put the SMTP host into the ConfigMap and OVERLEAF_EMAIL_SMTP_PASS into the Secret.
Several replicas
Nothing extra. A guest’s access to a project is kept in the session in Redis, so the editor works on whichever replica the load balancer picks.Tested on Kubernetes
On Kubernetes 1.37, our end-to-end tests for public access pass: on one replica, self-registration withOVERLEAF_ALLOW_PUBLIC_REGISTRATION set to true, to one domain, to several domains with a subdomain wildcard and to @*, with the activation email for the domain modes (43 cases); signed-out visitors on /devs and a posted snippet kept through the login with OVERLEAF_ALLOW_PUBLIC_ACCESS (2 cases); a signed-out guest in a link-shared project with both switches on (3 cases); and on three replicas behind HAProxy, OIDC together with public access (1 case).
