mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-09-01 09:09:30 +00:00
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: AppProject
|
|
metadata:
|
|
name: infrastructure
|
|
namespace: argocd
|
|
spec:
|
|
sourceRepos:
|
|
- 'https://github.com/vehagn/homelab'
|
|
- 'https://prometheus-community.github.io/helm-charts'
|
|
- 'https://helm.traefik.io/*'
|
|
- 'https://helm.cilium.io/*'
|
|
destinations:
|
|
- namespace: 'argocd'
|
|
server: '*'
|
|
- namespace: 'cert-manager'
|
|
server: '*'
|
|
- namespace: 'kubernetes-dashboard'
|
|
server: '*'
|
|
- namespace: 'metallb-system'
|
|
server: '*'
|
|
- namespace: 'monitoring'
|
|
server: '*'
|
|
- namespace: 'traefik-system'
|
|
server: '*'
|
|
- namespace: 'kube-system'
|
|
server: '*'
|
|
clusterResourceWhitelist:
|
|
- group: '*'
|
|
kind: '*'
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: infrastructure
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: app-of-apps
|
|
source:
|
|
path: infra
|
|
repoURL: https://github.com/vehagn/homelab
|
|
targetRevision: HEAD
|
|
destination:
|
|
namespace: argocd
|
|
name: in-cluster
|
|
syncPolicy:
|
|
automated:
|
|
selfHeal: true
|
|
prune: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|