From 43e8490725150ab1e638d6b14885efca0a6193ffe247eb956527fa4771fcbcbe Mon Sep 17 00:00:00 2001 From: Maxime TEYSSIER Date: Thu, 26 Feb 2026 15:40:55 +0100 Subject: [PATCH] Add simple longhorn config file deployed on homelab --- longhorn.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 longhorn.yaml diff --git a/longhorn.yaml b/longhorn.yaml new file mode 100644 index 0000000..19373b7 --- /dev/null +++ b/longhorn.yaml @@ -0,0 +1,25 @@ +# kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.7.2/deploy/longhorn.yaml +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: longhorn-ingress + namespace: longhorn-system + annotations: + cert-manager.io/cluster-issuer: "step-ca-issuer" # On dit à cert-manager d'utiliser ton émetteur Step-CA + traefik.ingress.kubernetes.io/router.entrypoints: websecure +spec: + tls: + - hosts: + - longhorn.teyssier.lan + secretName: longhorn-tls # On réutilise ton certif s'il est ClusterWide ou on en génère un + rules: + - host: longhorn.teyssier.lan + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: longhorn-frontend + port: + number: 80