31 lines
792 B
YAML
31 lines
792 B
YAML
|
# Skeleton template to put into each cluster git folder
|
||
|
apiVersion: argoproj.io/v1alpha1
|
||
|
kind: Application
|
||
|
metadata:
|
||
|
name: kubezero
|
||
|
namespace: argocd
|
||
|
spec:
|
||
|
project: kubezero
|
||
|
source:
|
||
|
repoURL: https://zero-down-time.github.io/kubezero
|
||
|
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
|