29 lines
891 B
Markdown
29 lines
891 B
Markdown
# ArgoCD GitOps Repository
|
|
|
|
This repository contains ArgoCD Application definitions for deploying applications to the home-server Kubernetes cluster.
|
|
|
|
## Structure
|
|
|
|
```
|
|
argocd/
|
|
├── apps.yaml # Root App of Apps (bootstrapped by Ansible)
|
|
├── apps/ # Application definitions
|
|
│ └── monitoring/
|
|
│ └── monitoring.yaml # Prometheus + Grafana stack
|
|
└── charts/ # Helm chart values
|
|
└── monitoring/
|
|
└── values.yaml
|
|
```
|
|
|
|
## How It Works
|
|
|
|
1. **Ansible** bootstraps the root `apps` Application
|
|
2. The root app syncs `apps/` directory recursively
|
|
3. Any Application manifest added to `apps/` is auto-deployed
|
|
|
|
## Adding New Applications
|
|
|
|
1. Create a new directory under `apps/`
|
|
2. Add your Application manifest (e.g., `apps/myapp/myapp.yaml`)
|
|
3. Push to Git - ArgoCD syncs automatically
|