31 lines
901 B
YAML
31 lines
901 B
YAML
# 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/** (add workloads there). Do **not**
|
|
# point at **clusters/noble/apps/** — that tree is Helm values for manual installs.
|
|
#
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: noble-root
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
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
|