More ingress
This commit is contained in:
parent
cceaf42437
commit
6d411528dd
@ -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
|
||||
|
||||
@ -39,22 +51,3 @@ spec:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user