Enhance Argo CD integration by adding support for a bootstrap root application. Update group_vars/all.yml and role defaults to include noble_argocd_apply_bootstrap_root_application. Modify tasks to apply the bootstrap application conditionally. Revise documentation to clarify the GitOps workflow and the relationship between the core platform and optional applications. Remove outdated references and streamline the README for better user guidance.

This commit is contained in:
Nikholas Pcenicni
2026-04-01 01:55:41 -04:00
parent c312ceeb56
commit f259285f6e
14 changed files with 112 additions and 23 deletions

View File

@@ -0,0 +1,29 @@
# **noble-bootstrap-root** — Kustomize app-of-apps for **clusters/noble/bootstrap** (same tree as
# **ansible/playbooks/noble.yml** → **noble_platform** `kubectl apply -k`).
#
# **Initial deploy:** Ansible is the only writer; **automated sync is off** so Argo does not reconcile
# during **noble.yml**. **After** the playbook finishes, enable automated sync (see **README.md** §5)
# so git becomes the source of truth for this kustomize output.
#
# Edit **spec.source.repoURL** / **targetRevision** for your remote.
#
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: noble-bootstrap-root
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io/background
spec:
project: default
source:
repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git
targetRevision: HEAD
path: clusters/noble/bootstrap
destination:
server: https://kubernetes.default.svc
namespace: argocd
# Manual sync until you enable automation after Ansible (see README.md §5).
syncPolicy:
syncOptions:
- CreateNamespace=true