45 lines
1.1 KiB
YAML
45 lines
1.1 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
|
|
#service:
|
|
#ui:
|
|
#type: NodePort
|
|
#nodePort: 32304
|
|
|
|
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"
|
|
repoURL: https://charts.longhorn.io
|
|
targetRevision: 1.3.0
|
|
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true |