27 lines
677 B
YAML
27 lines
677 B
YAML
|
apiVersion: argoproj.io/v1alpha1
|
||
|
kind: Application
|
||
|
metadata:
|
||
|
name: kubezero
|
||
|
namespace: argocd
|
||
|
labels:
|
||
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||
|
spec:
|
||
|
project: kubezero
|
||
|
source:
|
||
|
repoURL: {{ .Values.global.defaultSource.repoURL }}
|
||
|
targetRevision: {{ .Values.global.defaultSource.targetRevision }}
|
||
|
path: {{ .Values.global.defaultSource.pathPrefix}}charts/kubezero
|
||
|
|
||
|
helm:
|
||
|
values: |
|
||
|
{{- toYaml .Values | nindent 8 }}
|
||
|
|
||
|
destination:
|
||
|
server: {{ .Values.global.defaultDestination.server }}
|
||
|
namespace: argocd
|
||
|
|
||
|
{{- if .Values.global.syncPolicy }}
|
||
|
syncPolicy:
|
||
|
{{- toYaml .Values.global.syncPolicy | nindent 4 }}
|
||
|
{{- end }}
|