20 lines
392 B
YAML
20 lines
392 B
YAML
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: longhorn-frontend
|
||
|
namespace: longhorn-system
|
||
|
labels:
|
||
|
app.kubernetes.io/name: longhorn-ui
|
||
|
spec:
|
||
|
rules:
|
||
|
- host: ${LONGHORN_EXTERNAL_HOST}
|
||
|
http:
|
||
|
paths:
|
||
|
- path: /
|
||
|
pathType: Prefix
|
||
|
backend:
|
||
|
service:
|
||
|
name: longhorn-frontend
|
||
|
port:
|
||
|
name: http
|