Files
homelab/k8s/sqs/kmsvc-ingress-oauth2.yaml
T

26 lines
530 B
YAML
Raw Normal View History

# Ingress for kmsvc REST API — routes to OAuth2-Proxy
# TLS terminated here; oauth2-proxy handles OIDC auth
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kmsvc
namespace: sqs
spec:
ingressClassName: nginx
tls:
- secretName: kmsvc-tls
hosts:
- kmsvc.riotpiao.homelab.com
rules:
- host: kmsvc.riotpiao.homelab.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: oauth2-proxy
port:
number: 4180