Files
home-server/clusters/noble/bootstrap/argocd/root-application.yaml

35 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# App-of-apps root — apply after Argo CD is running.
#
# 1. Set spec.source.repoURL (and targetRevision) to this git repository.
# 2. kubectl apply -f clusters/noble/bootstrap/argocd/root-application.yaml
#
# Syncs **Application** YAMLs under **apps/** (today: **noble-platform**). Cluster
# workloads are defined by **clusters/noble/apps/kustomization.yaml** (plain Kustomize)
# and **apps/noble-platform.yaml** (Helm chart sources); per-app **values.yaml** and READMEs stay the source of truth for versions.
#
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: noble-root
namespace: argocd
# Path suffix satisfies Kubernetes domain-qualified finalizer guidance (avoids kubectl warning).
# Background cascade: Application deletes after resources are removed asynchronously.
# See: https://argo-cd.readthedocs.io/en/stable/user-guide/app_deletion/#about-the-deletion-finalizer
finalizers:
- resources-finalizer.argocd.argoproj.io/background
spec:
project: default
source:
repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git
targetRevision: main
path: clusters/noble/bootstrap/argocd/apps
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true