2020-05-02 22:27:23 +00:00
|
|
|
apiVersion: argoproj.io/v1alpha1
|
|
|
|
kind: Application
|
|
|
|
metadata:
|
|
|
|
name: kubezero
|
|
|
|
namespace: argocd
|
|
|
|
labels:
|
2020-05-05 14:21:09 +00:00
|
|
|
app.kubernetes.io/name: kubezero
|
2020-05-02 22:27:23 +00:00
|
|
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
|
|
spec:
|
|
|
|
project: kubezero
|
2020-05-05 14:21:09 +00:00
|
|
|
source:
|
2020-05-15 09:38:06 +00:00
|
|
|
repoURL: {{ .Values.global.defaultSource.repoURL }}
|
|
|
|
targetRevision: {{ .Values.global.defaultSource.targetRevision }}
|
|
|
|
path: {{ .Values.global.defaultSource.pathPrefix}}charts/kubezero-app
|
2020-05-04 11:10:15 +00:00
|
|
|
|
|
|
|
helm:
|
|
|
|
values: |
|
2020-05-15 10:22:15 +00:00
|
|
|
global:
|
|
|
|
{{- toYaml .Values.global | nindent 10 }}
|
|
|
|
{{- if .Values.kubezero }}
|
2020-05-05 14:21:09 +00:00
|
|
|
{{- toYaml .Values.kubezero | nindent 8 }}
|
2020-05-15 09:38:06 +00:00
|
|
|
{{- end }}
|
2020-05-04 11:10:15 +00:00
|
|
|
|
2020-05-02 22:27:23 +00:00
|
|
|
destination:
|
2020-05-15 09:38:06 +00:00
|
|
|
server: {{ .Values.global.defaultDestination.server }}
|
2020-05-02 22:27:23 +00:00
|
|
|
namespace: argocd
|
|
|
|
syncPolicy:
|
|
|
|
automated:
|
2020-05-04 11:10:15 +00:00
|
|
|
prune: true
|
2020-05-02 22:27:23 +00:00
|
|
|
selfHeal: false
|