Argo/apps/templates/longhorn.yaml

45 lines
1.1 KiB
YAML
Raw Normal View History

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 20:47:31 +02:00
service:
ui:
type: NodePort
2022-07-02 21:53:28 +02:00
nodePort: 32304
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
targetRevision: 1.3.0
2022-07-02 20:15:22 +02:00
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true