2021-08-29 22:28:32 +00:00
|
|
|
# Skeleton template to put into each cluster git folder
|
|
|
|
apiVersion: argoproj.io/v1alpha1
|
|
|
|
kind: Application
|
|
|
|
metadata:
|
|
|
|
name: kubezero
|
|
|
|
namespace: argocd
|
|
|
|
spec:
|
|
|
|
project: kubezero
|
|
|
|
source:
|
2021-12-01 15:43:42 +00:00
|
|
|
repoURL: https://cdn.zero-downtime.net/charts
|
2021-08-29 22:28:32 +00:00
|
|
|
chart: kubezero
|
|
|
|
targetRevision: {{ .Values.kubezero.version }}
|
|
|
|
|
|
|
|
helm:
|
|
|
|
parameters:
|
|
|
|
# We use this to detect if we are called from ArgoCD
|
|
|
|
- name: argocdAppName
|
|
|
|
value: $ARGOCD_APP_NAME
|
|
|
|
# This breaks the recursion, otherwise we install another kubezero project and app
|
|
|
|
- name: installKubeZero
|
|
|
|
value: "false"
|
|
|
|
values: |
|
|
|
|
{{- toYaml .Values | nindent 8 }}
|
|
|
|
|
|
|
|
destination:
|
|
|
|
server: https://kubernetes.default.svc
|
|
|
|
namespace: argocd
|
|
|
|
syncPolicy:
|
|
|
|
automated:
|
|
|
|
prune: true
|