More ingress
This commit is contained in:
parent
5f7495817d
commit
9ee76633bf
@ -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
|
Loading…
Reference in New Issue
Block a user