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 +