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
|
2020-05-04 13:29:21 +00:00
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: {{ .Chart.Name }}-localVolumeProvisioner
|
|
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
|
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
|
|
app.kubernetes.io/part-of: kubezero
|
2020-05-01 13:57:31 +00:00
|
|
|
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 }}
|