cluster-manifests/longhorn/longhorn-ingress.yaml

26 lines
685 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: longhorn-ui-ingress
namespace: longhorn-system # Deployed straight into the native longhorn space
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-production"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
spec:
ingressClassName: nginx
tls:
- secretName: longhorn-tls-secret
hosts:
- storage.needlestack.boo
rules:
- host: storage.needlestack.boo
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: longhorn-frontend # Routes traffic to the dashboard portal
port:
number: 80