GitOps scaffold: Argo CD bootstrap, app-of-apps, example workload
This commit is contained in:
parent
3b609b3077
commit
7cc6824e01
6 changed files with 112 additions and 3 deletions
20
README.md
20
README.md
|
|
@ -1,3 +1,17 @@
|
|||
# gitops-apps
|
||||
|
||||
Argo CD Application manifests for cluster redeploy
|
||||
# GitOps scaffold for Rancher-managed Kubernetes
|
||||
#
|
||||
# Flow: Developers/CI -> Forgejo -> Argo CD -> Rancher-managed clusters.
|
||||
# Kubernetes itself is NOT the backup. This repo (in Forgejo, backed up
|
||||
# by /root/forgejo/backup.sh) plus container images are the source of truth.
|
||||
#
|
||||
# Layout:
|
||||
# bootstrap/ one-time Argo CD install + root App-of-Apps
|
||||
# apps/ one Argo CD Application per workload
|
||||
# clusters/ per-cluster config (registered Rancher clusters)
|
||||
#
|
||||
# Usage on a NEW cluster:
|
||||
# 1. kubectl apply -f bootstrap/argocd-namespace.yaml
|
||||
# 2. kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
|
||||
# 3. kubectl apply -f bootstrap/repo-forgejo.yaml # registers THIS Forgejo repo
|
||||
# 4. kubectl apply -f bootstrap/root-app.yaml # app-of-apps -> redeploys everything
|
||||
# 5. (Rancher) cluster auto-registers; workloads converge from Git.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue