2020-05-01 13:57:31 +00:00
|
|
|
{{- if .Values.localVolumeProvisioner.enabled }}
|
|
|
|
apiVersion: argoproj.io/v1alpha1
|
|
|
|
kind: Application
|
|
|
|
metadata:
|
|
|
|
name: local-volume-provisioner
|
|
|
|
namespace: argocd
|
|
|
|
finalizers:
|
|
|
|
- resources-finalizer.argocd.argoproj.io
|
|
|
|
spec:
|
|
|
|
project: kubezero
|
|
|
|
|
|
|
|
source:
|
2020-05-04 11:10:15 +00:00
|
|
|
repoURL: {{ default .Values.defaultSource.repoURL }}
|
|
|
|
targetRevision: {{ default .Values.defaultSource.targetRevision }}
|
2020-05-04 11:21:17 +00:00
|
|
|
path: {{ default .Values.defaultSource.pathPrefix }}artifacts/local-volume-provisioner
|
2020-05-01 13:57:31 +00:00
|
|
|
|
|
|
|
destination:
|
2020-05-04 11:10:15 +00:00
|
|
|
server: {{ default .Values.defaultDestination.server }}
|
2020-05-01 13:57:31 +00:00
|
|
|
namespace: kube-system
|
|
|
|
{{- end }}
|