feat: longhorn ingress
This commit is contained in:
2
nix/homelab/helm/kustomize/kustomization.yaml
Normal file
2
nix/homelab/helm/kustomize/kustomization.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
resources:
|
||||||
|
- ./longhorn/ingress.yaml
|
||||||
18
nix/homelab/helm/kustomize/longhorn/ingress.yaml
Normal file
18
nix/homelab/helm/kustomize/longhorn/ingress.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: longhorn-frontend
|
||||||
|
namespace: longhorn-system
|
||||||
|
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: longhorn.local
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Exact
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: longhorn-frontend
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
@@ -4,8 +4,9 @@ ingress:
|
|||||||
traefik.ingress.kubernetes.io/router.entrypoints: web
|
traefik.ingress.kubernetes.io/router.entrypoints: web
|
||||||
hosts:
|
hosts:
|
||||||
- host: jellyfin.local
|
- host: jellyfin.local
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
media:
|
media:
|
||||||
|
|||||||
Reference in New Issue
Block a user