Argo/apps/templates/longhorn.yaml

59 lines
1.3 KiB
YAML
Raw Normal View History

2022-11-11 13:11:52 +01:00
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
2022-11-15 13:07:59 +01:00
targetRevision: 1.3.2
2022-11-11 13:11:52 +01:00
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
2022-11-15 13:38:58 +01:00
- CreateNamespace=true
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
2022-11-15 13:44:45 +01:00
name: longhorn-traefik
2022-11-15 13:38:58 +01:00
namespace: longhorn-system
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host("longhorn.roxedus.com")
priority: 10
services:
2022-11-15 13:44:45 +01:00
- name: longhorn-frontend
2022-11-15 13:38:58 +01:00
port: 80