55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: AppProject
|
|
metadata:
|
|
name: infrastructure
|
|
namespace: argocd
|
|
# Finalizer that ensures that project is not deleted until it is not referenced by any application
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
# Project description
|
|
description: Infrastructure applications
|
|
|
|
# Allow manifests to deploy from any Git repos
|
|
sourceRepos:
|
|
- '*'
|
|
destinations: # allow all namespaces
|
|
- namespace: '*'
|
|
server: https://kubernetes.default.svc
|
|
|
|
clusterResourceWhitelist:
|
|
- group: '*'
|
|
kind: '*'
|
|
|
|
namespaceResourceWhitelist:
|
|
- group: '*'
|
|
kind: '*'
|
|
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: AppProject
|
|
metadata:
|
|
name: apps
|
|
namespace: argocd
|
|
# Finalizer that ensures that project is not deleted until it is not referenced by any application
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
# Project description
|
|
description: Other applications
|
|
|
|
# Allow manifests to deploy from any Git repos
|
|
sourceRepos:
|
|
- '*'
|
|
destinations:
|
|
- namespace: '*'
|
|
server: https://kubernetes.default.svc
|
|
|
|
clusterResourceWhitelist:
|
|
- group: '*'
|
|
kind: '*'
|
|
|
|
namespaceResourceWhitelist:
|
|
- group: '*'
|
|
kind: '*'
|