Files
infra-prod/deploy/longhorn/oauth2-proxy-longhorn-ingress.yaml
2025-03-31 01:09:51 +02:00

25 lines
620 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: longhorn-ingress
namespace: longhorn-system
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- longhorn.prod.panic.haus
secretName: longhorn-tls
rules:
- host: longhorn.prod.panic.haus
http:
paths:
- backend:
service:
name: oauth2-proxy-longhorn-service
port:
number: 4180
path: /oauth2
pathType: Prefix