Files
homelab/k8s/temporal/temporal-ingress-oauth2.yaml
T

28 lines
674 B
YAML
Raw Normal View History

# Ingress for Temporal UI — routes to OAuth2-Proxy, which proxies to temporal-web
# TLS terminated here; oauth2-proxy handles OIDC auth before forwarding to backend
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: temporal
namespace: temporal
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
ingressClassName: nginx
tls:
- secretName: temporal-tls
hosts:
- temporal.riotpiao.homelab.com
rules:
- host: temporal.riotpiao.homelab.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: oauth2-proxy
port:
number: 4180