prole/deploy/opentofu/k3s/manifests/knoe/oauth2-proxy-externalname.yaml
chrisfu 08f0f0cb74 feat(k3s): add ExternalName service for oauth2-proxy in knoe-system
Traefik ingress (svc-knoe-ingress) routes db.prole.org to
service/oauth2-proxy:80 in knoe-system. oauth2-proxy itself runs in
supabase namespace, so this ExternalName alias bridges the gap.
2026-05-06 17:41:31 -04:00

15 lines
463 B
YAML

# ExternalName service so the Traefik ingress in knoe-system can route
# db.prole.org to oauth2-proxy running in the supabase namespace.
# The ingress references service/oauth2-proxy:80 in knoe-system; this
# alias resolves to oauth2-proxy.supabase.svc.cluster.local:80.
apiVersion: v1
kind: Service
metadata:
name: oauth2-proxy
namespace: knoe-system
spec:
type: ExternalName
externalName: oauth2-proxy.supabase.svc.cluster.local
ports:
- port: 80