K3s-cluster/longhorn/ingress.yaml

25 lines
596 B
YAML
Raw Normal View History

2022-06-24 18:43:24 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: longhorn-frontend
namespace: longhorn-system
annotations:
kubernetes.io/ingress.class: "traefik-inter"
2022-06-24 18:43:24 +00:00
spec:
tls:
- secretName: longhorn-beta-tls
hosts:
- longhorn.beta.entos
2022-06-24 18:43:24 +00:00
rules:
- host: longhorn.beta.entos
2022-06-24 18:43:24 +00:00
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: longhorn-frontend
port:
number: 80