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 chart: longhorn
helm: helm:
values: | values: |
persistence: persistence:
defaultClassReplicaCount: 2 defaultClassReplicaCount: 2
@ -30,6 +31,17 @@ spec:
operator: "Exists" operator: "Exists"
- key: "node-role.kubernetes.io/master" - key: "node-role.kubernetes.io/master"
operator: "Exists" 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 repoURL: https://charts.longhorn.io
targetRevision: 1.3.2 targetRevision: 1.3.2
@ -39,22 +51,3 @@ spec:
selfHeal: true selfHeal: true
syncOptions: syncOptions:
- CreateNamespace=true - 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