Argo/apps/templates/longhorn.yaml

56 lines
1.5 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: |
2022-12-06 00:09:54 +01:00
2022-11-11 13:11:52 +01:00
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-06 00:09:54 +01:00
ingress:
enabled: true
ingressClassName: traefik
2022-12-06 00:59:49 +01:00
secureBackends: true
2022-12-06 00:09:54 +01:00
annotations:
cert-manager.io/acme-challenge-type: dns01
cert-manager.io/cluster-issuer: roxedus.com-cloudflare
2022-12-06 02:18:53 +01:00
traefik.ingress.kubernetes.io/router.middlewares: authentik-ak-outpost-localcluster@kubernetescrd
2022-12-06 01:22:34 +01:00
traefik.ingress.kubernetes.io/router.priority: "1"
2022-12-06 00:09:54 +01:00
host: longhorn.roxedus.com
tls: true
tlsSecret: longhorn-roxedus-com-cert
2022-11-11 13:11:52 +01:00
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-12-06 00:09:54 +01:00
- CreateNamespace=true