Argo/apps/templates/longhorn.yaml
Simen Røstvik 50204bf215
tls
2022-11-15 13:57:48 +01:00

61 lines
1.3 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: longhorn
namespace: argo-cd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
server: https://kubernetes.default.svc
namespace: longhorn-system
project: default
source:
chart: longhorn
helm:
values: |
persistence:
defaultClassReplicaCount: 2
longhornManager:
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
- key: "node-role.kubernetes.io/master"
operator: "Exists"
longhornDriver:
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
- key: "node-role.kubernetes.io/master"
operator: "Exists"
repoURL: https://charts.longhorn.io
targetRevision: 1.3.2
syncPolicy:
automated:
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