28 lines
724 B
YAML
28 lines
724 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: longhorn-dashboard
|
|
namespace: longhorn-system
|
|
annotations:
|
|
kubernetes.io/ingress.class: nginx
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$escaped_request_uri
|
|
nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth
|
|
spec:
|
|
tls:
|
|
- hosts:
|
|
- longhorn.panic.haus
|
|
secretName: longhorn-tls
|
|
rules:
|
|
- host: longhorn.panic.haus
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: longhorn-frontend
|
|
port:
|
|
number: 80
|
|
|