From 2a4b9f64bcf88efca4e01d9c125698fc2f51d239 Mon Sep 17 00:00:00 2001 From: Steffen Illium Date: Tue, 26 Mar 2024 19:04:20 +0100 Subject: [PATCH] longhorn and routes --- .../04-longhorn/base/longhorn-ui-ingress.yaml | 16 ++++++++++++++++ infrastructure/04-longhorn/kustomization.yaml | 15 +++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 infrastructure/04-longhorn/base/longhorn-ui-ingress.yaml create mode 100644 infrastructure/04-longhorn/kustomization.yaml diff --git a/infrastructure/04-longhorn/base/longhorn-ui-ingress.yaml b/infrastructure/04-longhorn/base/longhorn-ui-ingress.yaml new file mode 100644 index 0000000..d9dcb8b --- /dev/null +++ b/infrastructure/04-longhorn/base/longhorn-ui-ingress.yaml @@ -0,0 +1,16 @@ +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + name: longhorn-ui +spec: + entryPoints: + - web + - websecure + routes: + - match: Host(`longhorn.steffenillium.de`) + kind: Rule + services: + - name: ui + port: 80 + tls: + certResolver: default diff --git a/infrastructure/04-longhorn/kustomization.yaml b/infrastructure/04-longhorn/kustomization.yaml new file mode 100644 index 0000000..d949e00 --- /dev/null +++ b/infrastructure/04-longhorn/kustomization.yaml @@ -0,0 +1,15 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +namespace: longhorn-system + +resources: +- base/longhorn-ui-ingress.yaml + +helmCharts: +- name: longhorn + includeCRDs: true + version: 1.5.4 + repo: https://charts.longhorn.io + # valuesFile: base/values.yaml +