21 lines
594 B
YAML
21 lines
594 B
YAML
{{- if and (index .Values "argo-cd" "kubezero" "bootstrap") (index .Values "argo-cd" "kubezero" "repoUrl") }}
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: AppProject
|
|
metadata:
|
|
name: kubezero
|
|
namespace: argocd
|
|
labels:
|
|
{{- include "kubezero-lib.labels" . | nindent 4 }}
|
|
spec:
|
|
clusterResourceWhitelist:
|
|
- group: '*'
|
|
kind: '*'
|
|
description: KubeZero - ZeroDownTime Kubernetes Platform
|
|
destinations:
|
|
- namespace: '*'
|
|
server: https://kubernetes.default.svc
|
|
sourceRepos:
|
|
- https://cdn.zero-downtime.net/charts
|
|
- {{ index .Values "argo-cd" "kubezero" "repoUrl" }}
|
|
{{- end }}
|