Argo/apps/templates/longhorn.yaml
2022-07-02 21:24:19 +02:00

44 lines
1016 B
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
service:
ui:
type: NodePort
longhornManager:
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Equal"
value: "value"
effect: "NoSchedule"
longhornDriver:
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Equal"
value: "value"
effect: "NoSchedule"
repoURL: https://charts.longhorn.io
targetRevision: 1.3.0
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true