Argo/apps/templates/longhorn.yaml
Simen Røstvik 14518260cd RC time?
2023-02-07 09:26:08 +01:00

58 lines
1.6 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"
# ingress:
# enabled: true
# ingressClassName: traefik
# secureBackends: true
# annotations:
# cert-manager.io/acme-challenge-type: dns01
# cert-manager.io/cluster-issuer: roxedus.com-cloudflare
# traefik.ingress.kubernetes.io/router.middlewares: authentik-ak-outpost-localcluster@kubernetescrd
# traefik.ingress.kubernetes.io/router.priority: "1"
# host: longhorn.roxedus.com
# tls: true
# tlsSecret: longhorn-roxedus-com-cert
#repoURL: https://charts.longhorn.io
#targetRevision: v1.4.0-rc1
repoURL: https://github.com/longhorn/longhorn/archive/refs/tags/v1.4.0-rc1.tar.gz
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true