2022-07-02 20:15:22 +02: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:
|
2022-07-02 20:17:40 +02:00
|
|
|
values: |
|
2022-07-02 20:15:22 +02:00
|
|
|
persistence:
|
2022-07-02 21:24:19 +02:00
|
|
|
defaultClassReplicaCount: 2
|
2022-07-02 21:21:30 +02:00
|
|
|
|
|
|
|
longhornManager:
|
|
|
|
tolerations:
|
2022-07-02 21:51:24 +02:00
|
|
|
- key: "node-role.kubernetes.io/control-plane"
|
|
|
|
operator: "Exists"
|
|
|
|
- key: "node-role.kubernetes.io/master"
|
|
|
|
operator: "Exists"
|
2022-07-02 21:21:30 +02:00
|
|
|
|
|
|
|
longhornDriver:
|
|
|
|
tolerations:
|
2022-07-02 21:51:24 +02:00
|
|
|
- key: "node-role.kubernetes.io/control-plane"
|
|
|
|
operator: "Exists"
|
|
|
|
- key: "node-role.kubernetes.io/master"
|
|
|
|
operator: "Exists"
|
2022-07-02 20:17:40 +02:00
|
|
|
repoURL: https://charts.longhorn.io
|
2022-11-15 13:07:59 +01:00
|
|
|
targetRevision: 1.3.2
|
2022-07-02 20:17:40 +02:00
|
|
|
|
2022-07-02 20:15:22 +02: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
|
2022-11-15 13:57:48 +01:00
|
|
|
tls:
|
|
|
|
certResolver: cloudflare
|