Refactor Argo CD application deployment by removing obsolete tasks and updating README for clarity. Introduce new task inclusion for Argo CD applications post-platform Helm installation, ensuring proper application order and synchronization.

This commit is contained in:
Nikholas Pcenicni
2026-05-13 16:57:51 -04:00
parent 4adaf100a2
commit c4e000d2d5
26 changed files with 512 additions and 41 deletions

View File

@@ -0,0 +1,30 @@
# **noble-bootstrap-root** — Kustomize for **clusters/noble/bootstrap** (namespaces, Grafana datasource,
# VolumeSnapshotClass, etc.). Leaf **Application** CRs under **argocd/app-of-apps/** are **not** in this
# path; Ansible applies them after Helm (see **noble_argocd** `applications_post_platform.yml`).
#
# **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