Configuration
Add to the ConfigMapoverleaf-env and restart:
30-config.yaml (additions)
Quote the numbers: a ConfigMap only holds strings.
Several replicas
Nothing extra: every replica reads the same ConfigMap.Tested on Kubernetes
On Kubernetes 1.37 with one replica,OVERLEAF_PASSWORD_VALIDATION_MIN_LENGTH: "12" and OVERLEAF_PASSWORD_VALIDATION_PATTERN: aA$3 in the ConfigMap, activating a new account refused a 10-character password and accepted a 20-character password of lowercase letters only, which the pattern would have refused. Our end-to-end tests for registration also refuse 123456 as too short with the defaults.
