Tiered LDAP groups

This commit is contained in:
2026-10-29 14:24:47 -04:00
parent 4c1174df19
commit a56eec0b1c
9 changed files with 142 additions and 2 deletions
+1
View File
@@ -15,6 +15,7 @@ metadata:
namespace: {{ www_namespace }}
data:
tiers.json: {{ www_membership_tiers | to_json | to_json }}
service-groups.json: {{ www_membership_service_groups | to_json | to_json }}
---
# Only Apache may assert the trusted proxy headers to the membership service.
# Requires a CNI which actually enforces NetworkPolicy.
+4
View File
@@ -14,6 +14,10 @@ ProxyPassReverse "/members/" "http://membership:8000/members/"
Require all denied
</If>
</Location>
<Location "/members/profile/">
# Bounded JPEG upload plus multipart overhead; other routes remain 256 KiB.
LimitRequestBody 2097152
</Location>
{% else %}
# Membership proxy disabled. Existing stateful workloads are not deleted.
<Location "/members/">
+2 -1
View File
@@ -152,7 +152,8 @@ metadata:
# Redact email verification tokens and OIDC codes at the edge, not only in
# Apache/Gunicorn. Do not enable request-body/error tracing for /members/.
nginx.ingress.kubernetes.io/enable-access-log: "false"
nginx.ingress.kubernetes.io/proxy-body-size: "256k"
# Apache retains 256 KiB for non-profile member routes.
nginx.ingress.kubernetes.io/proxy-body-size: "2m"
nginx.ingress.kubernetes.io/proxy-read-timeout: "120"
spec:
ingressClassName: {{ www_ingress_class }}