2020-05-02 22:27:23 +00:00
|
|
|
apiVersion: argoproj.io/v1alpha1
|
|
|
|
kind: Application
|
|
|
|
metadata:
|
|
|
|
name: kubezero
|
|
|
|
namespace: argocd
|
|
|
|
labels:
|
2020-05-19 11:16:22 +00:00
|
|
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
2020-05-02 22:27:23 +00:00
|
|
|
spec:
|
|
|
|
project: kubezero
|
2020-05-05 14:21:09 +00:00
|
|
|
source:
|
2020-06-25 12:52:07 +00:00
|
|
|
repoURL: {{ .Values.kubezero.global.defaultSource.repoURL }}
|
|
|
|
targetRevision: {{ .Values.kubezero.global.defaultSource.targetRevision }}
|
|
|
|
path: {{ .Values.kubezero.global.defaultSource.pathPrefix}}charts/kubezero
|
2020-05-04 11:10:15 +00:00
|
|
|
|
|
|
|
helm:
|
|
|
|
values: |
|
2020-08-20 10:40:08 +00:00
|
|
|
{{- toYaml .Values.kubezero | nindent 8 }}
|
2020-05-04 11:10:15 +00:00
|
|
|
|
2020-05-02 22:27:23 +00:00
|
|
|
destination:
|
2020-06-25 12:52:07 +00:00
|
|
|
server: {{ .Values.kubezero.global.defaultDestination.server }}
|
2020-05-02 22:27:23 +00:00
|
|
|
namespace: argocd
|
2020-08-20 10:40:08 +00:00
|
|
|
|
|
|
|
{{- if .Values.kubezero.global.syncPolicy }}
|
2020-05-02 22:27:23 +00:00
|
|
|
syncPolicy:
|
2020-08-20 10:40:08 +00:00
|
|
|
{{- toYaml .Values.kubezero.global.syncPolicy | nindent 4 }}
|
|
|
|
{{- end }}
|