28 lines
832 B
YAML
28 lines
832 B
YAML
|
{{- if .Values.bootstrap }}
|
||
|
apiVersion: argoproj.io/v1alpha1
|
||
|
kind: AppProject
|
||
|
metadata:
|
||
|
name: kubezero
|
||
|
namespace: argocd
|
||
|
labels:
|
||
|
app.kubernetes.io/name: {{ .Chart.Name }}-project
|
||
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||
|
spec:
|
||
|
description: KubeZero - ZeroDownTime Kubernetes Platform
|
||
|
|
||
|
# Allow manifests to deploy from any Git repos
|
||
|
sourceRepos:
|
||
|
- '*'
|
||
|
|
||
|
# Only permit applications to deploy to the guestbook namespace in the same cluster
|
||
|
destinations:
|
||
|
- namespace: argocd
|
||
|
server: https://kubernetes.default.svc
|
||
|
- namespace: kube-system
|
||
|
server: https://kubernetes.default.svc
|
||
|
- namespace: cert-manager
|
||
|
server: https://kubernetes.default.svc
|
||
|
{{- end }}
|