2020-05-02 22:27:23 +00:00
|
|
|
apiVersion: argoproj.io/v1alpha1
|
|
|
|
kind: AppProject
|
|
|
|
metadata:
|
|
|
|
name: kubezero
|
|
|
|
namespace: argocd
|
|
|
|
labels:
|
2020-05-19 11:16:22 +00:00
|
|
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
2020-05-02 22:27:23 +00:00
|
|
|
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
|
2020-05-04 11:10:15 +00:00
|
|
|
|
|
|
|
clusterResourceWhitelist:
|
|
|
|
- group: '*'
|
|
|
|
kind: '*'
|