generated from coulomb/repo-seed
Traefik 2.10 (K3s 1.30 bundle) requires ipWhiteList, not ipAllowList. Updated both middleware files and clarified comments to match cluster version. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
717 B
YAML
26 lines
717 B
YAML
# Traefik Middleware for LLDAP web UI (namespace: sso)
|
|
#
|
|
# The LLDAP web UI is admin-only and must never be accessible from the internet.
|
|
# This middleware restricts access to VPN/office IPs.
|
|
#
|
|
# Middleware name referenced in ingress.yaml:
|
|
# sso-lldap-admin-allowlist@kubernetescrd
|
|
#
|
|
# ADJUST sourceRange to your actual VPN / office CIDR(s) before going live.
|
|
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: lldap-admin-allowlist
|
|
namespace: sso
|
|
labels:
|
|
app.kubernetes.io/part-of: net-kingdom-sso-mfa
|
|
net-kingdom/component: sso
|
|
spec:
|
|
ipWhiteList:
|
|
# EDIT: replace with your VPN/office CIDRs.
|
|
sourceRange:
|
|
- "10.0.0.0/8"
|
|
- "172.16.0.0/12"
|
|
- "192.168.0.0/16"
|