23 lines
446 B
YAML
23 lines
446 B
YAML
|
|
# infrastructure/longhorn/ui-ingress/middleware.yaml
|
||
|
|
apiVersion: traefik.io/v1alpha1
|
||
|
|
kind: Middleware
|
||
|
|
metadata:
|
||
|
|
name: longhorn-basicauth
|
||
|
|
namespace: longhorn-system
|
||
|
|
spec:
|
||
|
|
basicAuth:
|
||
|
|
secret: longhorn-basic-auth
|
||
|
|
realm: "Longhorn Dashboard"
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
apiVersion: traefik.io/v1alpha1
|
||
|
|
kind: Middleware
|
||
|
|
metadata:
|
||
|
|
name: longhorn-headers
|
||
|
|
namespace: longhorn-system
|
||
|
|
spec:
|
||
|
|
headers:
|
||
|
|
customRequestHeaders:
|
||
|
|
X-Forwarded-Proto: "https"
|