Argo/apps/templates/longhorn.yaml

59 lines
1.6 KiB
YAML
Raw Normal View History

2022-12-15 10:25:34 +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:
2022-12-15 10:38:33 +01:00
#chart: longhorn
2022-12-15 10:25:34 +01:00
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"
2022-12-15 14:10:52 +01:00
ingress:
enabled: true
ingressClassName: traefik
secureBackends: true
annotations:
cert-manager.io/acme-challenge-type: dns01
cert-manager.io/cluster-issuer: roxedus.com-cloudflare
2022-12-15 14:39:52 +01:00
# traefik.ingress.kubernetes.io/router.middlewares: authentik-ak-outpost-localcluster@kubernetescrd
2022-12-15 14:10:52 +01:00
traefik.ingress.kubernetes.io/router.priority: "1"
host: longhorn.roxedus.com
tls: true
tlsSecret: longhorn-roxedus-com-cert
2022-12-15 10:25:34 +01:00
#repoURL: https://charts.longhorn.io
targetRevision: v1.4.0-rc3
2022-12-15 10:38:33 +01:00
repoURL: https://github.com/longhorn/longhorn
path: chart
2022-12-15 10:25:34 +01:00
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true