More ingress

This commit is contained in:
Simen Røstvik 2022-12-06 00:09:54 +01:00
parent 5f7495817d
commit 9ee76633bf

View File

@ -14,6 +14,7 @@ spec:
chart: longhorn
helm:
values: |
persistence:
defaultClassReplicaCount: 2
@ -30,6 +31,17 @@ spec:
operator: "Exists"
- key: "node-role.kubernetes.io/master"
operator: "Exists"
ingress:
enabled: true
ingressClassName: traefik
annotations:
cert-manager.io/acme-challenge-type: dns01
cert-manager.io/cluster-issuer: roxedus.com-cloudflare
host: longhorn.roxedus.com
tls: true
tlsSecret: longhorn-roxedus-com-cert
repoURL: https://charts.longhorn.io
targetRevision: 1.3.2
@ -38,23 +50,4 @@ spec:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: longhorn-traefik
namespace: longhorn-system
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host("longhorn.roxedus.com")
priority: 10
services:
- name: longhorn-frontend
port: 80
tls:
certResolver: cloudflare
- CreateNamespace=true